[INFO] fetching crate openpgp-card 0.0.1... [INFO] testing openpgp-card-0.0.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate openpgp-card 0.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate openpgp-card 0.0.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 99c40b9b17ced42ca30fd574076e809dd40865ebe62ef0078d065dfa370d15eb [INFO] running `Command { std: "docker" "start" "-a" "99c40b9b17ced42ca30fd574076e809dd40865ebe62ef0078d065dfa370d15eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99c40b9b17ced42ca30fd574076e809dd40865ebe62ef0078d065dfa370d15eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c40b9b17ced42ca30fd574076e809dd40865ebe62ef0078d065dfa370d15eb", kill_on_drop: false }` [INFO] [stdout] 99c40b9b17ced42ca30fd574076e809dd40865ebe62ef0078d065dfa370d15eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3291572b992a59e31b1819fb5e61944a3c3489ced29ac47288fd3136b6d48927 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3291572b992a59e31b1819fb5e61944a3c3489ced29ac47288fd3136b6d48927", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling hex-literal v0.3.3 [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 nom v6.2.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling pcsc v2.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [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 24.07s [INFO] running `Command { std: "docker" "inspect" "3291572b992a59e31b1819fb5e61944a3c3489ced29ac47288fd3136b6d48927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3291572b992a59e31b1819fb5e61944a3c3489ced29ac47288fd3136b6d48927", kill_on_drop: false }` [INFO] [stdout] 3291572b992a59e31b1819fb5e61944a3c3489ced29ac47288fd3136b6d48927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70bf8af7c35f1c269ee81027bfb8652385da835a583a2b7de1fd1e3bf8e8d751 [INFO] running `Command { std: "docker" "start" "-a" "70bf8af7c35f1c269ee81027bfb8652385da835a583a2b7de1fd1e3bf8e8d751", 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] --> src/parse/algo_info.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl TryFrom<&[u8]> for AlgoInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [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] --> src/parse/algo_info.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl TryFrom<&[u8]> for AlgoInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [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] --> src/parse/algo_info.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl TryFrom<&[u8]> for AlgoInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [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] running `Command { std: "docker" "inspect" "70bf8af7c35f1c269ee81027bfb8652385da835a583a2b7de1fd1e3bf8e8d751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70bf8af7c35f1c269ee81027bfb8652385da835a583a2b7de1fd1e3bf8e8d751", kill_on_drop: false }` [INFO] [stdout] 70bf8af7c35f1c269ee81027bfb8652385da835a583a2b7de1fd1e3bf8e8d751