[INFO] fetching crate nam-ledger-proto 0.1.1-nam.0... [INFO] testing nam-ledger-proto-0.1.1-nam.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate nam-ledger-proto 0.1.1-nam.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate nam-ledger-proto 0.1.1-nam.0 [INFO] finished tweaking crates.io crate nam-ledger-proto 0.1.1-nam.0 [INFO] tweaked toml for crates.io crate nam-ledger-proto 0.1.1-nam.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nam-ledger-proto 0.1.1-nam.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c49e4cd79ccc7cfa95e5d46b54a0e0f92b5685d30e6837407ef7d2bff173cfbb [INFO] running `Command { std: "docker" "start" "-a" "c49e4cd79ccc7cfa95e5d46b54a0e0f92b5685d30e6837407ef7d2bff173cfbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c49e4cd79ccc7cfa95e5d46b54a0e0f92b5685d30e6837407ef7d2bff173cfbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49e4cd79ccc7cfa95e5d46b54a0e0f92b5685d30e6837407ef7d2bff173cfbb", kill_on_drop: false }` [INFO] [stdout] c49e4cd79ccc7cfa95e5d46b54a0e0f92b5685d30e6837407ef7d2bff173cfbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e106f38f2606311a00a60f9b4401620e2679b64581d9c5fefc27f9d36ee3d7e0 [INFO] running `Command { std: "docker" "start" "-a" "e106f38f2606311a00a60f9b4401620e2679b64581d9c5fefc27f9d36ee3d7e0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling encdec-base v0.10.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling encdec-macros v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling encdec v0.10.0 [INFO] [stderr] Compiling num_enum v0.7.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling nam-ledger-proto v0.1.1-nam.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.84s [INFO] running `Command { std: "docker" "inspect" "e106f38f2606311a00a60f9b4401620e2679b64581d9c5fefc27f9d36ee3d7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e106f38f2606311a00a60f9b4401620e2679b64581d9c5fefc27f9d36ee3d7e0", kill_on_drop: false }` [INFO] [stdout] e106f38f2606311a00a60f9b4401620e2679b64581d9c5fefc27f9d36ee3d7e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6811c92c163b3cb5ab1cee53d397bd60bbf5ac0b27b4dc0a57ae78d8dc33ea3f [INFO] running `Command { std: "docker" "start" "-a" "6811c92c163b3cb5ab1cee53d397bd60bbf5ac0b27b4dc0a57ae78d8dc33ea3f", kill_on_drop: false }` [INFO] [stderr] Compiling nam-ledger-proto v0.1.1-nam.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "6811c92c163b3cb5ab1cee53d397bd60bbf5ac0b27b4dc0a57ae78d8dc33ea3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6811c92c163b3cb5ab1cee53d397bd60bbf5ac0b27b4dc0a57ae78d8dc33ea3f", kill_on_drop: false }` [INFO] [stdout] 6811c92c163b3cb5ab1cee53d397bd60bbf5ac0b27b4dc0a57ae78d8dc33ea3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d3c922dc8da29c4508b1533a6c990177a09dd7e6c5a6aac59386ec487416c5f [INFO] running `Command { std: "docker" "start" "-a" "7d3c922dc8da29c4508b1533a6c990177a09dd7e6c5a6aac59386ec487416c5f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nam_ledger_proto-09680c9fa3c21909) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test apdus::app_info::tests::app_info_resp ... ok [INFO] [stdout] test apdus::run_app::test::encode_decode_run_app_req ... ok [INFO] [stdout] test apdus::device_info::tests::device_info_resp ... ok [INFO] [stdout] test tests::header_encode_decode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests nam_ledger_proto [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - ApduStatic (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ApduStatic (line 143) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ledger_proto` [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | use ledger_proto::{ApduStatic, ApduError, Encode, Decode}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ledger_proto` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | use nam_ledger_proto::{ApduStatic, ApduError, Encode, Decode}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `encdec` in this scope [INFO] [stdout] --> src/lib.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[encdec(error = "ApduError")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `encdec` is an attribute that can be used by the derive macros `Decode`, `DecodeOwned` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] = note: `encdec` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ledger_proto` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use ledger_proto::{ApduStatic, ApduError, Encode, DecodeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ledger_proto` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | use nam_ledger_proto::{ApduStatic, ApduError, Encode, DecodeOwned}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `encdec` in this scope [INFO] [stdout] --> src/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[encdec(error = "ApduError")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `encdec` is an attribute that can be used by the derive macros `Decode`, `DecodeOwned` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] = note: `encdec` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 40) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ledger_proto` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use ledger_proto::{ApduStatic, ApduError, Encode, Decode}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ledger_proto` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | use nam_ledger_proto::{ApduStatic, ApduError, Encode, Decode}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode_len(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 54 - fn encode_len(&self) -> Result { [INFO] [stdout] 54 + fn encode_len(&self) -> Result as TryFrom>::Error> { [INFO] [stdout] | [INFO] [stdout] 54 - fn encode_len(&self) -> Result { [INFO] [stdout] 54 + fn encode_len(&self) -> Result as TryInto>::Error> { [INFO] [stdout] | [INFO] [stdout] 54 - fn encode_len(&self) -> Result { [INFO] [stdout] 54 + fn encode_len(&self) -> Result as encdec::decode::DecodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] 54 - fn encode_len(&self) -> Result { [INFO] [stdout] 54 + fn encode_len(&self) -> Result as encdec::encode::EncodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 59 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 59 + fn encode(&self, buff: &mut [u8]) -> Result as TryFrom>::Error> { [INFO] [stdout] | [INFO] [stdout] 59 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 59 + fn encode(&self, buff: &mut [u8]) -> Result as TryInto>::Error> { [INFO] [stdout] | [INFO] [stdout] 59 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 59 + fn encode(&self, buff: &mut [u8]) -> Result as encdec::decode::DecodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] 59 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 59 + fn encode(&self, buff: &mut [u8]) -> Result as encdec::encode::EncodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<( as BitOr>::Output, usize), Self::Error> { [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<( as IntoFuture>::Output, usize), Self::Error> { [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<( as encdec::decode::DecodePrefixed>::Output, usize), Self::Error> { [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<( as nam_ledger_proto::Decode>::Output, usize), Self::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), as TryFrom>::Error> { [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), as TryInto>::Error> { [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), as encdec::decode::DecodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] 83 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 83 + fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), as encdec::encode::EncodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - ApduStatic (line 143) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7d3c922dc8da29c4508b1533a6c990177a09dd7e6c5a6aac59386ec487416c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3c922dc8da29c4508b1533a6c990177a09dd7e6c5a6aac59386ec487416c5f", kill_on_drop: false }` [INFO] [stdout] 7d3c922dc8da29c4508b1533a6c990177a09dd7e6c5a6aac59386ec487416c5f