[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#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [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-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hexfellow/hex-pcw-direct-can-control-demo on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef55175b812a0fc2780aa27761f41659d58b5e88f74f39fabed48fede992971d [INFO] running `Command { std: "docker" "start" "-a" "ef55175b812a0fc2780aa27761f41659d58b5e88f74f39fabed48fede992971d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef55175b812a0fc2780aa27761f41659d58b5e88f74f39fabed48fede992971d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef55175b812a0fc2780aa27761f41659d58b5e88f74f39fabed48fede992971d", kill_on_drop: false }` [INFO] [stdout] ef55175b812a0fc2780aa27761f41659d58b5e88f74f39fabed48fede992971d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3051e1c598755bd4a59a0e7e507598ad6865150762c1c7d3bb9c7c5318c1e5d2 [INFO] running `Command { std: "docker" "start" "-a" "3051e1c598755bd4a59a0e7e507598ad6865150762c1c7d3bb9c7c5318c1e5d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ioctl-sys v0.8.0 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling uuid v1.17.0 [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 nb v1.1.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling gpiocdev-uapi v0.6.4 [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling gilrs-core v0.6.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling build-time v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling hyper-tungstenite v0.17.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling gpiocdev v0.7.3 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling mac_address v1.1.8 [INFO] [stderr] Compiling serialport v4.7.2 [INFO] [stderr] Compiling random v0.14.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [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 1m 50s [INFO] running `Command { std: "docker" "inspect" "3051e1c598755bd4a59a0e7e507598ad6865150762c1c7d3bb9c7c5318c1e5d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3051e1c598755bd4a59a0e7e507598ad6865150762c1c7d3bb9c7c5318c1e5d2", kill_on_drop: false }` [INFO] [stdout] 3051e1c598755bd4a59a0e7e507598ad6865150762c1c7d3bb9c7c5318c1e5d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0fa4d5a6fabcccc8c9f165bb5e7dfa6418c689c795fe94cc37d670db350cec3 [INFO] running `Command { std: "docker" "start" "-a" "f0fa4d5a6fabcccc8c9f165bb5e7dfa6418c689c795fe94cc37d670db350cec3", 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 1.44s [INFO] running `Command { std: "docker" "inspect" "f0fa4d5a6fabcccc8c9f165bb5e7dfa6418c689c795fe94cc37d670db350cec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0fa4d5a6fabcccc8c9f165bb5e7dfa6418c689c795fe94cc37d670db350cec3", kill_on_drop: false }` [INFO] [stdout] f0fa4d5a6fabcccc8c9f165bb5e7dfa6418c689c795fe94cc37d670db350cec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3fd17017cf7aefb4623c7667d3b7d59b3cddda5291e3461049e375aa58ec88c8 [INFO] running `Command { std: "docker" "start" "-a" "3fd17017cf7aefb4623c7667d3b7d59b3cddda5291e3461049e375aa58ec88c8", 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.25s [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" "3fd17017cf7aefb4623c7667d3b7d59b3cddda5291e3461049e375aa58ec88c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd17017cf7aefb4623c7667d3b7d59b3cddda5291e3461049e375aa58ec88c8", kill_on_drop: false }` [INFO] [stdout] 3fd17017cf7aefb4623c7667d3b7d59b3cddda5291e3461049e375aa58ec88c8