[INFO] fetching crate openpgp-card 0.0.1... [INFO] testing openpgp-card-0.0.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate openpgp-card 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate openpgp-card 0.0.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openpgp-card 0.0.1 [INFO] finished tweaking crates.io crate openpgp-card 0.0.1 [INFO] tweaked toml for crates.io crate openpgp-card 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38b44b39232504f2fd92dac53ea0c3409dfb120914ddaf2b3bf447ea38542100 [INFO] running `Command { std: "docker" "start" "-a" "38b44b39232504f2fd92dac53ea0c3409dfb120914ddaf2b3bf447ea38542100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38b44b39232504f2fd92dac53ea0c3409dfb120914ddaf2b3bf447ea38542100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b44b39232504f2fd92dac53ea0c3409dfb120914ddaf2b3bf447ea38542100", kill_on_drop: false }` [INFO] [stdout] 38b44b39232504f2fd92dac53ea0c3409dfb120914ddaf2b3bf447ea38542100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb9ca6d100b06d7b6e5a3d0d1d82afc95862821647a2c0d058f7a5f03eae26b [INFO] running `Command { std: "docker" "start" "-a" "3cb9ca6d100b06d7b6e5a3d0d1d82afc95862821647a2c0d058f7a5f03eae26b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling hex-literal v0.3.2 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling pcsc-sys v1.2.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling pcsc v2.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling openpgp-card v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `change_pw1` [INFO] [stdout] --> src/apdu/commands.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn change_pw1(pin: Vec) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `change_pw3` [INFO] [stdout] --> src/apdu/commands.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn change_pw3(oldpin: Vec, newpin: Vec) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_card_algo_ecdh` [INFO] [stdout] --> src/key_upload.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn check_card_algo_ecdh(algo_list: AlgoInfo, key_type: KeyType, oid: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_card_algo_ecdsa` [INFO] [stdout] --> src/key_upload.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn check_card_algo_ecdsa(algo_list: AlgoInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_card_algo_eddsa` [INFO] [stdout] --> src/key_upload.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn check_card_algo_eddsa(algo_list: AlgoInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.38s [INFO] running `Command { std: "docker" "inspect" "3cb9ca6d100b06d7b6e5a3d0d1d82afc95862821647a2c0d058f7a5f03eae26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb9ca6d100b06d7b6e5a3d0d1d82afc95862821647a2c0d058f7a5f03eae26b", kill_on_drop: false }` [INFO] [stdout] 3cb9ca6d100b06d7b6e5a3d0d1d82afc95862821647a2c0d058f7a5f03eae26b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a8cbd151ddad0a7901bd19156b17ed91a5228fec8ae5adad14c05a470d50a6 [INFO] running `Command { std: "docker" "start" "-a" "57a8cbd151ddad0a7901bd19156b17ed91a5228fec8ae5adad14c05a470d50a6", kill_on_drop: false }` [INFO] [stdout] warning: function is never used: `change_pw1` [INFO] [stdout] --> src/apdu/commands.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn change_pw1(pin: Vec) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `change_pw3` [INFO] [stdout] --> src/apdu/commands.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn change_pw3(oldpin: Vec, newpin: Vec) -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_card_algo_ecdh` [INFO] [stdout] --> src/key_upload.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn check_card_algo_ecdh(algo_list: AlgoInfo, key_type: KeyType, oid: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_card_algo_ecdsa` [INFO] [stdout] --> src/key_upload.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn check_card_algo_ecdsa(algo_list: AlgoInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openpgp-card v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `check_card_algo_eddsa` [INFO] [stdout] --> src/key_upload.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn check_card_algo_eddsa(algo_list: AlgoInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AlgoInfo: From>` is not satisfied [INFO] [stdout] --> src/parse/algo_info.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | let ai = AlgoInfo::try_from(data.to_vec()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `AlgoInfo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `Vec<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom>` for `AlgoInfo` [INFO] [stdout] = note: required by `try_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AlgoInfo: From>` is not satisfied [INFO] [stdout] --> src/parse/algo_info.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | let ai = AlgoInfo::try_from(data.to_vec()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `AlgoInfo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `Vec<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom>` for `AlgoInfo` [INFO] [stdout] = note: required by `try_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AlgoInfo: From>` is not satisfied [INFO] [stdout] --> src/parse/algo_info.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | let ai = AlgoInfo::try_from(data.to_vec()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `AlgoInfo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `Vec<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom>` for `AlgoInfo` [INFO] [stdout] = note: required by `try_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parse/extended_cap.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | let ec = ExtendedCap::from(&data).unwrap(); [INFO] [stdout] | ^^^^^ expected struct `ExtendedCap`, found `&[u8; 10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `ExtendedCap` in the current scope [INFO] [stdout] --> src/parse/extended_cap.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ExtendedCap { [INFO] [stdout] | ---------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 94 | let ec = ExtendedCap::from(&data).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `ExtendedCap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openpgp-card` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "57a8cbd151ddad0a7901bd19156b17ed91a5228fec8ae5adad14c05a470d50a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a8cbd151ddad0a7901bd19156b17ed91a5228fec8ae5adad14c05a470d50a6", kill_on_drop: false }` [INFO] [stdout] 57a8cbd151ddad0a7901bd19156b17ed91a5228fec8ae5adad14c05a470d50a6