[INFO] fetching crate nam-ledger-proto 0.1.1-nam.0... [INFO] testing nam-ledger-proto-0.1.1-nam.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate nam-ledger-proto 0.1.1-nam.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nam-ledger-proto 0.1.1-nam.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ce9ebe98cb957480bb030ddd725d7b9fe6398fe9b0b5b25b32be350f1aa54ea [INFO] running `Command { std: "docker" "start" "-a" "6ce9ebe98cb957480bb030ddd725d7b9fe6398fe9b0b5b25b32be350f1aa54ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ce9ebe98cb957480bb030ddd725d7b9fe6398fe9b0b5b25b32be350f1aa54ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce9ebe98cb957480bb030ddd725d7b9fe6398fe9b0b5b25b32be350f1aa54ea", kill_on_drop: false }` [INFO] [stdout] 6ce9ebe98cb957480bb030ddd725d7b9fe6398fe9b0b5b25b32be350f1aa54ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] def79fd4b09bf50281dbc8c5456c845902f384c27cf310dba25b988caf90fe72 [INFO] running `Command { std: "docker" "start" "-a" "def79fd4b09bf50281dbc8c5456c845902f384c27cf310dba25b988caf90fe72", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling encdec-base v0.10.0 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling darling_core v0.14.4 [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 encdec v0.10.0 [INFO] [stderr] Compiling nam-ledger-proto v0.1.1-nam.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.18s [INFO] running `Command { std: "docker" "inspect" "def79fd4b09bf50281dbc8c5456c845902f384c27cf310dba25b988caf90fe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "def79fd4b09bf50281dbc8c5456c845902f384c27cf310dba25b988caf90fe72", kill_on_drop: false }` [INFO] [stdout] def79fd4b09bf50281dbc8c5456c845902f384c27cf310dba25b988caf90fe72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72a3599a6e6432402d88e25f7ad0972effc3114f9535b162000ad5650a3f3817 [INFO] running `Command { std: "docker" "start" "-a" "72a3599a6e6432402d88e25f7ad0972effc3114f9535b162000ad5650a3f3817", 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.56s [INFO] running `Command { std: "docker" "inspect" "72a3599a6e6432402d88e25f7ad0972effc3114f9535b162000ad5650a3f3817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a3599a6e6432402d88e25f7ad0972effc3114f9535b162000ad5650a3f3817", kill_on_drop: false }` [INFO] [stdout] 72a3599a6e6432402d88e25f7ad0972effc3114f9535b162000ad5650a3f3817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d5c1cbf945a1cf5931b193e6d0335ff261a18acac2351f71983a83b85085874 [INFO] running `Command { std: "docker" "start" "-a" "9d5c1cbf945a1cf5931b193e6d0335ff261a18acac2351f71983a83b85085874", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nam_ledger_proto-59e956264253fc43) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Doc-tests nam_ledger_proto [INFO] [stdout] test apdus::app_info::tests::app_info_resp ... ok [INFO] [stdout] test apdus::device_info::tests::device_info_resp ... ok [INFO] [stdout] test apdus::run_app::test::encode_decode_run_app_req ... 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.00s [INFO] [stdout] [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] 3 | 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] 3 | 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] 7 | #[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] 3 | 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] 3 | 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] 7 | #[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] 3 | 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] 3 | 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] 16 | fn encode_len(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 16 - fn encode_len(&self) -> Result { [INFO] [stdout] 16 + fn encode_len(&self) -> Result as TryFrom>::Error> { [INFO] [stdout] | [INFO] [stdout] 16 - fn encode_len(&self) -> Result { [INFO] [stdout] 16 + fn encode_len(&self) -> Result as TryInto>::Error> { [INFO] [stdout] | [INFO] [stdout] 16 - fn encode_len(&self) -> Result { [INFO] [stdout] 16 + fn encode_len(&self) -> Result as encdec::decode::DecodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] 16 - fn encode_len(&self) -> Result { [INFO] [stdout] 16 + 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] 21 | fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 21 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 21 + fn encode(&self, buff: &mut [u8]) -> Result as TryFrom>::Error> { [INFO] [stdout] | [INFO] [stdout] 21 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 21 + fn encode(&self, buff: &mut [u8]) -> Result as TryInto>::Error> { [INFO] [stdout] | [INFO] [stdout] 21 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 21 + fn encode(&self, buff: &mut [u8]) -> Result as encdec::decode::DecodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] 21 - fn encode(&self, buff: &mut [u8]) -> Result { [INFO] [stdout] 21 + 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] 45 | 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] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + fn decode(buff: &'a [u8]) -> Result<( as BitOr>::Output, usize), Self::Error> { [INFO] [stdout] | [INFO] [stdout] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + fn decode(buff: &'a [u8]) -> Result<( as IntoFuture>::Output, usize), Self::Error> { [INFO] [stdout] | [INFO] [stdout] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + fn decode(buff: &'a [u8]) -> Result<( as encdec::decode::DecodePrefixed>::Output, usize), Self::Error> { [INFO] [stdout] | [INFO] [stdout] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + 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] 45 | 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] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), as TryFrom>::Error> { [INFO] [stdout] | [INFO] [stdout] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), as TryInto>::Error> { [INFO] [stdout] | [INFO] [stdout] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), as encdec::decode::DecodePrefixed>::Error> { [INFO] [stdout] | [INFO] [stdout] 45 - fn decode(buff: &'a [u8]) -> Result<(Self::Output, usize), Self::Error> { [INFO] [stdout] 45 + 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.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9d5c1cbf945a1cf5931b193e6d0335ff261a18acac2351f71983a83b85085874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d5c1cbf945a1cf5931b193e6d0335ff261a18acac2351f71983a83b85085874", kill_on_drop: false }` [INFO] [stdout] 9d5c1cbf945a1cf5931b193e6d0335ff261a18acac2351f71983a83b85085874