[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 try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [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-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hexfellow/hex-pcw-direct-can-control-demo on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 813900e41977a9f8c41152184bf85cb4935341d9d63905aae406066d4ba0da1c [INFO] running `Command { std: "docker" "start" "-a" "813900e41977a9f8c41152184bf85cb4935341d9d63905aae406066d4ba0da1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "813900e41977a9f8c41152184bf85cb4935341d9d63905aae406066d4ba0da1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813900e41977a9f8c41152184bf85cb4935341d9d63905aae406066d4ba0da1c", kill_on_drop: false }` [INFO] [stdout] 813900e41977a9f8c41152184bf85cb4935341d9d63905aae406066d4ba0da1c [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41ab493805c721f6f443a180ef3ad81d4bd1a583fc9d75aecbe59af5e0aa4341 [INFO] running `Command { std: "docker" "start" "-a" "41ab493805c721f6f443a180ef3ad81d4bd1a583fc9d75aecbe59af5e0aa4341", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ioctl-sys v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling random v0.14.0 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling gilrs-core v0.6.4 [INFO] [stderr] Compiling mac_address v1.1.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling env_filter v0.1.3 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.40 [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 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 env_logger v0.11.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.12.6 [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 neli-proc-macros v0.1.4 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tungstenite v0.17.0 [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 53.02s [INFO] running `Command { std: "docker" "inspect" "41ab493805c721f6f443a180ef3ad81d4bd1a583fc9d75aecbe59af5e0aa4341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41ab493805c721f6f443a180ef3ad81d4bd1a583fc9d75aecbe59af5e0aa4341", kill_on_drop: false }` [INFO] [stdout] 41ab493805c721f6f443a180ef3ad81d4bd1a583fc9d75aecbe59af5e0aa4341 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bc3fdf53c48b1fd89df1b927ec7f7fccd40d75e8a80892b7d08881c3d944616 [INFO] running `Command { std: "docker" "start" "-a" "4bc3fdf53c48b1fd89df1b927ec7f7fccd40d75e8a80892b7d08881c3d944616", 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.97s [INFO] running `Command { std: "docker" "inspect" "4bc3fdf53c48b1fd89df1b927ec7f7fccd40d75e8a80892b7d08881c3d944616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc3fdf53c48b1fd89df1b927ec7f7fccd40d75e8a80892b7d08881c3d944616", kill_on_drop: false }` [INFO] [stdout] 4bc3fdf53c48b1fd89df1b927ec7f7fccd40d75e8a80892b7d08881c3d944616 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42b5ae9d6e37f26ed2c62927efbb6541aae9cb80534aa042970d36f6cc73fcec [INFO] running `Command { std: "docker" "start" "-a" "42b5ae9d6e37f26ed2c62927efbb6541aae9cb80534aa042970d36f6cc73fcec", 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" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [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" "42b5ae9d6e37f26ed2c62927efbb6541aae9cb80534aa042970d36f6cc73fcec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b5ae9d6e37f26ed2c62927efbb6541aae9cb80534aa042970d36f6cc73fcec", kill_on_drop: false }` [INFO] [stdout] 42b5ae9d6e37f26ed2c62927efbb6541aae9cb80534aa042970d36f6cc73fcec