[INFO] fetching crate authenticator-ctap2-2021 0.3.2-dev.1... [INFO] checking authenticator-ctap2-2021-0.3.2-dev.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate authenticator-ctap2-2021 0.3.2-dev.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate authenticator-ctap2-2021 0.3.2-dev.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded runloop v0.1.0 [INFO] [stderr] Downloaded nom-supreme v0.6.0 [INFO] [stderr] Downloaded devd-rs v0.3.3 [INFO] [stderr] Downloaded brownstone v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f21973eb63e6654cde6033e3cbb4e00de8cfe5050b804058601e9e356ee2986 [INFO] running `Command { std: "docker" "start" "-a" "9f21973eb63e6654cde6033e3cbb4e00de8cfe5050b804058601e9e356ee2986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f21973eb63e6654cde6033e3cbb4e00de8cfe5050b804058601e9e356ee2986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f21973eb63e6654cde6033e3cbb4e00de8cfe5050b804058601e9e356ee2986", kill_on_drop: false }` [INFO] [stdout] 9f21973eb63e6654cde6033e3cbb4e00de8cfe5050b804058601e9e356ee2986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8038f549979752edfd308b00b99f2afc2315a4de8e80b4b7aebb18b8fe80f9e [INFO] running `Command { std: "docker" "start" "-a" "a8038f549979752edfd308b00b99f2afc2315a4de8e80b4b7aebb18b8fe80f9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling authenticator-ctap2-2021 v0.3.2-dev.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking runloop v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [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] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde_bytes v0.11.5 [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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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: 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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::mpsc::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::mpsc::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::mpsc::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::mpsc::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::mpsc::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::mpsc::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::mpsc::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::mpsc::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] error: aborting due to 2 previous errors; 24 warnings emitted [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 3 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `is_negative` is never used [INFO] [stdout] --> src/util.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Signed { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 21 | fn is_negative(&self) -> bool; [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] error: aborting due to 2 previous errors; 28 warnings emitted [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 3 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8038f549979752edfd308b00b99f2afc2315a4de8e80b4b7aebb18b8fe80f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8038f549979752edfd308b00b99f2afc2315a4de8e80b4b7aebb18b8fe80f9e", kill_on_drop: false }` [INFO] [stdout] a8038f549979752edfd308b00b99f2afc2315a4de8e80b4b7aebb18b8fe80f9e