[INFO] fetching crate wifi-rs 0.2.4... [INFO] checking wifi-rs-0.2.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wifi-rs 0.2.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate wifi-rs 0.2.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wifi-rs 0.2.4 [INFO] finished tweaking crates.io crate wifi-rs 0.2.4 [INFO] tweaked toml for crates.io crate wifi-rs 0.2.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate wifi-rs 0.2.4 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b477546fbb5a8bdb40c35c67e5d019141b665f0e7b784fdb61e8c5298204494b [INFO] running `Command { std: "docker" "start" "-a" "b477546fbb5a8bdb40c35c67e5d019141b665f0e7b784fdb61e8c5298204494b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b477546fbb5a8bdb40c35c67e5d019141b665f0e7b784fdb61e8c5298204494b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b477546fbb5a8bdb40c35c67e5d019141b665f0e7b784fdb61e8c5298204494b", kill_on_drop: false }` [INFO] [stdout] b477546fbb5a8bdb40c35c67e5d019141b665f0e7b784fdb61e8c5298204494b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b868175b3b4cfb4134d9d4840b3b5c6fe5ef6e015bc9cacc767c3f671fffe2d7 [INFO] running `Command { std: "docker" "start" "-a" "b868175b3b4cfb4134d9d4840b3b5c6fe5ef6e015bc9cacc767c3f671fffe2d7", kill_on_drop: false }` [INFO] [stderr] Checking wifi-rs v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/connectivity/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Connectivity: fmt::Debug { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn disconnect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connectivity/mod.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | FailedToConnect(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | FailedToConnect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connectivity/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | FailedToDisconnect(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | FailedToDisconnect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/connectivity/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Other { kind: WifiError }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hotspot/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | FailedToStop(std::io::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiHotspotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | FailedToStop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/hotspot/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Other { kind: WifiError }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiHotspotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_hotspot`, `start_hotspot`, and `stop_hotspot` are never used [INFO] [stdout] --> src/hotspot/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait WifiHotspot: fmt::Debug + WifiInterface { [INFO] [stdout] | ----------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn create_hotspot( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn start_hotspot() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn stop_hotspot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platforms/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `turn_on` and `turn_off` are never used [INFO] [stdout] --> src/platforms/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait WifiInterface: fmt::Debug { [INFO] [stdout] | ------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn turn_on() -> Result<(), WifiError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn turn_off() -> Result<(), WifiError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/connectivity/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Connectivity: fmt::Debug { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn disconnect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connectivity/mod.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | FailedToConnect(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | FailedToConnect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connectivity/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | FailedToDisconnect(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | FailedToDisconnect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/connectivity/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Other { kind: WifiError }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hotspot/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | FailedToStop(std::io::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiHotspotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | FailedToStop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/hotspot/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Other { kind: WifiError }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiHotspotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_hotspot`, `start_hotspot`, and `stop_hotspot` are never used [INFO] [stdout] --> src/hotspot/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait WifiHotspot: fmt::Debug + WifiInterface { [INFO] [stdout] | ----------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn create_hotspot( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn start_hotspot() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn stop_hotspot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platforms/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WifiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `turn_on` and `turn_off` are never used [INFO] [stdout] --> src/platforms/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait WifiInterface: fmt::Debug { [INFO] [stdout] | ------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn turn_on() -> Result<(), WifiError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn turn_off() -> Result<(), WifiError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "b868175b3b4cfb4134d9d4840b3b5c6fe5ef6e015bc9cacc767c3f671fffe2d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b868175b3b4cfb4134d9d4840b3b5c6fe5ef6e015bc9cacc767c3f671fffe2d7", kill_on_drop: false }` [INFO] [stdout] b868175b3b4cfb4134d9d4840b3b5c6fe5ef6e015bc9cacc767c3f671fffe2d7