[INFO] cloning repository https://github.com/korrupt/json-modbus-tcp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korrupt/json-modbus-tcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorrupt%2Fjson-modbus-tcp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorrupt%2Fjson-modbus-tcp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a2a75297a931282c033d7735e943ffe275d67a95
[INFO] testing korrupt/json-modbus-tcp against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorrupt%2Fjson-modbus-tcp" "/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/korrupt/json-modbus-tcp
[INFO] finished tweaking git repo https://github.com/korrupt/json-modbus-tcp
[INFO] tweaked toml for git repo https://github.com/korrupt/json-modbus-tcp written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/korrupt/json-modbus-tcp on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/korrupt/json-modbus-tcp 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd
[INFO] running `Command { std: "docker" "start" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling clap_lex v0.7.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling fern v0.7.0
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling clap_builder v4.5.21
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling ipnetwork v0.20.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.21
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-modbus v0.15.0
[INFO] [stderr]    Compiling rust-modbus v1.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/register_manager.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl RegisterManager {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 59 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 39.04s
[INFO] running `Command { std: "docker" "inspect" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-modbus v1.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/register_manager.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl RegisterManager {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 59 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2.84s
[INFO] running `Command { std: "docker" "inspect" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/register_manager.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 58 | impl RegisterManager {
[INFO] [stderr]    | -------------------- associated function in this implementation
[INFO] [stderr] 59 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-modbus` (bin "rust-modbus" test) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/rust_modbus-a50edaf4bb9ffda4)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test json::tests::test_register_to_object ... ok
[INFO] [stdout] test register_manager::register_tests::test_from_json ... ok
[INFO] [stdout] test test::test_parse_whitelist ... ok
[INFO] [stdout] test service::tests::read_register_test ... ok
[INFO] [stdout] test json::tests::test_parse ... ok
[INFO] [stdout] test pack::test::test_packformat_parse ... ok
[INFO] [stdout] test json::tests::test_write ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- json::tests::test_write stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'json::tests::test_write' (992) panicked at src/json.rs:330:28:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x598c2e21ef81 - <<std[104cf6e2632825ea]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x598c2e234bca - core[7c831bd917ebf35f]::fmt::write
[INFO] [stdout]    2:     0x598c2e2234ac - <alloc[2fdc3f7464fcf288]::vec::Vec<u8> as core[7c831bd917ebf35f]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x598c2e1faf96 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x598c2e217449 - std[104cf6e2632825ea]::panicking::default_hook
[INFO] [stdout]    5:     0x598c2e1956b0 - test[73009c9f9aebf890]::test_main_inner::<test[73009c9f9aebf890]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x598c2e217602 - std[104cf6e2632825ea]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x598c2e1fb042 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x598c2e1f3939 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace::<std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x598c2e1fbc3d - __rustc[b0d56fa5b193ad05]::rust_begin_unwind
[INFO] [stdout]   10:     0x598c2e23532c - core[7c831bd917ebf35f]::panicking::panic_fmt
[INFO] [stdout]   11:     0x598c2e235102 - core[7c831bd917ebf35f]::result::unwrap_failed
[INFO] [stdout]   12:     0x598c2e183149 - rust_modbus[a13d1e84f92d10da]::json::tests::test_write
[INFO] [stdout]   13:     0x598c2e17f06d - <rust_modbus[a13d1e84f92d10da]::json::tests::test_write::{closure#0} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x598c2e18899b - test[73009c9f9aebf890]::__rust_begin_short_backtrace::<core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>>
[INFO] [stdout]   15:     0x598c2e196005 - test[73009c9f9aebf890]::run_test::{closure#0}
[INFO] [stdout]   16:     0x598c2e18f3c4 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<test[73009c9f9aebf890]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x598c2e199162 - <std[104cf6e2632825ea]::thread::lifecycle::spawn_unchecked<test[73009c9f9aebf890]::run_test::{closure#1}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x598c2e21e859 - <std[104cf6e2632825ea]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x794e0057107a - <unknown>
[INFO] [stdout]   20:     0x794e00604534 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     json::tests::test_write
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust-modbus`
[INFO] running `Command { std: "docker" "inspect" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd", kill_on_drop: false }`
[INFO] [stdout] c3bdda074b7d453376eabfe0957e24f3971d3cfaaa4140808e3752f602807edd
