[INFO] fetching crate roco_z21_driver 0.1.1...
[INFO] testing roco_z21_driver-0.1.1 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate roco_z21_driver 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate roco_z21_driver 0.1.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate roco_z21_driver 0.1.1
[INFO] tweaked toml for crates.io crate roco_z21_driver 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate roco_z21_driver 0.1.1 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate roco_z21_driver 0.1.1 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" "+beta-2026-04-21" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8126886f31ab34518f6c30decc228415f83fb0c26c7b3b8c4db214ec9692e5c6
[INFO] running `Command { std: "docker" "start" "-a" "8126886f31ab34518f6c30decc228415f83fb0c26c7b3b8c4db214ec9692e5c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8126886f31ab34518f6c30decc228415f83fb0c26c7b3b8c4db214ec9692e5c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8126886f31ab34518f6c30decc228415f83fb0c26c7b3b8c4db214ec9692e5c6", kill_on_drop: false }`
[INFO] [stdout] 8126886f31ab34518f6c30decc228415f83fb0c26c7b3b8c4db214ec9692e5c6
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ce472b108ca2c520d6aa78329c01764f100968109ed86ade5b831b4b5ef4b25
[INFO] running `Command { std: "docker" "start" "-a" "9ce472b108ca2c520d6aa78329c01764f100968109ed86ade5b831b4b5ef4b25", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling roco_z21_driver v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::OnceCell`
[INFO] [stdout]   --> src/station.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::cell::OnceCell;
[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: `std::net::SocketAddr`
[INFO] [stdout]   --> src/station.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::net::SocketAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/station/loco.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Deref`
[INFO] [stdout]   --> src/station/loco.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | use std::{ops::Deref, sync::Arc, vec};
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time`
[INFO] [stdout]   --> src/station/loco.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 | use tokio::{io, time};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `receive_packet` is never used
[INFO] [stdout]    --> src/station.rs:355:14
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Z21Station {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 355 |     async fn receive_packet(&self) -> io::Result<Packet> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[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 15.60s
[INFO] running `Command { std: "docker" "inspect" "9ce472b108ca2c520d6aa78329c01764f100968109ed86ade5b831b4b5ef4b25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ce472b108ca2c520d6aa78329c01764f100968109ed86ade5b831b4b5ef4b25", kill_on_drop: false }`
[INFO] [stdout] 9ce472b108ca2c520d6aa78329c01764f100968109ed86ade5b831b4b5ef4b25
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5899464045549f130c0cb9fd6874163a012f8a3601ec163b41f46011dcdb5e1
[INFO] running `Command { std: "docker" "start" "-a" "d5899464045549f130c0cb9fd6874163a012f8a3601ec163b41f46011dcdb5e1", kill_on_drop: false }`
[INFO] [stderr]    Compiling roco_z21_driver v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::OnceCell`
[INFO] [stdout]   --> src/station.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::cell::OnceCell;
[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: `std::net::SocketAddr`
[INFO] [stdout]   --> src/station.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::net::SocketAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/station/loco.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Deref`
[INFO] [stdout]   --> src/station/loco.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | use std::{ops::Deref, sync::Arc, vec};
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time`
[INFO] [stdout]   --> src/station/loco.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 | use tokio::{io, time};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `receive_packet` is never used
[INFO] [stdout]    --> src/station.rs:355:14
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Z21Station {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 355 |     async fn receive_packet(&self) -> io::Result<Packet> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::OnceCell`
[INFO] [stdout]   --> src/station.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::cell::OnceCell;
[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: `std::net::SocketAddr`
[INFO] [stdout]   --> src/station.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::net::SocketAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/station/loco.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Deref`
[INFO] [stdout]   --> src/station/loco.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | use std::{ops::Deref, sync::Arc, vec};
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time`
[INFO] [stdout]   --> src/station/loco.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 | use tokio::{io, time};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `receive_packet` is never used
[INFO] [stdout]    --> src/station.rs:355:14
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Z21Station {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 355 |     async fn receive_packet(&self) -> io::Result<Packet> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[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.54s
[INFO] running `Command { std: "docker" "inspect" "d5899464045549f130c0cb9fd6874163a012f8a3601ec163b41f46011dcdb5e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5899464045549f130c0cb9fd6874163a012f8a3601ec163b41f46011dcdb5e1", kill_on_drop: false }`
[INFO] [stdout] d5899464045549f130c0cb9fd6874163a012f8a3601ec163b41f46011dcdb5e1
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 17900252adaaabcb00d1f9782395fe350c978548daa6e2e8adce9c4d12b62fc5
[INFO] running `Command { std: "docker" "start" "-a" "17900252adaaabcb00d1f9782395fe350c978548daa6e2e8adce9c4d12b62fc5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::cell::OnceCell`
[INFO] [stdout] 
[INFO] [stderr]   --> src/station.rs:20:5
[INFO] [stdout] running 8 tests
[INFO] [stderr]    |
[INFO] [stdout] test messages::xbus_message::tests::test_try_from_invalid_xor ... ok
[INFO] [stderr] 20 | use std::cell::OnceCell;
[INFO] [stdout] test messages::xbus_message::tests::test_try_from_too_short ... ok
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] test messages::xbus_message::tests::test_try_from_valid ... ok
[INFO] [stderr]    |
[INFO] [stdout] test messages::xbus_message::tests::test_new_double ... ok
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] test messages::xbus_message::tests::test_new_dbs_vec ... ok
[INFO] [stderr] 
[INFO] [stdout] test messages::xbus_message::tests::test_new_only_header ... ok
[INFO] [stderr] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout] test messages::xbus_message::tests::test_new_single ... ok
[INFO] [stderr]   --> src/station.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use std::net::SocketAddr;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]   --> src/station/loco.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 | use std::time::Duration;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ops::Deref`
[INFO] [stderr]   --> src/station/loco.rs:43:11
[INFO] [stderr]    |
[INFO] [stderr] 43 | use std::{ops::Deref, sync::Arc, vec};
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `time`
[INFO] [stderr]   --> src/station/loco.rs:45:17
[INFO] [stderr]    |
[INFO] [stderr] 45 | use tokio::{io, time};
[INFO] [stderr]    |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `receive_packet` is never used
[INFO] [stderr]    --> src/station.rs:355:14
[INFO] [stderr]     |
[INFO] [stderr]  62 | impl Z21Station {
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 355 |     async fn receive_packet(&self) -> io::Result<Packet> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `roco_z21_driver` (lib) generated 6 warnings (run `cargo fix --lib -p roco_z21_driver` to apply 5 suggestions)
[INFO] [stderr] warning: `roco_z21_driver` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/roco_z21_driver-5751e35be748a903)
[INFO] [stdout] test messages::xbus_message::tests::test_into_vec ... ok
[INFO] [stderr]    Doc-tests roco_z21_driver
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test src/station.rs - station::Z21Station::subscribe_system_state (line 474) ... FAILED
[INFO] [stdout] test src/station.rs - station::Z21Station::get_serial_number (line 444) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::control (line 102) ... FAILED
[INFO] [stdout] test src/station.rs - station::Z21Station::voltage_on (line 416) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco (line 18) ... FAILED
[INFO] [stdout] test src/station.rs - station::Z21Station::voltage_off (line 388) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::subscribe_loco_state (line 332) ... FAILED
[INFO] [stdout] test src/station.rs - station::Z21Station::new (line 85) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::set_function (line 379) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::function_off (line 466) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::set_headlights (line 523) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::control_with_steps (line 136) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::function_toggle (line 494) ... FAILED
[INFO] [stdout] test src/station.rs - station::Z21Station::logout (line 532) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::function_on (line 438) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::drive (line 301) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::halt (line 216) ... FAILED
[INFO] [stdout] test src/station/loco.rs - station::loco::Loco::stop (line 193) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/station.rs - station::Z21Station::subscribe_system_state (line 474) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `station` in this scope
[INFO] [stdout]    --> src/station.rs:475:1
[INFO] [stdout]     |
[INFO] [stdout] 475 | station.subscribe_system_state(1.0, Box::new(|state| {
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station.rs - station::Z21Station::get_serial_number (line 444) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `station` in this scope
[INFO] [stdout]    --> src/station.rs:445:14
[INFO] [stdout]     |
[INFO] [stdout] 445 | let serial = station.get_serial_number().await?;
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/station.rs:445:42
[INFO] [stdout]     |
[INFO] [stdout] 444 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_station_rs_444_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] 445 | let serial = station.get_serial_number().await?;
[INFO] [stdout]     |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::control (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/station/loco.rs:103:27
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn example(station: Arc<Z21Station>) -> std::io::Result<()> {
[INFO] [stdout]     |                           ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 102 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Z21Station` in this scope
[INFO] [stdout]    --> src/station/loco.rs:103:31
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn example(station: Arc<Z21Station>) -> std::io::Result<()> {
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn example<Z21Station>(station: Arc<Z21Station>) -> std::io::Result<()> {
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | let loco = Loco::control(station.clone(), 3).await?;
[INFO] [stdout]     |            ^^^^ use of undeclared type `Loco`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station.rs - station::Z21Station::voltage_on (line 416) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `station` in this scope
[INFO] [stdout]    --> src/station.rs:418:1
[INFO] [stdout]     |
[INFO] [stdout] 418 | station.voltage_on().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/station.rs:418:22
[INFO] [stdout]     |
[INFO] [stdout] 416 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_station_rs_416_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] 417 | // Restore power to the tracks
[INFO] [stdout] 418 | station.voltage_on().await?;
[INFO] [stdout]     |                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco (line 18) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Z21Station` in this scope
[INFO] [stdout]   --> src/station/loco.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 | let station = Arc::new(Z21Station::new("192.168.0.111:21105").await?);
[INFO] [stdout]    |                        ^^^^^^^^^^ use of undeclared type `Z21Station`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Loco` in this scope
[INFO] [stdout]   --> src/station/loco.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | let loco = Loco::control(station.clone(), 3).await?;
[INFO] [stdout]    |            ^^^^ use of undeclared type `Loco`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station.rs - station::Z21Station::voltage_off (line 388) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `station` in this scope
[INFO] [stdout]    --> src/station.rs:390:1
[INFO] [stdout]     |
[INFO] [stdout] 390 | station.voltage_off().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/station.rs:390:23
[INFO] [stdout]     |
[INFO] [stdout] 388 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_station_rs_388_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] 389 | // Emergency stop all locomotives by cutting track power
[INFO] [stdout] 390 | station.voltage_off().await?;
[INFO] [stdout]     |                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::subscribe_loco_state (line 332) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:333:19
[INFO] [stdout]     |
[INFO] [stdout] 333 | fn example(loco: &Loco) {
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station.rs - station::Z21Station::new (line 85) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/station.rs:86:54
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_station_rs_85_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 86 | let station = Z21Station::new("192.168.0.111:21105").await?;
[INFO] [stdout]    |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Z21Station` in this scope
[INFO] [stdout]   --> src/station.rs:86:15
[INFO] [stdout]    |
[INFO] [stdout] 86 | let station = Z21Station::new("192.168.0.111:21105").await?;
[INFO] [stdout]    |               ^^^^^^^^^^ use of undeclared type `Z21Station`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::set_function (line 379) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:380:25
[INFO] [stdout]     |
[INFO] [stdout] 380 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::function_off (line 466) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:467:25
[INFO] [stdout]     |
[INFO] [stdout] 467 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::set_headlights (line 523) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:524:25
[INFO] [stdout]     |
[INFO] [stdout] 524 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::control_with_steps (line 136) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/station/loco.rs:137:27
[INFO] [stdout]     |
[INFO] [stdout] 137 | async fn example(station: Arc<Z21Station>) -> std::io::Result<()> {
[INFO] [stdout]     |                           ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 136 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Z21Station` in this scope
[INFO] [stdout]    --> src/station/loco.rs:137:31
[INFO] [stdout]     |
[INFO] [stdout] 137 | async fn example(station: Arc<Z21Station>) -> std::io::Result<()> {
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 137 | async fn example<Z21Station>(station: Arc<Z21Station>) -> std::io::Result<()> {
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | let loco = Loco::control_with_steps(
[INFO] [stdout]     |            ^^^^ use of undeclared type `Loco`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DccThrottleSteps` in this scope
[INFO] [stdout]    --> src/station/loco.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 |     DccThrottleSteps::Steps28
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of undeclared type `DccThrottleSteps`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::function_toggle (line 494) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:495:25
[INFO] [stdout]     |
[INFO] [stdout] 495 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station.rs - station::Z21Station::logout (line 532) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `station` in this scope
[INFO] [stdout]    --> src/station.rs:534:1
[INFO] [stdout]     |
[INFO] [stdout] 534 | station.logout().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/station.rs:534:18
[INFO] [stdout]     |
[INFO] [stdout] 532 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_station_rs_532_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] 533 | // Clean up and disconnect from the Z21 station
[INFO] [stdout] 534 | station.logout().await?;
[INFO] [stdout]     |                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::function_on (line 438) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:439:25
[INFO] [stdout]     |
[INFO] [stdout] 439 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::drive (line 301) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:302:25
[INFO] [stdout]     |
[INFO] [stdout] 302 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::halt (line 216) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:217:25
[INFO] [stdout]     |
[INFO] [stdout] 217 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/station/loco.rs - station::loco::Loco::stop (line 193) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Loco` in this scope
[INFO] [stdout]    --> src/station/loco.rs:194:25
[INFO] [stdout]     |
[INFO] [stdout] 194 | async fn example(loco: &Loco) -> std::io::Result<()> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/station.rs - station::Z21Station::get_serial_number (line 444)
[INFO] [stdout]     src/station.rs - station::Z21Station::logout (line 532)
[INFO] [stdout]     src/station.rs - station::Z21Station::new (line 85)
[INFO] [stdout]     src/station.rs - station::Z21Station::subscribe_system_state (line 474)
[INFO] [stdout]     src/station.rs - station::Z21Station::voltage_off (line 388)
[INFO] [stdout]     src/station.rs - station::Z21Station::voltage_on (line 416)
[INFO] [stdout]     src/station/loco.rs - station::loco (line 18)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::control (line 102)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::control_with_steps (line 136)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::drive (line 301)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::function_off (line 466)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::function_on (line 438)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::function_toggle (line 494)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::halt (line 216)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::set_function (line 379)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::set_headlights (line 523)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::stop (line 193)
[INFO] [stdout]     src/station/loco.rs - station::loco::Loco::subscribe_loco_state (line 332)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "17900252adaaabcb00d1f9782395fe350c978548daa6e2e8adce9c4d12b62fc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17900252adaaabcb00d1f9782395fe350c978548daa6e2e8adce9c4d12b62fc5", kill_on_drop: false }`
[INFO] [stdout] 17900252adaaabcb00d1f9782395fe350c978548daa6e2e8adce9c4d12b62fc5
