[INFO] fetching crate openpgp-card 0.0.1... [INFO] checking openpgp-card-0.0.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate openpgp-card 0.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate openpgp-card 0.0.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98c7e0f420fe11ac197989af08603a49caf3a4d5c2426997bd6545f0036d63b7 [INFO] running `Command { std: "docker" "start" "-a" "98c7e0f420fe11ac197989af08603a49caf3a4d5c2426997bd6545f0036d63b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98c7e0f420fe11ac197989af08603a49caf3a4d5c2426997bd6545f0036d63b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98c7e0f420fe11ac197989af08603a49caf3a4d5c2426997bd6545f0036d63b7", kill_on_drop: false }` [INFO] [stdout] 98c7e0f420fe11ac197989af08603a49caf3a4d5c2426997bd6545f0036d63b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5380e68af967e36d7211ab9245c60da7a49a7120c23ec9323e60e752f87c51b [INFO] running `Command { std: "docker" "start" "-a" "e5380e68af967e36d7211ab9245c60da7a49a7120c23ec9323e60e752f87c51b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling hex-literal v0.3.3 [INFO] [stderr] Checking log v0.4.14 [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] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling pcsc-sys v1.2.0 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking pcsc v2.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking openpgp-card v0.0.1 (/opt/rustwide/workdir) [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` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: build failed [INFO] running `Command { std: "docker" "inspect" "e5380e68af967e36d7211ab9245c60da7a49a7120c23ec9323e60e752f87c51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5380e68af967e36d7211ab9245c60da7a49a7120c23ec9323e60e752f87c51b", kill_on_drop: false }` [INFO] [stdout] e5380e68af967e36d7211ab9245c60da7a49a7120c23ec9323e60e752f87c51b