[INFO] fetching crate authenticator-ctap2-2021 0.3.2-dev.1... [INFO] checking authenticator-ctap2-2021-0.3.2-dev.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate authenticator-ctap2-2021 0.3.2-dev.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate authenticator-ctap2-2021 0.3.2-dev.1 [INFO] finished tweaking crates.io crate authenticator-ctap2-2021 0.3.2-dev.1 [INFO] tweaked toml for crates.io crate authenticator-ctap2-2021 0.3.2-dev.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate authenticator-ctap2-2021 0.3.2-dev.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate authenticator-ctap2-2021 0.3.2-dev.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded devd-rs v0.3.3 [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded crypto-common v0.1.3 [INFO] [stderr] Downloaded brownstone v1.1.0 [INFO] [stderr] Downloaded joinery v2.1.0 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded nom-supreme v0.6.0 [INFO] [stderr] Downloaded js-sys v0.3.56 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded tracing v0.1.32 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded wasm-bindgen v0.2.79 [INFO] [stderr] Downloaded tokio-stream v0.1.9 [INFO] [stderr] Downloaded h2 v0.3.14 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded bindgen v0.58.1 [INFO] [stderr] Downloaded syn v1.0.89 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded tracing-core v0.1.23 [INFO] [stderr] Downloaded warp v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.79 [INFO] [stderr] Downloaded redox_syscall v0.2.11 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Downloaded runloop v0.1.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.79 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.79 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded web-sys v0.3.56 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76df4a00c1f3cf0e24d50cea423624fffe143d12d9e033f64c31454479d84203 [INFO] running `Command { std: "docker" "start" "-a" "76df4a00c1f3cf0e24d50cea423624fffe143d12d9e033f64c31454479d84203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76df4a00c1f3cf0e24d50cea423624fffe143d12d9e033f64c31454479d84203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76df4a00c1f3cf0e24d50cea423624fffe143d12d9e033f64c31454479d84203", kill_on_drop: false }` [INFO] [stdout] 76df4a00c1f3cf0e24d50cea423624fffe143d12d9e033f64c31454479d84203 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2b5e0c9ee4b3a6692f581745d0bb111b942c8346f3b3eeae3d3e90eaac3a893 [INFO] running `Command { std: "docker" "start" "-a" "b2b5e0c9ee4b3a6692f581745d0bb111b942c8346f3b3eeae3d3e90eaac3a893", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling authenticator-ctap2-2021 v0.3.2-dev.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking runloop v0.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rpassword v5.0.1 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/u2fprotocol.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_lifetimes))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bindgen`, `binding-recompile`, `bytes`, `crypto_dummy`, `crypto_nss`, `crypto_openssl`, `crypto_ring`, `default`, `openssl`, `openssl-sys`, `ring`, `tokio`, `warp`, and `webdriver` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/lib.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/lib.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/transport/hidproto.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bindgen`, `binding-recompile`, `bytes`, `crypto_dummy`, `crypto_nss`, `crypto_openssl`, `crypto_ring`, `default`, `openssl`, `openssl-sys`, `ring`, `tokio`, `warp`, and `webdriver` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/transport/linux/hidraw.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bindgen`, `binding-recompile`, `bytes`, `crypto_dummy`, `crypto_nss`, `crypto_openssl`, `crypto_ring`, `default`, `openssl`, `openssl-sys`, `ring`, `tokio`, `warp`, and `webdriver` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/transport/linux/device.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | .map_err(|e| (HIDError::IO(Some(self.path.clone()), e)))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - .map_err(|e| (HIDError::IO(Some(self.path.clone()), e)))?; [INFO] [stdout] 174 + .map_err(|e| HIDError::IO(Some(self.path.clone()), e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/u2fprotocol.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_lifetimes))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bindgen`, `binding-recompile`, `bytes`, `crypto_dummy`, `crypto_nss`, `crypto_openssl`, `crypto_ring`, `default`, `openssl`, `openssl-sys`, `ring`, `tokio`, `warp`, and `webdriver` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/lib.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/lib.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::consts::U2F_AUTHENTICATE` [INFO] [stdout] --> src/status_update.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::consts::U2F_AUTHENTICATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/statemachine.rs:844:35 [INFO] [stdout] | [INFO] [stdout] 844 | move |info, selector, status, _alive| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/statemachine.rs:845:21 [INFO] [stdout] | [INFO] [stdout] 845 | let mut dev = match Self::init_and_select(info, &selector, false) { [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] error[E0170]: pattern binding `Timeout` is named the same as one of the variants of the type `std::sync::mpmc::RecvTimeoutError` [INFO] [stdout] --> src/manager.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `std::sync::mpmc::RecvTimeoutError::Timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/manager.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ------------ matches all the relevant values [INFO] [stdout] 145 | Err(RecvTimeoutError::Disconnected) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Timeout` [INFO] [stdout] --> src/manager.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/manager.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | timeout: u64, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/manager.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | status: Sender, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/manager.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | callback: StateCallback>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Timeout` is named the same as one of the variants of the type `std::sync::mpmc::RecvTimeoutError` [INFO] [stdout] --> src/manager.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `std::sync::mpmc::RecvTimeoutError::Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/manager.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ------------ matches all the relevant values [INFO] [stdout] 381 | Err(RecvTimeoutError::Disconnected) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Timeout` [INFO] [stdout] --> src/manager.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/statemachine.rs:844:35 [INFO] [stdout] | [INFO] [stdout] 844 | move |info, selector, status, _alive| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/statemachine.rs:845:21 [INFO] [stdout] | [INFO] [stdout] 845 | let mut dev = match Self::init_and_select(info, &selector, false) { [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] error[E0170]: pattern binding `Timeout` is named the same as one of the variants of the type `std::sync::mpmc::RecvTimeoutError` [INFO] [stdout] --> src/manager.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `std::sync::mpmc::RecvTimeoutError::Timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/manager.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ------------ matches all the relevant values [INFO] [stdout] 145 | Err(RecvTimeoutError::Disconnected) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Timeout` [INFO] [stdout] --> src/manager.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/manager.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | timeout: u64, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/manager.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | status: Sender, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/manager.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | callback: StateCallback>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Timeout` is named the same as one of the variants of the type `std::sync::mpmc::RecvTimeoutError` [INFO] [stdout] --> src/manager.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `std::sync::mpmc::RecvTimeoutError::Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/manager.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ------------ matches all the relevant values [INFO] [stdout] 381 | Err(RecvTimeoutError::Disconnected) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Timeout` [INFO] [stdout] --> src/manager.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DeviceSelectorEventMarker` is never used [INFO] [stdout] --> src/transport/device_selector.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait DeviceSelectorEventMarker {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Timeout` should have a snake case name [INFO] [stdout] --> src/manager.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Timeout` should have a snake case name [INFO] [stdout] --> src/manager.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Box::from_raw(mgr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = Box::from_raw(mgr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | Box::from_raw(ids); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = Box::from_raw(ids); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Box::from_raw(khs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = Box::from_raw(khs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | Box::from_raw(res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 222 | let _ = Box::from_raw(res); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ctap2_capi.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Box::from_raw(mgr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = Box::from_raw(mgr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ctap2_capi.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | Box::from_raw(khs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 127 | let _ = Box::from_raw(khs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `authenticator-ctap2-2021` (lib) due to 2 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Signed` is never used [INFO] [stdout] --> src/util.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Signed { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_unix_result` is never used [INFO] [stdout] --> src/util.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_unix_result(rv: T) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DeviceSelectorEventMarker` is never used [INFO] [stdout] --> src/transport/device_selector.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait DeviceSelectorEventMarker {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Cancel` is never constructed [INFO] [stdout] --> src/transport/device_selector.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DeviceSelectorEvent { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] 30 | Cancel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceSelectorEvent` 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 `runloop` is never read [INFO] [stdout] --> src/transport/device_selector.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct DeviceSelector { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | runloop: RunLoop, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_sender` and `stop` are never used [INFO] [stdout] --> src/transport/device_selector.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl DeviceSelector { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn clone_sender(&self) -> Sender { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Timeout` should have a snake case name [INFO] [stdout] --> src/manager.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Timeout` should have a snake case name [INFO] [stdout] --> src/manager.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | Err(Timeout) => { /* continue */ } [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Box::from_raw(mgr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = Box::from_raw(mgr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | Box::from_raw(ids); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = Box::from_raw(ids); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Box::from_raw(khs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = Box::from_raw(khs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/capi.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | Box::from_raw(res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 222 | let _ = Box::from_raw(res); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ctap2_capi.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Box::from_raw(mgr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = Box::from_raw(mgr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ctap2_capi.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | Box::from_raw(khs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 127 | let _ = Box::from_raw(khs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `authenticator-ctap2-2021` (lib test) due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b2b5e0c9ee4b3a6692f581745d0bb111b942c8346f3b3eeae3d3e90eaac3a893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b5e0c9ee4b3a6692f581745d0bb111b942c8346f3b3eeae3d3e90eaac3a893", kill_on_drop: false }` [INFO] [stdout] b2b5e0c9ee4b3a6692f581745d0bb111b942c8346f3b3eeae3d3e90eaac3a893