[INFO] fetching crate foxglove-ws 0.2.2... [INFO] testing foxglove-ws-0.2.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate foxglove-ws 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate foxglove-ws 0.2.2 [INFO] finished tweaking crates.io crate foxglove-ws 0.2.2 [INFO] tweaked toml for crates.io crate foxglove-ws 0.2.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate foxglove-ws 0.2.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate foxglove-ws 0.2.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30474b58b6611a45b696ca3cc2b5071cfa76c1f0fcc4dad6a62f577ff1143347 [INFO] running `Command { std: "docker" "start" "-a" "30474b58b6611a45b696ca3cc2b5071cfa76c1f0fcc4dad6a62f577ff1143347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30474b58b6611a45b696ca3cc2b5071cfa76c1f0fcc4dad6a62f577ff1143347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30474b58b6611a45b696ca3cc2b5071cfa76c1f0fcc4dad6a62f577ff1143347", kill_on_drop: false }` [INFO] [stdout] 30474b58b6611a45b696ca3cc2b5071cfa76c1f0fcc4dad6a62f577ff1143347 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ee70427139c2d3f06fc206e552b9b285de78223b2d6b88722d5e0f32bc018a6 [INFO] running `Command { std: "docker" "start" "-a" "7ee70427139c2d3f06fc206e552b9b285de78223b2d6b88722d5e0f32bc018a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling foxglove-ws v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.95s [INFO] running `Command { std: "docker" "inspect" "7ee70427139c2d3f06fc206e552b9b285de78223b2d6b88722d5e0f32bc018a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee70427139c2d3f06fc206e552b9b285de78223b2d6b88722d5e0f32bc018a6", kill_on_drop: false }` [INFO] [stdout] 7ee70427139c2d3f06fc206e552b9b285de78223b2d6b88722d5e0f32bc018a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 365c3068ce2b2979fc5279d22bd9de079cc28753c6597b93ae83e1c04377cf27 [INFO] running `Command { std: "docker" "start" "-a" "365c3068ce2b2979fc5279d22bd9de079cc28753c6597b93ae83e1c04377cf27", kill_on_drop: false }` [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling foxglove-ws v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.42s [INFO] running `Command { std: "docker" "inspect" "365c3068ce2b2979fc5279d22bd9de079cc28753c6597b93ae83e1c04377cf27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "365c3068ce2b2979fc5279d22bd9de079cc28753c6597b93ae83e1c04377cf27", kill_on_drop: false }` [INFO] [stdout] 365c3068ce2b2979fc5279d22bd9de079cc28753c6597b93ae83e1c04377cf27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a6be8cc4c5b94d0bc0cdad8147b5d3e924c42b2764769d7fa6ad9fcbbd91066 [INFO] running `Command { std: "docker" "start" "-a" "5a6be8cc4c5b94d0bc0cdad8147b5d3e924c42b2764769d7fa6ad9fcbbd91066", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/foxglove_ws-611fe7a718cbc59d) [INFO] [stdout] [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] [stderr] Doc-tests foxglove_ws [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 31 | .await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 35 | &build_string_message("Hello!")?, [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 37 | .await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ------------------ expected `Result<(), anyhow::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 32 | / channel [INFO] [stdout] 33 | | .send( [INFO] [stdout] 34 | | SystemTime::now().elapsed().unwrap().as_nanos() as u64, [INFO] [stdout] 35 | | &build_string_message("Hello!")?, [INFO] [stdout] 36 | | ) [INFO] [stdout] 37 | | .await?; [INFO] [stdout] | |________________^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), anyhow::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 37 ~ .await?;; [INFO] [stdout] 38 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5a6be8cc4c5b94d0bc0cdad8147b5d3e924c42b2764769d7fa6ad9fcbbd91066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a6be8cc4c5b94d0bc0cdad8147b5d3e924c42b2764769d7fa6ad9fcbbd91066", kill_on_drop: false }` [INFO] [stdout] 5a6be8cc4c5b94d0bc0cdad8147b5d3e924c42b2764769d7fa6ad9fcbbd91066