[INFO] fetching crate axum-ycrdt-websocket 0.1.0... [INFO] testing axum-ycrdt-websocket-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate axum-ycrdt-websocket 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate axum-ycrdt-websocket 0.1.0 [INFO] finished tweaking crates.io crate axum-ycrdt-websocket 0.1.0 [INFO] tweaked toml for crates.io crate axum-ycrdt-websocket 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-ycrdt-websocket 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate axum-ycrdt-websocket 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallstr v0.3.0 [INFO] [stderr] Downloaded yrs v0.18.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1945d57cc47a28b17a065f4228b862bf5ccfe503f16bf0574c68f85e548091b [INFO] running `Command { std: "docker" "start" "-a" "c1945d57cc47a28b17a065f4228b862bf5ccfe503f16bf0574c68f85e548091b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1945d57cc47a28b17a065f4228b862bf5ccfe503f16bf0574c68f85e548091b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1945d57cc47a28b17a065f4228b862bf5ccfe503f16bf0574c68f85e548091b", kill_on_drop: false }` [INFO] [stdout] c1945d57cc47a28b17a065f4228b862bf5ccfe503f16bf0574c68f85e548091b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af0415929c63c873da081f615a801d7a9ab662a084fdc4fe53bd9169683fb948 [INFO] running `Command { std: "docker" "start" "-a" "af0415929c63c873da081f615a801d7a9ab662a084fdc4fe53bd9169683fb948", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling yrs v0.18.8 [INFO] [stderr] Compiling axum-ycrdt-websocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.33s [INFO] running `Command { std: "docker" "inspect" "af0415929c63c873da081f615a801d7a9ab662a084fdc4fe53bd9169683fb948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0415929c63c873da081f615a801d7a9ab662a084fdc4fe53bd9169683fb948", kill_on_drop: false }` [INFO] [stdout] af0415929c63c873da081f615a801d7a9ab662a084fdc4fe53bd9169683fb948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 215e3ddeed66ebbef6887fe9ba0be989f89e9edc479cbccae08af5367a4bebee [INFO] running `Command { std: "docker" "start" "-a" "215e3ddeed66ebbef6887fe9ba0be989f89e9edc479cbccae08af5367a4bebee", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling axum-ycrdt-websocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.17s [INFO] running `Command { std: "docker" "inspect" "215e3ddeed66ebbef6887fe9ba0be989f89e9edc479cbccae08af5367a4bebee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215e3ddeed66ebbef6887fe9ba0be989f89e9edc479cbccae08af5367a4bebee", kill_on_drop: false }` [INFO] [stdout] 215e3ddeed66ebbef6887fe9ba0be989f89e9edc479cbccae08af5367a4bebee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98be7f18bb5a681c160aa5fe2d5ea9e3c0d0dca5b9c1aaa43c9de5ccc6270c1a [INFO] running `Command { std: "docker" "start" "-a" "98be7f18bb5a681c160aa5fe2d5ea9e3c0d0dca5b9c1aaa43c9de5ccc6270c1a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_ycrdt_websocket-231a4a1441d9700c) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test broadcast::test::broadcast_changes ... ok [INFO] [stdout] test conn::test::change_introduced_by_server_reaches_subscribed_clients ... ok [INFO] [stdout] test conn::test::changes_from_one_client_reach_others ... ok [INFO] [stdout] test conn::test::subscribed_client_fetches_initial_state ... ok [INFO] [stdout] test ws::test::change_introduced_by_server_reaches_subscribed_clients ... ok [INFO] [stdout] test ws::test::subscribed_client_fetches_initial_state ... ok [INFO] [stdout] test ws::test::changes_from_one_client_reach_others ... ok [INFO] [stdout] test conn::test::client_failure_doesnt_affect_others ... ok [INFO] [stderr] Doc-tests axum_ycrdt_websocket [INFO] [stdout] test ws::test::client_failure_doesnt_affect_others ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/ws.rs - ws::AxumSink (line 44) ... FAILED [INFO] [stdout] test src/ws.rs - ws::AxumStream (line 146) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ws.rs - ws::AxumSink (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use Axum::ws::{WebSocket, Ws}; [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] --> src/ws.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use yrs_Axum::broadcast::BroadcastGroup; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `yrs_Axum`, use `cargo add yrs_Axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] --> src/ws.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use yrs_Axum::ws::{AxumSink, AxumStream}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `yrs_Axum`, use `cargo add yrs_Axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Axum` [INFO] [stdout] --> src/ws.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use Axum::{Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | let ws = Axum::path("my-room") [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | .and(Axum::ws()) [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | .and(Axum::any().map(move || bcast.clone())) [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Axum::serve(ws).run(addr).await; [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ws.rs - ws::AxumStream (line 146) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | use Axum::ws::{WebSocket, Ws}; [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] --> src/ws.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | use yrs_Axum::broadcast::BroadcastGroup; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `yrs_Axum`, use `cargo add yrs_Axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] --> src/ws.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | use yrs_Axum::ws::{AxumSink, AxumStream}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `yrs_Axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `yrs_Axum`, use `cargo add yrs_Axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Axum` [INFO] [stdout] --> src/ws.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | use Axum::{Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | let ws = Axum::path("my-room") [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | .and(Axum::ws()) [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .and(Axum::any().map(move || bcast.clone())) [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Axum` [INFO] [stdout] --> src/ws.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | Axum::serve(ws).run(addr).await; [INFO] [stdout] | ^^^^ use of undeclared type `Axum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ws.rs - ws::AxumSink (line 44) [INFO] [stdout] src/ws.rs - ws::AxumStream (line 146) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "98be7f18bb5a681c160aa5fe2d5ea9e3c0d0dca5b9c1aaa43c9de5ccc6270c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98be7f18bb5a681c160aa5fe2d5ea9e3c0d0dca5b9c1aaa43c9de5ccc6270c1a", kill_on_drop: false }` [INFO] [stdout] 98be7f18bb5a681c160aa5fe2d5ea9e3c0d0dca5b9c1aaa43c9de5ccc6270c1a