[INFO] fetching crate gfh 0.0.4... [INFO] checking gfh-0.0.4 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate gfh 0.0.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate gfh 0.0.4 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gfh 0.0.4 [INFO] finished tweaking crates.io crate gfh 0.0.4 [INFO] tweaked toml for crates.io crate gfh 0.0.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate gfh 0.0.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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0021aa964979c71447d689c641e0dc348ef5961ba75783c2bbfcff6c5d29db02 [INFO] running `Command { std: "docker" "start" "-a" "0021aa964979c71447d689c641e0dc348ef5961ba75783c2bbfcff6c5d29db02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0021aa964979c71447d689c641e0dc348ef5961ba75783c2bbfcff6c5d29db02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0021aa964979c71447d689c641e0dc348ef5961ba75783c2bbfcff6c5d29db02", kill_on_drop: false }` [INFO] [stdout] 0021aa964979c71447d689c641e0dc348ef5961ba75783c2bbfcff6c5d29db02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3203485a341b260781ea256ec40e881d47273d433892b4a7b79a966ce8759dcd [INFO] running `Command { std: "docker" "start" "-a" "3203485a341b260781ea256ec40e881d47273d433892b4a7b79a966ce8759dcd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking base64ct v1.5.3 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling cc v1.0.74 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling oid-registry v0.6.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling pcsc-sys v1.2.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking os_str_bytes v6.3.1 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Checking pcsc v2.7.0 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking uuid v1.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dyn-clone v1.0.9 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking shellexpand v2.1.2 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling hidapi v1.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking block-padding v0.3.2 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking aes v0.8.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking x509 v0.2.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking p384 v0.11.2 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking pkcs1 v0.3.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rsa v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling clap_derive v4.0.18 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking asn1-rs v0.5.1 [INFO] [stderr] Checking inquire v0.5.2 [INFO] [stderr] Checking clap v4.0.19 [INFO] [stderr] Checking der-parser v8.1.0 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking yubikey v0.6.0 [INFO] [stderr] Checking ctap-hid-fido2 v3.4.2 [INFO] [stderr] Checking gfh v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/gfh-keygen.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | .find(|(_, arg)| arg.clone() == &String::from("-f")) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `String` does not implement `Clone`, so calling `clone` on `&String` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/gfh-keygen.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | .find(|(_, arg)| arg.clone() == &String::from("-f")) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `String` does not implement `Clone`, so calling `clone` on `&String` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gfh` (bin "gfh-keygen" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gfh` (bin "gfh-keygen") due to 2 previous errors [INFO] [stdout] warning: unused imports: `error::Error`, `fs` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{error::Error, fs}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cfg`, `FidoKeyHidFactory` [INFO] [stdout] --> src/add_key.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use ctap_hid_fido2::{util::to_hex_str, Cfg, FidoKeyHidFactory}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FidoDevice`, `yubikey` [INFO] [stdout] --> src/add_key.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | util::{self, FidoDevice}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | yubikey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `fs` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{error::Error, fs}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cfg`, `FidoKeyHidFactory` [INFO] [stdout] --> src/add_key.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use ctap_hid_fido2::{util::to_hex_str, Cfg, FidoKeyHidFactory}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FidoDevice`, `yubikey` [INFO] [stdout] --> src/add_key.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | util::{self, FidoDevice}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | yubikey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256` is never used [INFO] [stdout] --> src/util.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sha256(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256` is never used [INFO] [stdout] --> src/util.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sha256(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3203485a341b260781ea256ec40e881d47273d433892b4a7b79a966ce8759dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3203485a341b260781ea256ec40e881d47273d433892b4a7b79a966ce8759dcd", kill_on_drop: false }` [INFO] [stdout] 3203485a341b260781ea256ec40e881d47273d433892b4a7b79a966ce8759dcd