[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] 90572ee1fff3dbe88117c67746129e58254d34fd [INFO] checking redox-os/netutils against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redox-os/netutils on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/net2-rs.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/arg-parser.git` [INFO] [stderr] Updating git repository `https://github.com/willem66745/ntpclient-rust` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded termion v2.0.3 [INFO] [stderr] Downloaded matches v0.1.10 [INFO] [stderr] Downloaded libredox v0.0.2 [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] [stderr] Downloaded unicode-bidi v0.3.14 [INFO] [stderr] Downloaded anyhow v1.0.79 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded crossbeam-channel v0.5.11 [INFO] [stderr] Downloaded redox-daemon v0.1.2 [INFO] [stderr] Downloaded redox_event v0.3.0 [INFO] [stderr] Downloaded libredox v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b97dd67c805a45efacbd4219dc68862d27c08dced7cf93b220ad5de01f46835 [INFO] running `Command { std: "docker" "start" "-a" "2b97dd67c805a45efacbd4219dc68862d27c08dced7cf93b220ad5de01f46835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b97dd67c805a45efacbd4219dc68862d27c08dced7cf93b220ad5de01f46835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b97dd67c805a45efacbd4219dc68862d27c08dced7cf93b220ad5de01f46835", kill_on_drop: false }` [INFO] [stdout] 2b97dd67c805a45efacbd4219dc68862d27c08dced7cf93b220ad5de01f46835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf6c5b364dcce4729ce8280632e19a19531d655123fa76adde933edb0961cdc2 [INFO] running `Command { std: "docker" "start" "-a" "bf6c5b364dcce4729ce8280632e19a19531d655123fa76adde933edb0961cdc2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking redox_syscall v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking redox_termios v0.1.3 [INFO] [stderr] Checking arg_parser v0.1.0 (https://gitlab.redox-os.org/redox-os/arg-parser.git#1c434b55) [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking libredox v0.0.4 [INFO] [stderr] Checking libredox v0.0.1 [INFO] [stderr] Checking termion v2.0.3 [INFO] [stderr] Checking net2 v0.2.37 (https://gitlab.redox-os.org/redox-os/net2-rs.git?branch=master#db0604dc) [INFO] [stderr] Checking redox-daemon v0.1.2 [INFO] [stderr] Checking pbr v1.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking redox_event v0.3.0 [INFO] [stderr] Checking ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60) [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking netutils v0.1.0 (/opt/rustwide/workdir) [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: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:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let socket = try!(UdpSocket::bind("localhost:30000") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ping/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [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:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let socket = try!(UdpSocket::bind(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error as IOError` [INFO] [stdout] --> src/ping/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Error as IOError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/ping/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/ping/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use anyhow::{bail, Error, Result, Context, anyhow}; [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: 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: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: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: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 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: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ping/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error as IOError` [INFO] [stdout] --> src/ping/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Error as IOError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/ping/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/ping/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use anyhow::{bail, Error, Result, Context, anyhow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | 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 method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | 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 method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | format!("Can't send to {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | format!("Can't send to {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:116:75 [INFO] [stdout] | [INFO] [stdout] 116 | ... format!("Can't read from {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:126:70 [INFO] [stdout] | [INFO] [stdout] 126 | format!("Failed to connect to '{}', {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:116:75 [INFO] [stdout] | [INFO] [stdout] 116 | ... format!("Can't read from {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:126:70 [INFO] [stdout] | [INFO] [stdout] 126 | format!("Failed to connect to '{}', {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 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:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | ... let 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:451:33 [INFO] [stdout] | [INFO] [stdout] 451 | ... let 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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | ... let 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:511:33 [INFO] [stdout] | [INFO] [stdout] 511 | ... let 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let mut channel: &mut Channel = channel.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/dhcpd/dhcp/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Dhcp { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub op: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub htype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub hlen: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub hops: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub secs: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub ciaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub giaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub chaddr: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub sname: [u8; 64], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub file: [u8; 128], [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub magic: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/dhcpd/dhcp/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Dhcp { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub op: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub htype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub hlen: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub hops: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub secs: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub ciaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub giaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub chaddr: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub sname: [u8; 64], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub file: [u8; 128], [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub magic: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | ... let 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:451:33 [INFO] [stdout] | [INFO] [stdout] 451 | ... let 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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | ... let 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:511:33 [INFO] [stdout] | [INFO] [stdout] 511 | ... let 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let mut channel: &mut Channel = channel.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "bf6c5b364dcce4729ce8280632e19a19531d655123fa76adde933edb0961cdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf6c5b364dcce4729ce8280632e19a19531d655123fa76adde933edb0961cdc2", kill_on_drop: false }` [INFO] [stdout] bf6c5b364dcce4729ce8280632e19a19531d655123fa76adde933edb0961cdc2 [INFO] checking redox-os/netutils against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redox-os/netutils on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 107e7cf674e5946fa9d29a448d56269e70d2e2a36a1e7be5f9bed0067f27a063 [INFO] running `Command { std: "docker" "start" "-a" "107e7cf674e5946fa9d29a448d56269e70d2e2a36a1e7be5f9bed0067f27a063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "107e7cf674e5946fa9d29a448d56269e70d2e2a36a1e7be5f9bed0067f27a063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107e7cf674e5946fa9d29a448d56269e70d2e2a36a1e7be5f9bed0067f27a063", kill_on_drop: false }` [INFO] [stdout] 107e7cf674e5946fa9d29a448d56269e70d2e2a36a1e7be5f9bed0067f27a063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89e770347f29381a840c2c6f4db45bce5e9b74db688c684e4a221d52466014b0 [INFO] running `Command { std: "docker" "start" "-a" "89e770347f29381a840c2c6f4db45bce5e9b74db688c684e4a221d52466014b0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking redox_syscall v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking arg_parser v0.1.0 (https://gitlab.redox-os.org/redox-os/arg-parser.git#1c434b55) [INFO] [stderr] Checking redox_termios v0.1.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking libredox v0.0.4 [INFO] [stderr] Checking libredox v0.0.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking termion v2.0.3 [INFO] [stderr] Checking net2 v0.2.37 (https://gitlab.redox-os.org/redox-os/net2-rs.git?branch=master#db0604dc) [INFO] [stderr] Checking pbr v1.1.1 [INFO] [stderr] Checking redox-daemon v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking redox_event v0.3.0 [INFO] [stderr] Checking ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60) [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking netutils v0.1.0 (/opt/rustwide/workdir) [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: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: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: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 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: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ping/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ping/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error as IOError` [INFO] [stdout] --> src/ping/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Error as IOError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/ping/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error as IOError` [INFO] [stdout] --> src/ping/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Error as IOError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/ping/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use anyhow::{bail, Error, Result, Context, anyhow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/ping/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/ping/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use anyhow::{bail, Error, Result, Context, anyhow}; [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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | 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: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:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | try!(socket.connect(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | 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: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: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 method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | format!("Can't send to {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | format!("Can't send to {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:116:75 [INFO] [stdout] | [INFO] [stdout] 116 | ... format!("Can't read from {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:126:70 [INFO] [stdout] | [INFO] [stdout] 126 | format!("Failed to connect to '{}', {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:116:75 [INFO] [stdout] | [INFO] [stdout] 116 | ... format!("Can't read from {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:126:70 [INFO] [stdout] | [INFO] [stdout] 126 | format!("Failed to connect to '{}', {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/dhcpd/dhcp/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Dhcp { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub op: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub htype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub hlen: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub hops: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub secs: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub ciaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub giaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub chaddr: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub sname: [u8; 64], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub file: [u8; 128], [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub magic: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dhcpd/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 39 | let mut file = OpenOptions::new().read(false).write(true).create(false).open(&path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | file.sync_data() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/dhcpd/dhcp/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Dhcp { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub op: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub htype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub hlen: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub hops: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub secs: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub ciaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub giaddr: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub chaddr: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub sname: [u8; 64], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub file: [u8; 128], [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub magic: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dhcpd/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 39 | let mut file = OpenOptions::new().read(false).write(true).create(false).open(&path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | file.sync_data() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning 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:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netutils` (bin "dhcpd" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `netutils` (bin "dhcpd") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | ... let 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:451:33 [INFO] [stdout] | [INFO] [stdout] 451 | ... let 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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | ... let 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:511:33 [INFO] [stdout] | [INFO] [stdout] 511 | ... let 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let mut channel: &mut Channel = channel.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connect(addr: A) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let file = try!(TcpStream::connect(addr)); [INFO] [stdout] | ---- ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Ok(Socket { [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | file: UnsafeCell::new(file) [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netutils` (bin "irc") due to 2 previous errors; 9 warnings emitted [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:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut channels_lock = channels.lock().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:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | ... let 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:451:33 [INFO] [stdout] | [INFO] [stdout] 451 | ... let 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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | ... let 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:511:33 [INFO] [stdout] | [INFO] [stdout] 511 | ... let 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let mut channel: &mut Channel = channel.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connect(addr: A) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let file = try!(TcpStream::connect(addr)); [INFO] [stdout] | ---- ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Ok(Socket { [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | file: UnsafeCell::new(file) [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netutils` (bin "irc" test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "89e770347f29381a840c2c6f4db45bce5e9b74db688c684e4a221d52466014b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e770347f29381a840c2c6f4db45bce5e9b74db688c684e4a221d52466014b0", kill_on_drop: false }` [INFO] [stdout] 89e770347f29381a840c2c6f4db45bce5e9b74db688c684e4a221d52466014b0