[INFO] fetching crate wifi-rs 0.2.4... [INFO] testing wifi-rs-0.2.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate wifi-rs 0.2.4 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wifi-rs 0.2.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e01106845707508639f770c25409704ca564eb6862cdc206020eb747fd8df056 [INFO] running `Command { std: "docker" "start" "-a" "e01106845707508639f770c25409704ca564eb6862cdc206020eb747fd8df056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e01106845707508639f770c25409704ca564eb6862cdc206020eb747fd8df056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01106845707508639f770c25409704ca564eb6862cdc206020eb747fd8df056", kill_on_drop: false }` [INFO] [stdout] e01106845707508639f770c25409704ca564eb6862cdc206020eb747fd8df056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b92a51d024fabe1b8924fec114c10a45983745489d5aa6ecd7ca27f66857296b [INFO] running `Command { std: "docker" "start" "-a" "b92a51d024fabe1b8924fec114c10a45983745489d5aa6ecd7ca27f66857296b", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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(String), [INFO] [stdout] 26 + FailedToConnect(()), [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: variant `FailedToDisconnect` is never constructed [INFO] [stdout] --> src/connectivity/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum WifiConnectionError { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | FailedToDisconnect(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: enum `WifiHotspotError` is never used [INFO] [stdout] --> src/hotspot/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum WifiHotspotError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WifiHotspot` is never used [INFO] [stdout] --> src/hotspot/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait WifiHotspot: fmt::Debug + WifiInterface { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOTSPOT_GROUP` is never used [INFO] [stdout] --> src/hotspot/providers/linux.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const HOTSPOT_GROUP: &'static str = "Hotspot"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `band` and `channel` are never read [INFO] [stdout] --> src/hotspot/providers/linux.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HotspotConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | /// The band tor broadcast network on. [INFO] [stdout] 14 | band: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | /// The channel to broadcast network on. [INFO] [stdout] 16 | channel: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_command_param_from_config` is never used [INFO] [stdout] --> src/hotspot/providers/linux.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn generate_command_param_from_config(configuration: Option<&HotspotConfig>) -> Vec { [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(io::Error), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "b92a51d024fabe1b8924fec114c10a45983745489d5aa6ecd7ca27f66857296b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92a51d024fabe1b8924fec114c10a45983745489d5aa6ecd7ca27f66857296b", kill_on_drop: false }` [INFO] [stdout] b92a51d024fabe1b8924fec114c10a45983745489d5aa6ecd7ca27f66857296b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fee5379b1b513711a18b3d18c1845d512664b227d7010283c13b9a5f79555921 [INFO] running `Command { std: "docker" "start" "-a" "fee5379b1b513711a18b3d18c1845d512664b227d7010283c13b9a5f79555921", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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(String), [INFO] [stdout] 26 + FailedToConnect(()), [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: variant `FailedToDisconnect` is never constructed [INFO] [stdout] --> src/connectivity/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum WifiConnectionError { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | FailedToDisconnect(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: enum `WifiHotspotError` is never used [INFO] [stdout] --> src/hotspot/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum WifiHotspotError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WifiHotspot` is never used [INFO] [stdout] --> src/hotspot/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait WifiHotspot: fmt::Debug + WifiInterface { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOTSPOT_GROUP` is never used [INFO] [stdout] --> src/hotspot/providers/linux.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const HOTSPOT_GROUP: &'static str = "Hotspot"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `band` and `channel` are never read [INFO] [stdout] --> src/hotspot/providers/linux.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HotspotConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | /// The band tor broadcast network on. [INFO] [stdout] 14 | band: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | /// The channel to broadcast network on. [INFO] [stdout] 16 | channel: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_command_param_from_config` is never used [INFO] [stdout] --> src/hotspot/providers/linux.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn generate_command_param_from_config(configuration: Option<&HotspotConfig>) -> Vec { [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(io::Error), [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: 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)]` (part of `#[warn(unused)]`) 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(String), [INFO] [stdout] 26 + FailedToConnect(()), [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: variant `FailedToDisconnect` is never constructed [INFO] [stdout] --> src/connectivity/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum WifiConnectionError { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | FailedToDisconnect(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: enum `WifiHotspotError` is never used [INFO] [stdout] --> src/hotspot/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum WifiHotspotError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WifiHotspot` is never used [INFO] [stdout] --> src/hotspot/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait WifiHotspot: fmt::Debug + WifiInterface { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOTSPOT_GROUP` is never used [INFO] [stdout] --> src/hotspot/providers/linux.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const HOTSPOT_GROUP: &'static str = "Hotspot"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `band` and `channel` are never read [INFO] [stdout] --> src/hotspot/providers/linux.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HotspotConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | /// The band tor broadcast network on. [INFO] [stdout] 14 | band: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | /// The channel to broadcast network on. [INFO] [stdout] 16 | channel: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_command_param_from_config` is never used [INFO] [stdout] --> src/hotspot/providers/linux.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn generate_command_param_from_config(configuration: Option<&HotspotConfig>) -> Vec { [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(io::Error), [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "fee5379b1b513711a18b3d18c1845d512664b227d7010283c13b9a5f79555921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee5379b1b513711a18b3d18c1845d512664b227d7010283c13b9a5f79555921", kill_on_drop: false }` [INFO] [stdout] fee5379b1b513711a18b3d18c1845d512664b227d7010283c13b9a5f79555921 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5126ebddb37f39a2d82a849bd8689f78d1b8deb2012a14e5f8ea375f721e5337 [INFO] running `Command { std: "docker" "start" "-a" "5126ebddb37f39a2d82a849bd8689f78d1b8deb2012a14e5f8ea375f721e5337", kill_on_drop: false }` [INFO] [stderr] warning: method `disconnect` is never used [INFO] [stderr] --> src/connectivity/mod.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait Connectivity: fmt::Debug { [INFO] [stderr] | ------------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 16 | fn disconnect(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/connectivity/mod.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | FailedToConnect(String), [INFO] [stderr] | --------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 26 - FailedToConnect(String), [INFO] [stderr] 26 + FailedToConnect(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `kind` is never read [INFO] [stderr] --> src/connectivity/mod.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | Other { kind: WifiError }, [INFO] [stderr] | ----- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `FailedToDisconnect` is never constructed [INFO] [stderr] --> src/connectivity/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum WifiConnectionError { [INFO] [stderr] | ------------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 28 | FailedToDisconnect(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WifiConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `WifiHotspotError` is never used [INFO] [stderr] --> src/hotspot/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum WifiHotspotError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `WifiHotspot` is never used [INFO] [stderr] --> src/hotspot/mod.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | pub trait WifiHotspot: fmt::Debug + WifiInterface { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HOTSPOT_GROUP` is never used [INFO] [stderr] --> src/hotspot/providers/linux.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const HOTSPOT_GROUP: &'static str = "Hotspot"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `band` and `channel` are never read [INFO] [stderr] --> src/hotspot/providers/linux.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct HotspotConfig { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 13 | /// The band tor broadcast network on. [INFO] [stderr] 14 | band: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | /// The channel to broadcast network on. [INFO] [stderr] 16 | channel: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_command_param_from_config` is never used [INFO] [stderr] --> src/hotspot/providers/linux.rs:121:4 [INFO] [stderr] | [INFO] [stderr] 121 | fn generate_command_param_from_config(configuration: Option<&HotspotConfig>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/platforms/mod.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | IoError(io::Error), [INFO] [stderr] | ------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `WifiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 32 - IoError(io::Error), [INFO] [stderr] 32 + IoError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated functions `turn_on` and `turn_off` are never used [INFO] [stderr] --> src/platforms/mod.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub trait WifiInterface: fmt::Debug { [INFO] [stderr] | ------------- associated functions in this trait [INFO] [stderr] ... [INFO] [stderr] 44 | fn turn_on() -> Result<(), WifiError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | fn turn_off() -> Result<(), WifiError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wifi-rs` (bin "wifi-rs" test) generated 11 warnings [INFO] [stderr] warning: `wifi-rs` (bin "wifi-rs") generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wifi_rs-b43cf6876b8b8c95) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wifi_rs-89790c8cf62ec067) [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-6ee09bac9330235e) [INFO] [stderr] Doc-tests wifi_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5126ebddb37f39a2d82a849bd8689f78d1b8deb2012a14e5f8ea375f721e5337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5126ebddb37f39a2d82a849bd8689f78d1b8deb2012a14e5f8ea375f721e5337", kill_on_drop: false }` [INFO] [stdout] 5126ebddb37f39a2d82a849bd8689f78d1b8deb2012a14e5f8ea375f721e5337