[INFO] fetching crate nam-ledger-proto 0.1.1-nam.0... [INFO] testing nam-ledger-proto-0.1.1-nam.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-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 b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f733b7dbe52e2b0da0a9824238bc79e5b7ded7bd1e8b8d439be126a9f97746e [INFO] running `Command { std: "docker" "start" "-a" "5f733b7dbe52e2b0da0a9824238bc79e5b7ded7bd1e8b8d439be126a9f97746e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f733b7dbe52e2b0da0a9824238bc79e5b7ded7bd1e8b8d439be126a9f97746e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f733b7dbe52e2b0da0a9824238bc79e5b7ded7bd1e8b8d439be126a9f97746e", kill_on_drop: false }` [INFO] [stdout] 5f733b7dbe52e2b0da0a9824238bc79e5b7ded7bd1e8b8d439be126a9f97746e [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd710c5041a49d2eb6bda9f61109c8bf642afd8ac2acd72e27604962f3bc4d06 [INFO] running `Command { std: "docker" "start" "-a" "fd710c5041a49d2eb6bda9f61109c8bf642afd8ac2acd72e27604962f3bc4d06", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [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 darling_core v0.14.4 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling thiserror v2.0.17 [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 v1.0.228 [INFO] [stderr] Compiling encdec v0.10.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling nam-ledger-proto v0.1.1-nam.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.54s [INFO] running `Command { std: "docker" "inspect" "fd710c5041a49d2eb6bda9f61109c8bf642afd8ac2acd72e27604962f3bc4d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd710c5041a49d2eb6bda9f61109c8bf642afd8ac2acd72e27604962f3bc4d06", kill_on_drop: false }` [INFO] [stdout] fd710c5041a49d2eb6bda9f61109c8bf642afd8ac2acd72e27604962f3bc4d06 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6210c48987ebe332cf2e4eded7e7f0befcaf6a2f36782b6bbdfa71219e3e57e9 [INFO] running `Command { std: "docker" "start" "-a" "6210c48987ebe332cf2e4eded7e7f0befcaf6a2f36782b6bbdfa71219e3e57e9", 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.63s [INFO] running `Command { std: "docker" "inspect" "6210c48987ebe332cf2e4eded7e7f0befcaf6a2f36782b6bbdfa71219e3e57e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6210c48987ebe332cf2e4eded7e7f0befcaf6a2f36782b6bbdfa71219e3e57e9", kill_on_drop: false }` [INFO] [stdout] 6210c48987ebe332cf2e4eded7e7f0befcaf6a2f36782b6bbdfa71219e3e57e9 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2367c35077ec816a35a5961248de8efd87eb3f719af3f83fe3b787a020707cc8 [INFO] running `Command { std: "docker" "start" "-a" "2367c35077ec816a35a5961248de8efd87eb3f719af3f83fe3b787a020707cc8", 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] [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] [stderr] Doc-tests nam_ledger_proto [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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 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 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.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2367c35077ec816a35a5961248de8efd87eb3f719af3f83fe3b787a020707cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2367c35077ec816a35a5961248de8efd87eb3f719af3f83fe3b787a020707cc8", kill_on_drop: false }` [INFO] [stdout] 2367c35077ec816a35a5961248de8efd87eb3f719af3f83fe3b787a020707cc8