[INFO] cloning repository https://github.com/ActorLancer/modbus-parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ActorLancer/modbus-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActorLancer%2Fmodbus-parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActorLancer%2Fmodbus-parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1438d852365e2e12e47739a050278b30b792c4d8
[INFO] testing ActorLancer/modbus-parser against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActorLancer%2Fmodbus-parser" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ActorLancer/modbus-parser
[INFO] finished tweaking git repo https://github.com/ActorLancer/modbus-parser
[INFO] tweaked toml for git repo https://github.com/ActorLancer/modbus-parser written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ActorLancer/modbus-parser 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/ActorLancer/modbus-parser 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 toml_writer v1.0.3
[INFO] [stderr]   Downloaded toml_parser v1.0.3
[INFO] [stderr]   Downloaded toml v0.9.7
[INFO] [stderr]   Downloaded typed-arena v1.7.0
[INFO] [stderr]   Downloaded serde_spanned v1.0.2
[INFO] [stderr]   Downloaded libudev v0.3.0
[INFO] [stderr]   Downloaded unescaper v0.1.6
[INFO] [stderr]   Downloaded toml_datetime v0.7.2
[INFO] [stderr]   Downloaded addr2line v0.25.1
[INFO] [stderr]   Downloaded serde v1.0.227
[INFO] [stderr]   Downloaded backtrace v0.3.76
[INFO] [stderr]   Downloaded indexmap v2.11.4
[INFO] [stderr]   Downloaded serialport v4.7.3
[INFO] [stderr]   Downloaded tokio-modbus v0.16.4
[INFO] [stderr]   Downloaded unicode-ident v1.0.19
[INFO] [stderr]   Downloaded serde_derive v1.0.227
[INFO] [stderr]   Downloaded serde_core v1.0.227
[INFO] [stderr]   Downloaded gimli v0.32.3
[INFO] [stderr]   Downloaded object v0.37.3
[INFO] [stderr]   Downloaded windows-link v0.2.0
[INFO] [stderr]   Downloaded libc v0.2.176
[INFO] [stderr]   Downloaded pretty v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0fb7b64b43a4c4df182b7cd2b284dc7ca88e54164c62feec9550813b5f6e7cc5
[INFO] running `Command { std: "docker" "start" "-a" "0fb7b64b43a4c4df182b7cd2b284dc7ca88e54164c62feec9550813b5f6e7cc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fb7b64b43a4c4df182b7cd2b284dc7ca88e54164c62feec9550813b5f6e7cc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fb7b64b43a4c4df182b7cd2b284dc7ca88e54164c62feec9550813b5f6e7cc5", kill_on_drop: false }`
[INFO] [stdout] 0fb7b64b43a4c4df182b7cd2b284dc7ca88e54164c62feec9550813b5f6e7cc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 586ee1eb0177b6697cac40527a568603dd327dbab4e5bbacd4c4c91811e45c55
[INFO] running `Command { std: "docker" "start" "-a" "586ee1eb0177b6697cac40527a568603dd327dbab4e5bbacd4c4c91811e45c55", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling serde_core v1.0.227
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.227
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling toml_writer v1.0.3
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling toml_parser v1.0.3
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling libudev v0.3.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling toml_datetime v0.7.2
[INFO] [stderr]    Compiling serde_spanned v1.0.2
[INFO] [stderr]    Compiling toml v0.9.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling serde_derive v1.0.227
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling unescaper v0.1.6
[INFO] [stderr]    Compiling serialport v4.7.3
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-modbus v0.16.4
[INFO] [stderr]    Compiling modbus-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `crate::config::HoldingRegisters`, `crate::config::InputRegisters`
[INFO] [stdout]  --> src/engine.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{Config, HoldingRegisters, InputRegisters};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^ no `InputRegisters` in `config`
[INFO] [stdout]   |                             |
[INFO] [stdout]   |                             no `HoldingRegisters` in `config`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           crate::models::HoldingRegisters
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           crate::models::InputRegisters
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BitfieldEntry` in module `crate::config`
[INFO] [stdout]    --> src/engine.rs:164:54
[INFO] [stdout]     |
[INFO] [stdout] 164 |     fn bitfield(&self) -> &Option<Vec<crate::config::BitfieldEntry>>;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^ not found in `crate::config`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   3 + use crate::models::BitfieldEntry;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `BitfieldEntry`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 164 -     fn bitfield(&self) -> &Option<Vec<crate::config::BitfieldEntry>>;
[INFO] [stdout] 164 +     fn bitfield(&self) -> &Option<Vec<BitfieldEntry>>;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModbusEngine`
[INFO] [stdout]   --> src/main.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let engine = ModbusEngine::new(&app_config);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `ModbusEngine`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::engine::ModbusEngine;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `Config` is private
[INFO] [stdout]  --> src/engine.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{Config, HoldingRegisters, InputRegisters};
[INFO] [stdout]   |                     ^^^^^^ private struct import
[INFO] [stdout]   |
[INFO] [stdout] note: the struct import `Config` is defined here...
[INFO] [stdout]  --> src/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::models::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...and refers to the struct `Config` which is defined here
[INFO] [stdout]  --> src/models.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Config {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] help: import `Config` through the re-export
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{models::Config, HoldingRegisters, InputRegisters};
[INFO] [stdout]   |                     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[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: `serde::Deserialize`
[INFO] [stdout]  --> src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hex_string_to_bytes`
[INFO] [stdout]  --> src/serial.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{crc_verify_data, hex_string_to_bytes};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SerialPortInfo`
[INFO] [stdout]  --> src/serial.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serialport::{self, SerialPort, SerialPortInfo};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/serial.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `toml::value`
[INFO] [stdout]  --> src/serial.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use toml::value;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SerialComm` and `SerialParity`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serial::{SerialComm, SerialParity};
[INFO] [stdout]   |              ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/engine.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn interpret_holding_registers(
[INFO] [stdout]    |            --------------------------- implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 83 |     ) -> Vec<DecodedRegister> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^ expected `Vec<DecodedRegister>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<DecodedRegister>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `modbus-parser` (bin "modbus-parser") due to 5 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "586ee1eb0177b6697cac40527a568603dd327dbab4e5bbacd4c4c91811e45c55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "586ee1eb0177b6697cac40527a568603dd327dbab4e5bbacd4c4c91811e45c55", kill_on_drop: false }`
[INFO] [stdout] 586ee1eb0177b6697cac40527a568603dd327dbab4e5bbacd4c4c91811e45c55
