[INFO] fetching crate can_adapter 1.0.3... [INFO] testing can_adapter-1.0.3 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate can_adapter 1.0.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate can_adapter 1.0.3 [INFO] finished tweaking crates.io crate can_adapter 1.0.3 [INFO] tweaked toml for crates.io crate can_adapter 1.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate can_adapter 1.0.3 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate can_adapter 1.0.3 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `can_adapter` [INFO] [stderr] * `bin` target `logger` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bf2fdf2354f71f906ec4270fd0f90c1a4c3bcbfac730c3465820ff66c8a0e8b [INFO] running `Command { std: "docker" "start" "-a" "1bf2fdf2354f71f906ec4270fd0f90c1a4c3bcbfac730c3465820ff66c8a0e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bf2fdf2354f71f906ec4270fd0f90c1a4c3bcbfac730c3465820ff66c8a0e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf2fdf2354f71f906ec4270fd0f90c1a4c3bcbfac730c3465820ff66c8a0e8b", kill_on_drop: false }` [INFO] [stdout] 1bf2fdf2354f71f906ec4270fd0f90c1a4c3bcbfac730c3465820ff66c8a0e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 229c99e2f941c1d5715d506abbbfa371285e9ec3a29d1032e9d08921dda1a12e [INFO] running `Command { std: "docker" "start" "-a" "229c99e2f941c1d5715d506abbbfa371285e9ec3a29d1032e9d08921dda1a12e", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `can_adapter` [INFO] [stderr] * `bin` target `logger` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libloading v0.9.0 [INFO] [stderr] Compiling dbg_hex v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clap-num v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling color-print-proc-macro v0.3.7 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling color-print v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling serialport v4.8.1 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling can_adapter v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/j1939/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | J1939::AddressClaim { sa } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `sa: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/uds/iso15765.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let block_size = p.payload[1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/socketcanconnection.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(str: &str, speed: u64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/main.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn hex_array(arg: &str) -> Result, std::num::ParseIntError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/j1939/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct TPDescriptor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 422 | struct J1939_21TpConnAbort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | struct J1939_21TpBAM { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/j1939/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | J1939::AddressClaim { sa } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `sa: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/uds/iso15765.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let block_size = p.payload[1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/socketcanconnection.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(str: &str, speed: u64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/main.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn hex_array(arg: &str) -> Result, std::num::ParseIntError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/j1939/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct TPDescriptor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 422 | struct J1939_21TpConnAbort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | struct J1939_21TpBAM { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.97s [INFO] running `Command { std: "docker" "inspect" "229c99e2f941c1d5715d506abbbfa371285e9ec3a29d1032e9d08921dda1a12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "229c99e2f941c1d5715d506abbbfa371285e9ec3a29d1032e9d08921dda1a12e", kill_on_drop: false }` [INFO] [stdout] 229c99e2f941c1d5715d506abbbfa371285e9ec3a29d1032e9d08921dda1a12e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 6586c4707f3312b9fbb9af707f8d9cbc6dd3380a66c4df4f56b93ffb6181c87f [INFO] running `Command { std: "docker" "start" "-a" "6586c4707f3312b9fbb9af707f8d9cbc6dd3380a66c4df4f56b93ffb6181c87f", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `can_adapter` [INFO] [stderr] * `bin` target `logger` [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/j1939/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | J1939::AddressClaim { sa } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `sa: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling can_adapter v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/uds/iso15765.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let block_size = p.payload[1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/socketcanconnection.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(str: &str, speed: u64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/main.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn hex_array(arg: &str) -> Result, std::num::ParseIntError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/j1939/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct TPDescriptor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 422 | struct J1939_21TpConnAbort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | struct J1939_21TpBAM { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/j1939/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | J1939::AddressClaim { sa } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `sa: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/j1939/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | J1939::AddressClaim { sa } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `sa: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/uds/iso15765.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let block_size = p.payload[1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/uds/iso15765.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let block_size = p.payload[1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/socketcanconnection.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(str: &str, speed: u64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/socketcanconnection.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(str: &str, speed: u64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/main.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn hex_array(arg: &str) -> Result, std::num::ParseIntError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/main.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn hex_array(arg: &str) -> Result, std::num::ParseIntError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/j1939/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct TPDescriptor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 422 | struct J1939_21TpConnAbort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | struct J1939_21TpBAM { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/j1939/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct TPDescriptor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpConnAbort` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 422 | struct J1939_21TpConnAbort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `J1939_21TpBAM` is never constructed [INFO] [stdout] --> src/j1939/mod.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | struct J1939_21TpBAM { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "6586c4707f3312b9fbb9af707f8d9cbc6dd3380a66c4df4f56b93ffb6181c87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6586c4707f3312b9fbb9af707f8d9cbc6dd3380a66c4df4f56b93ffb6181c87f", kill_on_drop: false }` [INFO] [stdout] 6586c4707f3312b9fbb9af707f8d9cbc6dd3380a66c4df4f56b93ffb6181c87f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 8ecf8a0f81884ad9e4a38681dc8f00fbdfec87837c59be8cf6f546fa463c4015 [INFO] running `Command { std: "docker" "start" "-a" "8ecf8a0f81884ad9e4a38681dc8f00fbdfec87837c59be8cf6f546fa463c4015", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `can_adapter` [INFO] [stderr] * `bin` target `logger` [INFO] [stderr] warning: unused variable: `sa` [INFO] [stderr] --> src/j1939/mod.rs:65:35 [INFO] [stderr] | [INFO] [stderr] 65 | J1939::AddressClaim { sa } => todo!(), [INFO] [stderr] | ^^ help: try ignoring the field: `sa: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_size` [INFO] [stderr] --> src/uds/iso15765.rs:91:25 [INFO] [stderr] | [INFO] [stderr] 91 | let block_size = p.payload[1]; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `speed` [INFO] [stderr] --> src/socketcanconnection.rs:42:27 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn new(str: &str, speed: u64) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg` [INFO] [stderr] --> src/main.rs:113:14 [INFO] [stderr] | [INFO] [stderr] 113 | fn hex_array(arg: &str) -> Result, std::num::ParseIntError> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stderr] [INFO] [stderr] warning: field `timestamp` is never read [INFO] [stderr] --> src/j1939/mod.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 33 | struct TPDescriptor { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | timestamp: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TPDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `J1939_21TpConnAbort` is never constructed [INFO] [stderr] --> src/j1939/mod.rs:422:8 [INFO] [stderr] | [INFO] [stderr] 422 | struct J1939_21TpConnAbort { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `J1939_21TpBAM` is never constructed [INFO] [stderr] --> src/j1939/mod.rs:432:8 [INFO] [stderr] | [INFO] [stderr] 432 | struct J1939_21TpBAM { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `can_adapter` (lib) generated 7 warnings (run `cargo fix --lib -p can_adapter` to apply 4 suggestions) [INFO] [stderr] warning: `can_adapter` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `can_adapter` (bin "logger" test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/can_adapter/19bc739923b571e3/deps/can_adapter-19bc739923b571e3) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test pushbus::tests::test_clone ... ok [INFO] [stdout] test uds::iso15765::tests::send4000 ... ok [INFO] [stdout] test j1939::tests::send14_ds ... ok [INFO] [stdout] test j1939::j1939_packet::tests::test_j1939packet_display ... ok [INFO] [stdout] test uds::iso15765::tests::send8 ... ok [INFO] [stdout] test j1939::tests::send14_bam ... ok [INFO] [stdout] test uds::iso15765::tests::send_receive ... ok [INFO] [stdout] test uds::iso15765::tests::send14 ... ok [INFO] [stdout] test uds::iso15765::tests::example ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- uds::iso15765::tests::example stdout ---- [INFO] [stdout] read VIN [INFO] [stdout] Error: No response [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::msg::<&str> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::__private::format_err [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:695:13 [INFO] [stdout] 2: ::receive:: + core::marker::Sync + core::marker::Send>> [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at ./src/uds/iso15765.rs:59:17 [INFO] [stdout] 3: ::send_receive [INFO] [stdout] at ./src/uds/iso15765.rs:66:14 [INFO] [stdout] 4: can_adapter::uds::iso15765::tests::example [INFO] [stdout] at ./src/uds/iso15765.rs:308:18 [INFO] [stdout] 5: can_adapter::uds::iso15765::tests::example::{closure#0} [INFO] [stdout] at ./src/uds/iso15765.rs:286:21 [INFO] [stdout] 6: >::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 7: core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 8: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18 [INFO] [stdout] 9: test::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74 [INFO] [stdout] 10: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 11: std::panicking::catch_unwind::do_call::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 12: std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 13: std::panic::catch_unwind::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14 [INFO] [stdout] 14: test::run_test_in_process [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27 [INFO] [stdout] 15: test::run_test::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43 [INFO] [stdout] 16: test::run_test::{closure#1} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41 [INFO] [stdout] 17: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 18: std::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 19: ::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 20: std::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 21: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 22: std::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14 [INFO] [stdout] 23: std::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 24: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 26: ::new::thread_start [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 27: [INFO] [stdout] 28: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] uds::iso15765::tests::example [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ecf8a0f81884ad9e4a38681dc8f00fbdfec87837c59be8cf6f546fa463c4015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ecf8a0f81884ad9e4a38681dc8f00fbdfec87837c59be8cf6f546fa463c4015", kill_on_drop: false }` [INFO] [stdout] 8ecf8a0f81884ad9e4a38681dc8f00fbdfec87837c59be8cf6f546fa463c4015