[INFO] cloning repository https://github.com/TumbleOwlee/modbus-cli-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TumbleOwlee/modbus-cli-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTumbleOwlee%2Fmodbus-cli-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTumbleOwlee%2Fmodbus-cli-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ed4e12b87a05562af908482771b6ffddb0937f7 [INFO] checking TumbleOwlee/modbus-cli-rs against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTumbleOwlee%2Fmodbus-cli-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TumbleOwlee/modbus-cli-rs [INFO] finished tweaking git repo https://github.com/TumbleOwlee/modbus-cli-rs [INFO] tweaked toml for git repo https://github.com/TumbleOwlee/modbus-cli-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TumbleOwlee/modbus-cli-rs on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TumbleOwlee/modbus-cli-rs 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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unescaper v0.1.6 [INFO] [stderr] Downloaded mio-serial v5.0.6 [INFO] [stderr] Downloaded tokio-modbus v0.16.1 [INFO] [stderr] Downloaded serialport v4.7.2 [INFO] [stderr] Downloaded tokio-serial v5.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a74c26d95a8ce69250c875c374f42c085f3d92bbb802508adb94e806a9dfe38e [INFO] running `Command { std: "docker" "start" "-a" "a74c26d95a8ce69250c875c374f42c085f3d92bbb802508adb94e806a9dfe38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a74c26d95a8ce69250c875c374f42c085f3d92bbb802508adb94e806a9dfe38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74c26d95a8ce69250c875c374f42c085f3d92bbb802508adb94e806a9dfe38e", kill_on_drop: false }` [INFO] [stdout] a74c26d95a8ce69250c875c374f42c085f3d92bbb802508adb94e806a9dfe38e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87db0a6ccba0efee72434727657fa3a4f3c2a3deebdb4290dfab4a34a4393f7f [INFO] running `Command { std: "docker" "start" "-a" "87db0a6ccba0efee72434727657fa3a4f3c2a3deebdb4290dfab4a34a4393f7f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Checking unescaper v0.1.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling which v7.0.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling luajit-src v210.6.1+f9140a6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling mlua-sys v0.8.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking serialport v4.7.2 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking mio-serial v5.0.6 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking mlua v0.11.4 [INFO] [stderr] Checking tokio-serial v5.4.5 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-modbus v0.16.1 [INFO] [stderr] Checking modbus-cli-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 11 arguments but 10 arguments were supplied [INFO] [stdout] --> src/test.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Definition::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | None, [INFO] [stdout] 48 | 0, [INFO] [stdout] | - argument #2 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mem/register.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | id: Option, [INFO] [stdout] 111 | slave_id: Option, [INFO] [stdout] | ------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 46 ~ Definition::new( [INFO] [stdout] 47 + None, [INFO] [stdout] 48 + /* std::option::Option */, [INFO] [stdout] 49 + 2, [INFO] [stdout] 50 + 0, [INFO] [stdout] 51 + DataType::default(), [INFO] [stdout] 52 + 0x04u8, [INFO] [stdout] 53 + AccessType::ReadOnly, [INFO] [stdout] 54 + None, [INFO] [stdout] 55 + None, [INFO] [stdout] 56 + None, [INFO] [stdout] 57 + None, [INFO] [stdout] 58 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/selection.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut bg = self.colors.row_color.bg.get(i % 2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/selection.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut fg = self.colors.row_color.fg; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/selection.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut bg = self.colors.row_color.bg.get(i % 2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/selection.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut fg = self.colors.row_color.fg; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/lua/context.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | error: mlua::Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exec` is never used [INFO] [stdout] --> src/lua/context.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn exec(&mut self, id: &str) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual` is never read [INFO] [stdout] --> src/mem/register.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 196 | r#virtual: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_virtual` is never used [INFO] [stdout] --> src/mem/register.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl Register { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn is_virtual(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `modbus-cli-rs` (bin "modbus-cli-rs" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "87db0a6ccba0efee72434727657fa3a4f3c2a3deebdb4290dfab4a34a4393f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87db0a6ccba0efee72434727657fa3a4f3c2a3deebdb4290dfab4a34a4393f7f", kill_on_drop: false }` [INFO] [stdout] 87db0a6ccba0efee72434727657fa3a4f3c2a3deebdb4290dfab4a34a4393f7f