[INFO] fetching crate openpgp-card 0.0.1... [INFO] checking openpgp-card-0.0.1 against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] extracting crate openpgp-card 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate openpgp-card 0.0.1 on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fde3991802b5568591f496a2908d2c05b8b6bf45f817dbb5bcfd40582c64c811 [INFO] running `Command { std: "docker" "start" "-a" "fde3991802b5568591f496a2908d2c05b8b6bf45f817dbb5bcfd40582c64c811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fde3991802b5568591f496a2908d2c05b8b6bf45f817dbb5bcfd40582c64c811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde3991802b5568591f496a2908d2c05b8b6bf45f817dbb5bcfd40582c64c811", kill_on_drop: false }` [INFO] [stdout] fde3991802b5568591f496a2908d2c05b8b6bf45f817dbb5bcfd40582c64c811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1834d5c6324cd5322e565f9166ef82c435170ba514f3b9c4a5ea2e5b55da103 [INFO] running `Command { std: "docker" "start" "-a" "d1834d5c6324cd5322e565f9166ef82c435170ba514f3b9c4a5ea2e5b55da103", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling hex-literal v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pcsc-sys v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking pcsc v2.5.0 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking nom v6.2.1 [INFO] [stderr] Checking env_logger v0.8.4 [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] --> 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] 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[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" "d1834d5c6324cd5322e565f9166ef82c435170ba514f3b9c4a5ea2e5b55da103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1834d5c6324cd5322e565f9166ef82c435170ba514f3b9c4a5ea2e5b55da103", kill_on_drop: false }` [INFO] [stdout] d1834d5c6324cd5322e565f9166ef82c435170ba514f3b9c4a5ea2e5b55da103