[INFO] fetching crate uds-client 0.1.11... [INFO] testing uds-client-0.1.11 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate uds-client 0.1.11 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate uds-client 0.1.11 [INFO] finished tweaking crates.io crate uds-client 0.1.11 [INFO] tweaked toml for crates.io crate uds-client 0.1.11 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uds-client 0.1.11 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uds-client 0.1.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded neli-proc-macros v0.1.4 [INFO] [stderr] Downloaded embedded-can v0.4.1 [INFO] [stderr] Downloaded peak-can-sys v0.1.2 [INFO] [stderr] Downloaded peak-can v0.1.1 [INFO] [stderr] Downloaded socketcan v3.5.0 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded neli v0.6.5 [INFO] [stderr] Downloaded automotive_diag v0.1.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 315c0197692669a0a56e3fba1939f90442e307bf2741ba94ccc0c9cc4c1ff2cd [INFO] running `Command { std: "docker" "start" "-a" "315c0197692669a0a56e3fba1939f90442e307bf2741ba94ccc0c9cc4c1ff2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "315c0197692669a0a56e3fba1939f90442e307bf2741ba94ccc0c9cc4c1ff2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315c0197692669a0a56e3fba1939f90442e307bf2741ba94ccc0c9cc4c1ff2cd", kill_on_drop: false }` [INFO] [stdout] 315c0197692669a0a56e3fba1939f90442e307bf2741ba94ccc0c9cc4c1ff2cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b016bf91413cdccb36f5138cf932bdbff56cdad1d4c36834d1ff266a48108799 [INFO] running `Command { std: "docker" "start" "-a" "b016bf91413cdccb36f5138cf932bdbff56cdad1d4c36834d1ff266a48108799", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling automotive_diag v0.1.11 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling uds-client v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.70s [INFO] running `Command { std: "docker" "inspect" "b016bf91413cdccb36f5138cf932bdbff56cdad1d4c36834d1ff266a48108799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b016bf91413cdccb36f5138cf932bdbff56cdad1d4c36834d1ff266a48108799", kill_on_drop: false }` [INFO] [stdout] b016bf91413cdccb36f5138cf932bdbff56cdad1d4c36834d1ff266a48108799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55d58eebf5d5ee3e330f97b080fd27c0654aaf669bec4d56c3718ed3af366d37 [INFO] running `Command { std: "docker" "start" "-a" "55d58eebf5d5ee3e330f97b080fd27c0654aaf669bec4d56c3718ed3af366d37", kill_on_drop: false }` [INFO] [stderr] Compiling uds-client v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "55d58eebf5d5ee3e330f97b080fd27c0654aaf669bec4d56c3718ed3af366d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d58eebf5d5ee3e330f97b080fd27c0654aaf669bec4d56c3718ed3af366d37", kill_on_drop: false }` [INFO] [stdout] 55d58eebf5d5ee3e330f97b080fd27c0654aaf669bec4d56c3718ed3af366d37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b9f4b6bd0584dbc2b64eb25a90467b890e587731153cf8df3d0277a9bd3ca40 [INFO] running `Command { std: "docker" "start" "-a" "9b9f4b6bd0584dbc2b64eb25a90467b890e587731153cf8df3d0277a9bd3ca40", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uds_client-d09750833aaced2e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests uds_client [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/uds_client/client.rs - uds_client::client (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/uds_client/client.rs - uds_client::client (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtendedId` [INFO] [stdout] --> src/uds_client/client.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | let id = Id::Extended(ExtendedId::new(0x7DF).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ExtendedId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 14 + use embedded_can::ExtendedId; [INFO] [stdout] | [INFO] [stdout] 14 + use socketcan::ExtendedId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut T: CanSocketTx` is not satisfied [INFO] [stdout] --> src/uds_client/client.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | let mut client = UdsClient::new(channel, id, resp_slot); [INFO] [stdout] | -------------- ^^^^^^^ the trait `CanSocketTx` is not implemented for `&mut T` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `CanSocketTx` is implemented for `UdsSocketTx` [INFO] [stdout] --> /opt/rustwide/workdir/src/socket_can/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | impl CanSocketTx for UdsSocketTx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `UdsClient::<'a, T>::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/uds_client/client.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, T: CanSocketTx> UdsClient<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UdsClient::<'a, T>::new` [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new(channel: T, id: u32, resp: &'a LazyLock>) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/uds_client/client.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let mut client = UdsClient::new(channel, id, resp_slot); [INFO] [stdout] | ^^^^^^^^^^^^^^ -- expected `u32`, found `Id` [INFO] [stdout] | [INFO] [stdout] note: expected `&LazyLock>`, found `&Arc` [INFO] [stdout] --> src/uds_client/client.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | let mut client = UdsClient::new(channel, id, resp_slot); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: expected reference `&LazyLock>` [INFO] [stdout] found reference `&Arc<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/uds_client/client.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(channel: T, id: u32, resp: &'a LazyLock>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut T: CanSocketTx` is not satisfied [INFO] [stdout] --> src/uds_client/client.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let mut client = UdsClient::new(channel, id, resp_slot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanSocketTx` is not implemented for `&mut T` [INFO] [stdout] | [INFO] [stdout] help: the trait `CanSocketTx` is implemented for `UdsSocketTx` [INFO] [stdout] --> /opt/rustwide/workdir/src/socket_can/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | impl CanSocketTx for UdsSocketTx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `UdsClient` [INFO] [stdout] --> /opt/rustwide/workdir/src/uds_client/client.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct UdsClient<'a, T: CanSocketTx> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UdsClient` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `send_command` exists for struct `UdsClient<'_, &mut T>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/uds_client/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | client.send_command(0x10, &[0x01, 0x02, 0x03]).await?; [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `UdsClient<'_, &mut T>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut T: CanSocketTx` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `receive` exists for struct `UdsClient<'_, &mut T>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/uds_client/client.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok(response) = client.receive().await { [INFO] [stdout] | ^^^^^^^ method cannot be called on `UdsClient<'_, &mut T>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut T: CanSocketTx` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 34) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `uds_client_rs` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use uds_client_rs::UdsClient; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `uds_client_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 36 - use uds_client_rs::UdsClient; [INFO] [stdout] 36 + use uds_client::UdsClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 34) [INFO] [stdout] src/uds_client/client.rs - uds_client::client (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.31s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9b9f4b6bd0584dbc2b64eb25a90467b890e587731153cf8df3d0277a9bd3ca40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9f4b6bd0584dbc2b64eb25a90467b890e587731153cf8df3d0277a9bd3ca40", kill_on_drop: false }` [INFO] [stdout] 9b9f4b6bd0584dbc2b64eb25a90467b890e587731153cf8df3d0277a9bd3ca40