[INFO] fetching crate openpgp-card 0.0.1... [INFO] testing openpgp-card-0.0.1 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate openpgp-card 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate openpgp-card 0.0.1 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex-literal v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2f830a97f503a1e482e854136af0a12edb440658283bef18c47c0df2c44723f [INFO] running `Command { std: "docker" "start" "-a" "c2f830a97f503a1e482e854136af0a12edb440658283bef18c47c0df2c44723f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2f830a97f503a1e482e854136af0a12edb440658283bef18c47c0df2c44723f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f830a97f503a1e482e854136af0a12edb440658283bef18c47c0df2c44723f", kill_on_drop: false }` [INFO] [stdout] c2f830a97f503a1e482e854136af0a12edb440658283bef18c47c0df2c44723f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff31a23c559b357666afaa42fe3b3850720873eaf9b3c70b190883761e5b0ab9 [INFO] running `Command { std: "docker" "start" "-a" "ff31a23c559b357666afaa42fe3b3850720873eaf9b3c70b190883761e5b0ab9", 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 radium v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wyz v0.2.0 [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 tap v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling hex-literal v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v6.2.1 [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 time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling env_logger v0.8.4 [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 30.68s [INFO] running `Command { std: "docker" "inspect" "ff31a23c559b357666afaa42fe3b3850720873eaf9b3c70b190883761e5b0ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff31a23c559b357666afaa42fe3b3850720873eaf9b3c70b190883761e5b0ab9", kill_on_drop: false }` [INFO] [stdout] ff31a23c559b357666afaa42fe3b3850720873eaf9b3c70b190883761e5b0ab9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28a1f511ad0eeaf2ac40ce568ea324b564293a7dfc1c44addcbff46e18543bb7 [INFO] running `Command { std: "docker" "start" "-a" "28a1f511ad0eeaf2ac40ce568ea324b564293a7dfc1c44addcbff46e18543bb7", kill_on_drop: false }` [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] [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" "28a1f511ad0eeaf2ac40ce568ea324b564293a7dfc1c44addcbff46e18543bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a1f511ad0eeaf2ac40ce568ea324b564293a7dfc1c44addcbff46e18543bb7", kill_on_drop: false }` [INFO] [stdout] 28a1f511ad0eeaf2ac40ce568ea324b564293a7dfc1c44addcbff46e18543bb7