[INFO] cloning repository https://github.com/p2mate/u64-monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/p2mate/u64-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp2mate%2Fu64-monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp2mate%2Fu64-monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5839ecb7d821432e67c1bda9ca95f6ddcfbefde6 [INFO] building p2mate/u64-monitor against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp2mate%2Fu64-monitor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/p2mate/u64-monitor on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/p2mate/u64-monitor [INFO] finished tweaking git repo https://github.com/p2mate/u64-monitor [INFO] tweaked toml for git repo https://github.com/p2mate/u64-monitor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/p2mate/u64-monitor 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ftp v3.0.1 [INFO] [stderr] Downloaded vcd v0.6.1 [INFO] [stderr] Downloaded parse_int v0.5.0 [INFO] [stderr] Downloaded crossbeam-channel v0.4.4 [INFO] [stderr] Downloaded signal-hook v0.1.16 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 874359291d8b5de53b2818973d27b767af0687d35d5306b108acf7c8e8b8bd01 [INFO] running `Command { std: "docker" "start" "-a" "874359291d8b5de53b2818973d27b767af0687d35d5306b108acf7c8e8b8bd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "874359291d8b5de53b2818973d27b767af0687d35d5306b108acf7c8e8b8bd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874359291d8b5de53b2818973d27b767af0687d35d5306b108acf7c8e8b8bd01", kill_on_drop: false }` [INFO] [stdout] 874359291d8b5de53b2818973d27b767af0687d35d5306b108acf7c8e8b8bd01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c9287cd59b42f57a3b45ead78495e7204d156f84fd32bf91b7a721035e9d05a [INFO] running `Command { std: "docker" "start" "-a" "7c9287cd59b42f57a3b45ead78495e7204d156f84fd32bf91b7a721035e9d05a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling vcd v0.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling parse_int v0.5.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling u64-monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/u64ftp.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SimulationCommand` and `Value` [INFO] [stdout] --> src/main.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | use vcd::{SimulationCommand, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/u64ftp.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/u64ftp.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 52 | FileType::File(l) => write!( [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | FileType::Dir => write!( [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | enum UdpMinionCmd { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 35 | Start(crossbeam_channel::Sender>), [INFO] [stdout] 36 | Stop(crossbeam_channel::Sender>), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpMinionCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `udp_rx_thread` is never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct UdpMinion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | udp_rx_thread: thread::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpMinion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/ctrl6502.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl ActiveLow { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 134 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_write` is never used [INFO] [stdout] --> src/ctrl6502.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Ctrl6502RW { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn is_write(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U64Command` is never constructed [INFO] [stdout] --> src/u64ctrl.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct U64Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `U64Command` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U64CommandTransaction` is never constructed [INFO] [stdout] --> src/u64ctrl.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct U64CommandTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `U64CommandTransaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mount` and `run_cartridge` are never used [INFO] [stdout] --> src/u64ctrl.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl U64Controller { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn mount>(&self, name: P) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn run_cartridge>(&self, name: P) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/u64ftp.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | drop(tcp_stream); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 88 - drop(tcp_stream); [INFO] [stdout] 88 + let _ = tcp_stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/u64ftp.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | drop(tcp_stream); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&TcpStream` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 133 - drop(tcp_stream); [INFO] [stdout] 133 + let _ = tcp_stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.83s [INFO] running `Command { std: "docker" "inspect" "7c9287cd59b42f57a3b45ead78495e7204d156f84fd32bf91b7a721035e9d05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9287cd59b42f57a3b45ead78495e7204d156f84fd32bf91b7a721035e9d05a", kill_on_drop: false }` [INFO] [stdout] 7c9287cd59b42f57a3b45ead78495e7204d156f84fd32bf91b7a721035e9d05a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5fa7357cfc3a15e20f7c7f7ae0c68a1bf057f9ff556fff9d335f36c034f2002 [INFO] running `Command { std: "docker" "start" "-a" "c5fa7357cfc3a15e20f7c7f7ae0c68a1bf057f9ff556fff9d335f36c034f2002", kill_on_drop: false }` [INFO] [stderr] Compiling u64-monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/u64ftp.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SimulationCommand` and `Value` [INFO] [stdout] --> src/main.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | use vcd::{SimulationCommand, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/u64ftp.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/u64ftp.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 52 | FileType::File(l) => write!( [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | FileType::Dir => write!( [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | enum UdpMinionCmd { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 35 | Start(crossbeam_channel::Sender>), [INFO] [stdout] 36 | Stop(crossbeam_channel::Sender>), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpMinionCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `udp_rx_thread` is never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct UdpMinion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | udp_rx_thread: thread::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpMinion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/ctrl6502.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl ActiveLow { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 134 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_write` is never used [INFO] [stdout] --> src/ctrl6502.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Ctrl6502RW { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn is_write(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U64Command` is never constructed [INFO] [stdout] --> src/u64ctrl.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct U64Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `U64Command` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U64CommandTransaction` is never constructed [INFO] [stdout] --> src/u64ctrl.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct U64CommandTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `U64CommandTransaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mount` and `run_cartridge` are never used [INFO] [stdout] --> src/u64ctrl.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl U64Controller { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn mount>(&self, name: P) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn run_cartridge>(&self, name: P) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/u64ftp.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | drop(tcp_stream); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 88 - drop(tcp_stream); [INFO] [stdout] 88 + let _ = tcp_stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/u64ftp.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | drop(tcp_stream); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&TcpStream` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 133 - drop(tcp_stream); [INFO] [stdout] 133 + let _ = tcp_stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "c5fa7357cfc3a15e20f7c7f7ae0c68a1bf057f9ff556fff9d335f36c034f2002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5fa7357cfc3a15e20f7c7f7ae0c68a1bf057f9ff556fff9d335f36c034f2002", kill_on_drop: false }` [INFO] [stdout] c5fa7357cfc3a15e20f7c7f7ae0c68a1bf057f9ff556fff9d335f36c034f2002