[INFO] fetching crate siderite 0.1.2... [INFO] testing siderite-0.1.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate siderite 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate siderite 0.1.2 [INFO] finished tweaking crates.io crate siderite 0.1.2 [INFO] tweaked toml for crates.io crate siderite 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate siderite 0.1.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 120 packages to latest compatible versions [INFO] [stderr] Adding async-tungstenite v0.13.1 (available: v0.34.0) [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.4.1) [INFO] [stderr] Adding rustls-native-certs v0.5.0 (available: v0.8.3) [INFO] [stderr] Adding tokio-rustls v0.22.0 (available: v0.26.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded async-tungstenite v0.13.1 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abb6cd336e14387810e90529b91df6a354f514363cd1d0cfe4e7580aac128d83 [INFO] running `Command { std: "docker" "start" "-a" "abb6cd336e14387810e90529b91df6a354f514363cd1d0cfe4e7580aac128d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abb6cd336e14387810e90529b91df6a354f514363cd1d0cfe4e7580aac128d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abb6cd336e14387810e90529b91df6a354f514363cd1d0cfe4e7580aac128d83", kill_on_drop: false }` [INFO] [stdout] abb6cd336e14387810e90529b91df6a354f514363cd1d0cfe4e7580aac128d83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c018798e85287f5ab6052fe005ee3a32a222cea644dc3da03eb94827093efe [INFO] running `Command { std: "docker" "start" "-a" "a9c018798e85287f5ab6052fe005ee3a32a222cea644dc3da03eb94827093efe", kill_on_drop: false }` [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling async-tungstenite v0.13.1 [INFO] [stderr] Compiling siderite v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "a9c018798e85287f5ab6052fe005ee3a32a222cea644dc3da03eb94827093efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c018798e85287f5ab6052fe005ee3a32a222cea644dc3da03eb94827093efe", kill_on_drop: false }` [INFO] [stdout] a9c018798e85287f5ab6052fe005ee3a32a222cea644dc3da03eb94827093efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c809af10d62b97e103fe2ed34c803393fb4767886bba681c20ed65f494486a [INFO] running `Command { std: "docker" "start" "-a" "e6c809af10d62b97e103fe2ed34c803393fb4767886bba681c20ed65f494486a", kill_on_drop: false }` [INFO] [stderr] Compiling siderite v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "e6c809af10d62b97e103fe2ed34c803393fb4767886bba681c20ed65f494486a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c809af10d62b97e103fe2ed34c803393fb4767886bba681c20ed65f494486a", kill_on_drop: false }` [INFO] [stdout] e6c809af10d62b97e103fe2ed34c803393fb4767886bba681c20ed65f494486a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 35d25118ffff21f4add7b5f4f73c01abad4d8851b69193e8bfe8c2494cb244bd [INFO] running `Command { std: "docker" "start" "-a" "35d25118ffff21f4add7b5f4f73c01abad4d8851b69193e8bfe8c2494cb244bd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/siderite-c92bf8f0040141e9) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test protocol::tests::test_method_result ... ok [INFO] [stdout] test protocol::tests::test_method_error ... ok [INFO] [stdout] test protocol::tests::test_timestamp ... ok [INFO] [stdout] test randomslab::test_random_slab ... ok [INFO] [stdout] test protocol::tests::test_pingpong ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests siderite [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | .map_err(|e| eprintln!("Login failed with reason: {}", e))? [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | ServerMessage::Added{..} => { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 21 - ServerMessage::Added{..} => { ... } [INFO] [stdout] 21 + ServerMessage::Added{..} => { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 21 - ServerMessage::Added{..} => { ... } [INFO] [stdout] 21 + ServerMessage::Added{..} => { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | ServerMessage::Added{..} => { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 21 - ServerMessage::Added{..} => { ... } [INFO] [stdout] 21 + ServerMessage::Added{..} => { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ServerMessage` in this scope [INFO] [stdout] --> src/lib.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | ServerMessage::Added{..} => { ... } [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use siderite::ServerMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:6:79 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] 6 | let connection = siderite::Connection::connect("wss://example.com/websocket").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 19 | while let Some(msg) = connection.recv().await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "35d25118ffff21f4add7b5f4f73c01abad4d8851b69193e8bfe8c2494cb244bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d25118ffff21f4add7b5f4f73c01abad4d8851b69193e8bfe8c2494cb244bd", kill_on_drop: false }` [INFO] [stdout] 35d25118ffff21f4add7b5f4f73c01abad4d8851b69193e8bfe8c2494cb244bd