[INFO] cloning repository https://github.com/nanlong/axum-ws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nanlong/axum-ws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanlong%2Faxum-ws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanlong%2Faxum-ws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed312cd6bffdf75c5e8bbc41928ddafdb8737ebf [INFO] testing nanlong/axum-ws against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanlong%2Faxum-ws" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nanlong/axum-ws on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nanlong/axum-ws [INFO] finished tweaking git repo https://github.com/nanlong/axum-ws [INFO] tweaked toml for git repo https://github.com/nanlong/axum-ws written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nanlong/axum-ws 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52febeb310a03190e50276d16bc619c34f15127511a540b096de5f0fd00a28e6 [INFO] running `Command { std: "docker" "start" "-a" "52febeb310a03190e50276d16bc619c34f15127511a540b096de5f0fd00a28e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52febeb310a03190e50276d16bc619c34f15127511a540b096de5f0fd00a28e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52febeb310a03190e50276d16bc619c34f15127511a540b096de5f0fd00a28e6", kill_on_drop: false }` [INFO] [stdout] 52febeb310a03190e50276d16bc619c34f15127511a540b096de5f0fd00a28e6 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eb78e61d66736ad28f4a1b8f0bd050363b5a7a33ef17f8a8d0609b54af72f81 [INFO] running `Command { std: "docker" "start" "-a" "9eb78e61d66736ad28f4a1b8f0bd050363b5a7a33ef17f8a8d0609b54af72f81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling dashmap v6.0.1 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [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 pin-project v1.1.5 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [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 hyper-util v0.1.6 [INFO] [stderr] Compiling axum-ws v0.1.0 (/opt/rustwide/workdir/axum-ws) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.16s [INFO] running `Command { std: "docker" "inspect" "9eb78e61d66736ad28f4a1b8f0bd050363b5a7a33ef17f8a8d0609b54af72f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb78e61d66736ad28f4a1b8f0bd050363b5a7a33ef17f8a8d0609b54af72f81", kill_on_drop: false }` [INFO] [stdout] 9eb78e61d66736ad28f4a1b8f0bd050363b5a7a33ef17f8a8d0609b54af72f81 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e4a292cce17ec36e52070b9d2e1f0786a6ad620cc9cda2dbce2745741c47531 [INFO] running `Command { std: "docker" "start" "-a" "3e4a292cce17ec36e52070b9d2e1f0786a6ad620cc9cda2dbce2745741c47531", kill_on_drop: false }` [INFO] [stderr] Compiling axum-ws v0.1.0 (/opt/rustwide/workdir/axum-ws) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "3e4a292cce17ec36e52070b9d2e1f0786a6ad620cc9cda2dbce2745741c47531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4a292cce17ec36e52070b9d2e1f0786a6ad620cc9cda2dbce2745741c47531", kill_on_drop: false }` [INFO] [stdout] 3e4a292cce17ec36e52070b9d2e1f0786a6ad620cc9cda2dbce2745741c47531 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75bec4e3c485be8686f6dd92cc033d5f7b1a58390eddc715a2f377eccd32f24f [INFO] running `Command { std: "docker" "start" "-a" "75bec4e3c485be8686f6dd92cc033d5f7b1a58390eddc715a2f377eccd32f24f", 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/axum_ws-dd0d44715b7e345d) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test assigns::test_assigns ... ok [INFO] [stdout] test handler::response::tests::test_into_response ... ok [INFO] [stdout] test message::tests::message_close_should_work ... ok [INFO] [stdout] test channel::tests::channel_callback_should_work ... ok [INFO] [stdout] test message::tests::message_err_should_work ... ok [INFO] [stdout] test message::tests::message_heartbeat_should_work ... ok [INFO] [stdout] test message::tests::message_ok_should_work ... ok [INFO] [stdout] test handler::tests::connect_wrapper_should_work ... ok [INFO] [stdout] test user_id::user_id_should_work ... ok [INFO] [stdout] test websocket::tests::websocket_callback_should_work ... ok [INFO] [stdout] test websocket_state::tests::websocket_state_with_path_should_work ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests axum_ws [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test axum-ws/src/assigns.rs - assigns::Assigns::insert (line 19) ... FAILED [INFO] [stdout] test axum-ws/src/assigns.rs - assigns::Assigns::get (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- axum-ws/src/assigns.rs - assigns::Assigns::insert (line 19) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axum_ws::Assigns` [INFO] [stdout] --> axum-ws/src/assigns.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_ws::Assigns; [INFO] [stdout] | ^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `assigns` [INFO] [stdout] | no `Assigns` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- axum-ws/src/assigns.rs - assigns::Assigns::get (line 38) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axum_ws::Assigns` [INFO] [stdout] --> axum-ws/src/assigns.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_ws::Assigns; [INFO] [stdout] | ^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `assigns` [INFO] [stdout] | no `Assigns` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] axum-ws/src/assigns.rs - assigns::Assigns::get (line 38) [INFO] [stdout] axum-ws/src/assigns.rs - assigns::Assigns::insert (line 19) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "75bec4e3c485be8686f6dd92cc033d5f7b1a58390eddc715a2f377eccd32f24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75bec4e3c485be8686f6dd92cc033d5f7b1a58390eddc715a2f377eccd32f24f", kill_on_drop: false }` [INFO] [stdout] 75bec4e3c485be8686f6dd92cc033d5f7b1a58390eddc715a2f377eccd32f24f