[INFO] cloning repository https://github.com/redox-os/netutils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redox-os/netutils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85c159fdd8bbdc562afb5041ae40dde566bed538 [INFO] checking redox-os/netutils against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redox-os/netutils on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redox-os/netutils [INFO] finished tweaking git repo https://github.com/redox-os/netutils [INFO] tweaked toml for git repo https://github.com/redox-os/netutils written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/redox-os/netutils already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/arg-parser.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/libextra.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/mio` [INFO] [stderr] Updating git repository `https://github.com/willem66745/ntpclient-rust` [INFO] [stderr] Updating git repository `https://github.com/a8m/pb` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/event.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/tokio` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/mio-uds` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff9794868fbf0dd3951e7a047dd4c92adff53f084916923a4dbcdb2745f06178 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff9794868fbf0dd3951e7a047dd4c92adff53f084916923a4dbcdb2745f06178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff9794868fbf0dd3951e7a047dd4c92adff53f084916923a4dbcdb2745f06178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff9794868fbf0dd3951e7a047dd4c92adff53f084916923a4dbcdb2745f06178", kill_on_drop: false }` [INFO] [stdout] ff9794868fbf0dd3951e7a047dd4c92adff53f084916923a4dbcdb2745f06178 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 51573c45ec473279963f7ca704df5de16c68a391f10748c0756ba69279119fc1 [INFO] running `Command { std: "docker" "start" "-a" "51573c45ec473279963f7ca704df5de16c68a391f10748c0756ba69279119fc1", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking arg_parser v0.1.0 (https://gitlab.redox-os.org/redox-os/arg-parser.git#1c434b55) [INFO] [stderr] Checking extra v0.1.0 (https://gitlab.redox-os.org/redox-os/libextra.git#0b50f3f2) [INFO] [stderr] Checking tokio-executor v0.1.5 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking redox_termios v0.1.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking tokio-current-thread v0.1.4 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60) [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking redox_event v0.1.0 (https://gitlab.redox-os.org/redox-os/event.git#228eb071) [INFO] [stderr] Checking mio v0.6.16 (https://gitlab.redox-os.org/redox-os/mio#439a559b) [INFO] [stderr] Checking tokio-timer v0.2.8 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.9 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mio-uds v0.6.7 (https://gitlab.redox-os.org/redox-os/mio-uds#22580ca3) [INFO] [stderr] Checking pbr v1.0.3 (https://github.com/a8m/pb#34ebb161) [INFO] [stderr] Checking tokio-io v0.1.10 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking tokio-reactor v0.1.7 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking tokio-codec v0.1.1 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking tokio-fs v0.1.4 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking tokio-udp v0.1.3 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking tokio-uds v0.2.4 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking tokio-tcp v0.1.2 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking tokio v0.1.13 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking hyper-rustls v0.6.2 [INFO] [stderr] Checking netutils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/httpd/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let stream_read = try!(TcpStream::connect(host) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:43:76 [INFO] [stdout] | [INFO] [stdout] 43 | format!("failed to parse '{}', {}", port_string, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let stream_write = try!(stream_read.try_clone() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let listener = try!(TcpListener::bind(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | let (stream_read, socketaddr) = try!(listener.accept() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let stream_write = try!(stream_read.try_clone() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let socket = try!(UdpSocket::bind("localhost:30000") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | try!(socket.connect(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let socket = try!(UdpSocket::bind(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | format!("Can't send to {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/httpd/main.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | full_path.push(path.trim_left_matches('/')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:118:75 [INFO] [stdout] | [INFO] [stdout] 118 | ... format!("Can't read from {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:128:70 [INFO] [stdout] | [INFO] [stdout] 128 | format!("Failed to connect to '{}', {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/httpd/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/irc/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let file = try!(TcpStream::connect(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/httpd/main.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | full_path.push(path.trim_left_matches('/')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/telnetd/main.rs:166:51 [INFO] [stdout] | [INFO] [stdout] 166 | let _ = term_stderr.write(err.description().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/telnetd/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:43:76 [INFO] [stdout] | [INFO] [stdout] 43 | format!("failed to parse '{}', {}", port_string, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netutils` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/httpd/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | write!(res.start().unwrap(), "{}", err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | format!("Can't send to {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:118:75 [INFO] [stdout] | [INFO] [stdout] 118 | ... format!("Can't read from {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:128:70 [INFO] [stdout] | [INFO] [stdout] 128 | format!("Failed to connect to '{}', {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/irc/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let file = try!(TcpStream::connect(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ping/main.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 349 | flags: 0, [INFO] [stdout] | ^ expected struct `syscall::flag::EventFlags`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/httpd/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | write!(res.start().unwrap(), "{}", err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dhcpd/main.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | for (s, mut d) in [53, 1, 1, 255].iter().zip(discover.options.iter_mut()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dhcpd/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | for (s, mut d) in [ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dhcpd/main.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | for (s, mut d) in [53, 1, 1, 255].iter().zip(discover.options.iter_mut()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dhcpd/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | for (s, mut d) in [ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let stream_read = try!(TcpStream::connect(host) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let stream_write = try!(stream_read.try_clone() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let listener = try!(TcpListener::bind(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | let (stream_read, socketaddr) = try!(listener.accept() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let stream_write = try!(stream_read.try_clone() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let socket = try!(UdpSocket::bind("localhost:30000") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | try!(socket.connect(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let socket = try!(UdpSocket::bind(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ping/main.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 349 | flags: 0, [INFO] [stdout] | ^ expected struct `syscall::flag::EventFlags`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/telnetd/main.rs:166:51 [INFO] [stdout] | [INFO] [stdout] 166 | let _ = term_stderr.write(err.description().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/telnetd/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:210:57 [INFO] [stdout] | [INFO] [stdout] 210 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:239:69 [INFO] [stdout] | [INFO] [stdout] 239 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:314:65 [INFO] [stdout] | [INFO] [stdout] 314 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let mut channel: Option<&mut Channel> = channels_lock.0.get_mut(channel_number); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | let mut channel: &mut Channel = channel.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:210:57 [INFO] [stdout] | [INFO] [stdout] 210 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:239:69 [INFO] [stdout] | [INFO] [stdout] 239 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:314:65 [INFO] [stdout] | [INFO] [stdout] 314 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let mut channel: Option<&mut Channel> = channels_lock.0.get_mut(channel_number); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | let mut channel: &mut Channel = channel.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "51573c45ec473279963f7ca704df5de16c68a391f10748c0756ba69279119fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51573c45ec473279963f7ca704df5de16c68a391f10748c0756ba69279119fc1", kill_on_drop: false }` [INFO] [stdout] 51573c45ec473279963f7ca704df5de16c68a391f10748c0756ba69279119fc1