[INFO] fetching crate uds-client 0.1.11... [INFO] testing uds-client-0.1.11 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate uds-client 0.1.11 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uds-client 0.1.11 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded embedded-io-async v0.6.1 [INFO] [stderr] Downloaded automotive_diag v0.1.11 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded peak-can-sys v0.1.2 [INFO] [stderr] Downloaded embedded-can v0.4.1 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded embedded-io v0.6.1 [INFO] [stderr] Downloaded socketcan v3.5.0 [INFO] [stderr] Downloaded peak-can v0.1.1 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46251e9c0c3fd9172f62c75f950509e07e6472859cb1f38ad90c739b9d012272 [INFO] running `Command { std: "docker" "start" "-a" "46251e9c0c3fd9172f62c75f950509e07e6472859cb1f38ad90c739b9d012272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46251e9c0c3fd9172f62c75f950509e07e6472859cb1f38ad90c739b9d012272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46251e9c0c3fd9172f62c75f950509e07e6472859cb1f38ad90c739b9d012272", kill_on_drop: false }` [INFO] [stdout] 46251e9c0c3fd9172f62c75f950509e07e6472859cb1f38ad90c739b9d012272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd3f2b6789c50393e8fd21e0481f90ced64cedcf86cc0bc618a4e1045ccf6b60 [INFO] running `Command { std: "docker" "start" "-a" "fd3f2b6789c50393e8fd21e0481f90ced64cedcf86cc0bc618a4e1045ccf6b60", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling thiserror v2.0.12 [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 25.25s [INFO] running `Command { std: "docker" "inspect" "fd3f2b6789c50393e8fd21e0481f90ced64cedcf86cc0bc618a4e1045ccf6b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3f2b6789c50393e8fd21e0481f90ced64cedcf86cc0bc618a4e1045ccf6b60", kill_on_drop: false }` [INFO] [stdout] fd3f2b6789c50393e8fd21e0481f90ced64cedcf86cc0bc618a4e1045ccf6b60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7762ca3694c57cb92b2647ab7ed1974cb084e5cbbb8d21333d711973f83bdf7f [INFO] running `Command { std: "docker" "start" "-a" "7762ca3694c57cb92b2647ab7ed1974cb084e5cbbb8d21333d711973f83bdf7f", 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.76s [INFO] running `Command { std: "docker" "inspect" "7762ca3694c57cb92b2647ab7ed1974cb084e5cbbb8d21333d711973f83bdf7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7762ca3694c57cb92b2647ab7ed1974cb084e5cbbb8d21333d711973f83bdf7f", kill_on_drop: false }` [INFO] [stdout] 7762ca3694c57cb92b2647ab7ed1974cb084e5cbbb8d21333d711973f83bdf7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9158bcf106b4f30c54be42c186a1b584b91a0774ddc110901c5463cff5ed77b5 [INFO] running `Command { std: "docker" "start" "-a" "9158bcf106b4f30c54be42c186a1b584b91a0774ddc110901c5463cff5ed77b5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [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] [stdout] [INFO] [stderr] Doc-tests uds_client [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/uds_client/client.rs - uds_client::client (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] 4 - use uds_client_rs::UdsClient; [INFO] [stdout] 4 + 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] ---- 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] 10 | 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] 2 + use embedded_can::ExtendedId; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 11 | 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] 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] 11 | 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] 11 | 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] 11 | 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] 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] 14 | 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] 17 | 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] [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.23s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.44s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9158bcf106b4f30c54be42c186a1b584b91a0774ddc110901c5463cff5ed77b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9158bcf106b4f30c54be42c186a1b584b91a0774ddc110901c5463cff5ed77b5", kill_on_drop: false }` [INFO] [stdout] 9158bcf106b4f30c54be42c186a1b584b91a0774ddc110901c5463cff5ed77b5