[INFO] fetching crate zusi 0.3.2... [INFO] testing zusi-0.3.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate zusi 0.3.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate zusi 0.3.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zusi 0.3.2 [INFO] tweaked toml for crates.io crate zusi 0.3.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zusi 0.3.2 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 crates.io crate zusi 0.3.2 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 47a54cadbce15cd93d8946595d4d4be684a13893fdbe7f08c354c3cb35daefdb [INFO] running `Command { std: "docker" "start" "-a" "47a54cadbce15cd93d8946595d4d4be684a13893fdbe7f08c354c3cb35daefdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47a54cadbce15cd93d8946595d4d4be684a13893fdbe7f08c354c3cb35daefdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a54cadbce15cd93d8946595d4d4be684a13893fdbe7f08c354c3cb35daefdb", kill_on_drop: false }` [INFO] [stdout] 47a54cadbce15cd93d8946595d4d4be684a13893fdbe7f08c354c3cb35daefdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a71220955a2f5d357a98cbcee6c68463534fa96aba59b388c44a38c9f5a74180 [INFO] running `Command { std: "docker" "start" "-a" "a71220955a2f5d357a98cbcee6c68463534fa96aba59b388c44a38c9f5a74180", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling zusi-protocol-derive v0.1.2 [INFO] [stderr] Compiling zusi-protocol v0.2.1 [INFO] [stderr] Compiling zusi-fahrpult v0.1.5 [INFO] [stderr] Compiling zusi v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.63s [INFO] running `Command { std: "docker" "inspect" "a71220955a2f5d357a98cbcee6c68463534fa96aba59b388c44a38c9f5a74180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71220955a2f5d357a98cbcee6c68463534fa96aba59b388c44a38c9f5a74180", kill_on_drop: false }` [INFO] [stdout] a71220955a2f5d357a98cbcee6c68463534fa96aba59b388c44a38c9f5a74180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 13e5726ea0e7dc904efdddbc89fd7319219b7ead3c3fd900da6d40d632db095c [INFO] running `Command { std: "docker" "start" "-a" "13e5726ea0e7dc904efdddbc89fd7319219b7ead3c3fd900da6d40d632db095c", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling condtype v1.3.0 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling divan-macros v0.1.14 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling clap v4.5.2 [INFO] [stderr] Compiling divan v0.1.14 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling zusi v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.10s [INFO] running `Command { std: "docker" "inspect" "13e5726ea0e7dc904efdddbc89fd7319219b7ead3c3fd900da6d40d632db095c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e5726ea0e7dc904efdddbc89fd7319219b7ead3c3fd900da6d40d632db095c", kill_on_drop: false }` [INFO] [stdout] 13e5726ea0e7dc904efdddbc89fd7319219b7ead3c3fd900da6d40d632db095c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d6b927d72f20dd4df969d114dfcbccfc57f98dc1072640329518596dbe5c1a7b [INFO] running `Command { std: "docker" "start" "-a" "d6b927d72f20dd4df969d114dfcbccfc57f98dc1072640329518596dbe5c1a7b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zusi-1d7a732a04294326) [INFO] [stdout] [INFO] [stderr] Running tests/serde.rs (/opt/rustwide/target/debug/deps/serde-a564775d3ab89396) [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] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test deserialize::beispiel_1 ... ok [INFO] [stdout] test deserialize::beispiel_3 ... ok [INFO] [stdout] test deserialize::beispiel_3_with_unknown_node_nested ... ok [INFO] [stdout] test deserialize::beispiel_3_with_unknown_node ... ok [INFO] [stdout] test deserialize::beispiel_2 ... ok [INFO] [stdout] test deserialize::beispiel_4 ... ok [INFO] [stdout] test deserialize::beispiel_3_with_unknown_attribute ... ok [INFO] [stdout] test deserialize::beispiel_5 ... ok [INFO] [stdout] test serialize::beispiel_1 ... ok [INFO] [stdout] test serialize::beispiel_4 ... ok [INFO] [stdout] test test_beispiel_1_serialize ... ok [INFO] [stdout] test serialize::beispiel_2 ... ok [INFO] [stdout] test test_receive_all ... ok [INFO] [stdout] test test_send_all ... ok [INFO] [stdout] test serialize::beispiel_5 ... ok [INFO] [stdout] test serialize::beispiel_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests zusi [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/client/mod.rs - client::connect (line 34) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client/mod.rs - client::connect (line 34) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/client/mod.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_34_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 39 | let (mut stream, ack) = connect::("127.0.0.1:1435")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 35 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_34_0() -> Result<(), Box> { [INFO] [stdout] 36 | use zusi::client::connect; [INFO] [stdout] ... [INFO] [stdout] 51 | let msg: Message = Message::receive(&mut stream)?; [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/client/mod.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_34_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 48 | Message::write(&needed_data.into(), &mut stream)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 35 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_34_0() -> Result<(), Box> { [INFO] [stdout] 36 | use zusi::client::connect; [INFO] [stdout] ... [INFO] [stdout] 51 | let msg: Message = Message::receive(&mut stream)?; [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/client/mod.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_34_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 51 | let msg: Message = Message::receive(&mut stream)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 35 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_34_0() -> Result<(), Box> { [INFO] [stdout] 36 | use zusi::client::connect; [INFO] [stdout] ... [INFO] [stdout] 51 | let msg: Message = Message::receive(&mut stream)?; [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client/mod.rs - client::connect (line 34) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d6b927d72f20dd4df969d114dfcbccfc57f98dc1072640329518596dbe5c1a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b927d72f20dd4df969d114dfcbccfc57f98dc1072640329518596dbe5c1a7b", kill_on_drop: false }` [INFO] [stdout] d6b927d72f20dd4df969d114dfcbccfc57f98dc1072640329518596dbe5c1a7b