[INFO] cloning repository https://github.com/hexfellow/hex-pcw-direct-can-control-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hexfellow/hex-pcw-direct-can-control-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexfellow%2Fhex-pcw-direct-can-control-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexfellow%2Fhex-pcw-direct-can-control-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb496c4b34447f0013704fa81bc5edf37d26386c [INFO] testing hexfellow/hex-pcw-direct-can-control-demo against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexfellow%2Fhex-pcw-direct-can-control-demo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hexfellow/hex-pcw-direct-can-control-demo [INFO] finished tweaking git repo https://github.com/hexfellow/hex-pcw-direct-can-control-demo [INFO] tweaked toml for git repo https://github.com/hexfellow/hex-pcw-direct-can-control-demo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hexfellow/hex-pcw-direct-can-control-demo on toolchain 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hexfellow/hex-pcw-direct-can-control-demo 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded neli v0.6.5 [INFO] [stderr] Downloaded build-time v0.1.3 [INFO] [stderr] Downloaded ioctl-sys v0.8.0 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded unescaper v0.1.6 [INFO] [stderr] Downloaded ctrlc v3.4.7 [INFO] [stderr] Downloaded hyper-tungstenite v0.17.0 [INFO] [stderr] Downloaded gilrs-core v0.6.4 [INFO] [stderr] Downloaded gpiocdev-uapi v0.6.4 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded jiff-static v0.2.14 [INFO] [stderr] Downloaded gpiocdev v0.7.3 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded socketcan v3.5.0 [INFO] [stderr] Downloaded syn v2.0.102 [INFO] [stderr] Downloaded serialport v4.7.2 [INFO] [stderr] Downloaded prettyplease v0.2.33 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] [stderr] Downloaded mac_address v1.1.8 [INFO] [stderr] Downloaded neli-proc-macros v0.1.4 [INFO] [stderr] Downloaded embedded-can v0.4.1 [INFO] [stderr] Downloaded jiff v0.2.14 [INFO] [stderr] Downloaded windows v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f889cdb407b876d6f3d7de7600e6b940b61ff005966c76db5b89167aec8a1768 [INFO] running `Command { std: "docker" "start" "-a" "f889cdb407b876d6f3d7de7600e6b940b61ff005966c76db5b89167aec8a1768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f889cdb407b876d6f3d7de7600e6b940b61ff005966c76db5b89167aec8a1768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f889cdb407b876d6f3d7de7600e6b940b61ff005966c76db5b89167aec8a1768", kill_on_drop: false }` [INFO] [stdout] f889cdb407b876d6f3d7de7600e6b940b61ff005966c76db5b89167aec8a1768 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 878373157d7995f134358f8c1f88ef96615a7ad0b382e633c1c9b06a65496a3d [INFO] running `Command { std: "docker" "start" "-a" "878373157d7995f134358f8c1f88ef96615a7ad0b382e633c1c9b06a65496a3d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Compiling ioctl-sys v0.8.0 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling random v0.14.0 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling gilrs-core v0.6.4 [INFO] [stderr] Compiling mac_address v1.1.8 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling build-time v0.1.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling gpiocdev-uapi v0.6.4 [INFO] [stderr] Compiling serialport v4.7.2 [INFO] [stderr] Compiling gpiocdev v0.7.3 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tungstenite v0.17.0 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling hex-pcw-direct-can-control-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::xstd_pcw::MitData` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::xstd_pcw::MitData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/xstd_pcw.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | if (node_id > 127) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (node_id > 127) { [INFO] [stdout] 27 + if node_id > 127 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/xstd_pcw.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | use socketcan::{tokio::CanFdSocket, CanAnyFrame, EmbeddedFrame, Frame, Id}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m0_encoder_resolution` [INFO] [stdout] --> src/xstd_pcw.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let m0_encoder_resolution = self.encoder_resolutions[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_m0_encoder_resolution` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m1_encoder_resolution` [INFO] [stdout] --> src/xstd_pcw.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let m1_encoder_resolution = self.encoder_resolutions[1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_m1_encoder_resolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Initialising`, `ResetApplication`, `ResetCommunication`, `PreOperational`, and `Stopped` are never constructed [INFO] [stdout] --> src/xstd_pcw.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum NMTState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Initialising, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | ResetApplication, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | ResetCommunication, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | PreOperational, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | Operational, [INFO] [stdout] 18 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NMTState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.17s [INFO] running `Command { std: "docker" "inspect" "878373157d7995f134358f8c1f88ef96615a7ad0b382e633c1c9b06a65496a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878373157d7995f134358f8c1f88ef96615a7ad0b382e633c1c9b06a65496a3d", kill_on_drop: false }` [INFO] [stdout] 878373157d7995f134358f8c1f88ef96615a7ad0b382e633c1c9b06a65496a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e22261eb6a79e80e590f169a500f4058e62a5174f4e7916c4da52561a35713c [INFO] running `Command { std: "docker" "start" "-a" "1e22261eb6a79e80e590f169a500f4058e62a5174f4e7916c4da52561a35713c", kill_on_drop: false }` [INFO] [stderr] Compiling hex-pcw-direct-can-control-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::xstd_pcw::MitData` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::xstd_pcw::MitData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/xstd_pcw.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | if (node_id > 127) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (node_id > 127) { [INFO] [stdout] 27 + if node_id > 127 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/xstd_pcw.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | use socketcan::{tokio::CanFdSocket, CanAnyFrame, EmbeddedFrame, Frame, Id}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m0_encoder_resolution` [INFO] [stdout] --> src/xstd_pcw.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let m0_encoder_resolution = self.encoder_resolutions[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_m0_encoder_resolution` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m1_encoder_resolution` [INFO] [stdout] --> src/xstd_pcw.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let m1_encoder_resolution = self.encoder_resolutions[1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_m1_encoder_resolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Initialising`, `ResetApplication`, `ResetCommunication`, `PreOperational`, and `Stopped` are never constructed [INFO] [stdout] --> src/xstd_pcw.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum NMTState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Initialising, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | ResetApplication, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | ResetCommunication, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | PreOperational, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | Operational, [INFO] [stdout] 18 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NMTState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "1e22261eb6a79e80e590f169a500f4058e62a5174f4e7916c4da52561a35713c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e22261eb6a79e80e590f169a500f4058e62a5174f4e7916c4da52561a35713c", kill_on_drop: false }` [INFO] [stdout] 1e22261eb6a79e80e590f169a500f4058e62a5174f4e7916c4da52561a35713c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 685e0d95956d896e3f79c83702ac5e9101e7094eb743338bf94e7586204d5a84 [INFO] running `Command { std: "docker" "start" "-a" "685e0d95956d896e3f79c83702ac5e9101e7094eb743338bf94e7586204d5a84", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::xstd_pcw::MitData` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::xstd_pcw::MitData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/xstd_pcw.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | if (node_id > 127) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 27 - if (node_id > 127) { [INFO] [stderr] 27 + if node_id > 127 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Frame` [INFO] [stderr] --> src/xstd_pcw.rs:4:65 [INFO] [stderr] | [INFO] [stderr] 4 | use socketcan::{tokio::CanFdSocket, CanAnyFrame, EmbeddedFrame, Frame, Id}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m0_encoder_resolution` [INFO] [stderr] --> src/xstd_pcw.rs:248:17 [INFO] [stderr] | [INFO] [stderr] 248 | let m0_encoder_resolution = self.encoder_resolutions[0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_m0_encoder_resolution` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m1_encoder_resolution` [INFO] [stderr] --> src/xstd_pcw.rs:249:17 [INFO] [stderr] | [INFO] [stderr] 249 | let m1_encoder_resolution = self.encoder_resolutions[1]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_m1_encoder_resolution` [INFO] [stderr] [INFO] [stderr] warning: variants `Initialising`, `ResetApplication`, `ResetCommunication`, `PreOperational`, and `Stopped` are never constructed [INFO] [stderr] --> src/xstd_pcw.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum NMTState { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 13 | Initialising, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | ResetApplication, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | ResetCommunication, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | PreOperational, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 17 | Operational, [INFO] [stderr] 18 | Stopped, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NMTState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hex-pcw-direct-can-control-demo` (bin "hex-pcw-direct-can-control-demo" test) generated 7 warnings (run `cargo fix --bin "hex-pcw-direct-can-control-demo" -p hex-pcw-direct-can-control-demo --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hex_pcw_direct_can_control_demo-cd7da9b30c5f2651) [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] running `Command { std: "docker" "inspect" "685e0d95956d896e3f79c83702ac5e9101e7094eb743338bf94e7586204d5a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685e0d95956d896e3f79c83702ac5e9101e7094eb743338bf94e7586204d5a84", kill_on_drop: false }` [INFO] [stdout] 685e0d95956d896e3f79c83702ac5e9101e7094eb743338bf94e7586204d5a84