[INFO] fetching crate axum-cometd 0.9.4... [INFO] testing axum-cometd-0.9.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate axum-cometd 0.9.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate axum-cometd 0.9.4 [INFO] finished tweaking crates.io crate axum-cometd 0.9.4 [INFO] tweaked toml for crates.io crate axum-cometd 0.9.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-cometd 0.9.4 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding async-broadcast v0.5.1 (available: v0.7.2) [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.6) [INFO] [stderr] Adding axum-extra v0.7.7 (available: v0.12.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding regex v1.8.4 (available: v1.12.2) [INFO] [stderr] Adding serde_with v3.0.0 (available: v3.15.1) [INFO] [stderr] Adding serde_with_macros v3.0.0 (available: v3.15.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [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] [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] eb4e18c25762e61940ea1200963176554f364d981d34b07f42ec4af99bd9dc21 [INFO] running `Command { std: "docker" "start" "-a" "eb4e18c25762e61940ea1200963176554f364d981d34b07f42ec4af99bd9dc21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb4e18c25762e61940ea1200963176554f364d981d34b07f42ec4af99bd9dc21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4e18c25762e61940ea1200963176554f364d981d34b07f42ec4af99bd9dc21", kill_on_drop: false }` [INFO] [stdout] eb4e18c25762e61940ea1200963176554f364d981d34b07f42ec4af99bd9dc21 [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] 8d0703aaa3a39739a26b0ed90e883d8f00c7b907c67e4cbefde3fa5fb5e74fdd [INFO] running `Command { std: "docker" "start" "-a" "8d0703aaa3a39739a26b0ed90e883d8f00c7b907c67e4cbefde3fa5fb5e74fdd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_with v3.0.0 [INFO] [stderr] Compiling axum-extra v0.7.7 [INFO] [stderr] Compiling axum-cometd v0.9.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.14s [INFO] running `Command { std: "docker" "inspect" "8d0703aaa3a39739a26b0ed90e883d8f00c7b907c67e4cbefde3fa5fb5e74fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0703aaa3a39739a26b0ed90e883d8f00c7b907c67e4cbefde3fa5fb5e74fdd", kill_on_drop: false }` [INFO] [stdout] 8d0703aaa3a39739a26b0ed90e883d8f00c7b907c67e4cbefde3fa5fb5e74fdd [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] 2c7cb415b4cd990cbe0a03d49db839bd3830bb324e130ef1d34c3c695f368922 [INFO] running `Command { std: "docker" "start" "-a" "2c7cb415b4cd990cbe0a03d49db839bd3830bb324e130ef1d34c3c695f368922", kill_on_drop: false }` [INFO] [stderr] Compiling axum-cometd v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_disconnect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_common::{ClientMock, ResponseExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_wildcards.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test_common::ClientMock; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_router.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_common::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_wildcards.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | mock_client.subscribe(&["/*"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_connect.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_common::{ClientMock, ResponseExt as _, TEST_CLIENT_ID}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_disconnect.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 24 | | .send_request( [INFO] [stdout] 25 | | mock_client.disconnect_endpoint(), [INFO] [stdout] 26 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 31 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_disconnect.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | .send_request( [INFO] [stdout] 47 | | mock_client.disconnect_endpoint(), [INFO] [stdout] 48 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_subscribe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_common::{ClientMock, ResponseExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_handshake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_common::{ClientMock, ResponseExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_client_timeout.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_common::ClientMock; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let response = mock_client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(response.status(), StatusCode::BAD_REQUEST); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let response: /* Type */ = mock_client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_disconnect.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | .send_request( [INFO] [stdout] 72 | | mock_client.disconnect_endpoint(), [INFO] [stdout] 73 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 78 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 41 | | .send_request( [INFO] [stdout] 42 | | mock_client.connect_endpoint(), [INFO] [stdout] 43 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 47 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_subscribe.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 24 | | .send_request( [INFO] [stdout] 25 | | mock_client.subscribe_endpoint(), [INFO] [stdout] 26 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 31 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_client_timeout.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let json_body = mock_client.subscribe(&["/topic"]).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_subscribe.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | .send_request( [INFO] [stdout] 47 | | mock_client.handshake_endpoint(), [INFO] [stdout] 48 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_handshake.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 24 | | .send_request( [INFO] [stdout] 25 | | mock_client.handshake_endpoint(), [INFO] [stdout] 26 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 31 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 70 | | .send_request( [INFO] [stdout] 71 | | mock_client.connect_endpoint(), [INFO] [stdout] 72 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 77 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | mock_client.subscribe(&["/FOO_BAR"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 103 | | .send_request( [INFO] [stdout] 104 | | mock_client.connect_endpoint(), [INFO] [stdout] 105 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 112 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_handshake.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | .send_request( [INFO] [stdout] 47 | | mock_client.handshake_endpoint(), [INFO] [stdout] 48 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | mock_client.subscribe(&["/FOO_BAR"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-cometd` (test "test_handshake") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `((), _)` [INFO] [stdout] --> tests/test_connect.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let ((), response) = join!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | assert_eq!(response.status(), StatusCode::INTERNAL_SERVER_ERROR); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 138 | let ((), response): (_, _) = join!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_subscribe.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 72 | | .send_request( [INFO] [stdout] 73 | | mock_client.subscribe_endpoint(), [INFO] [stdout] 74 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 80 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-cometd` (test "test_disconnect") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_subscribe.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 94 | | .send_request( [INFO] [stdout] 95 | | mock_client.subscribe_endpoint(), [INFO] [stdout] 96 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 103 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | mock_client.subscribe(&["/FOO_BAR"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | let response = mock_client [INFO] [stdout] | ________________________^ [INFO] [stdout] 169 | | .send_request( [INFO] [stdout] 170 | | mock_client.connect_endpoint(), [INFO] [stdout] 171 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | let ((id0, resp0), (id1, resp1)) = join!(connect(), connect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_connect.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | let ((id0, resp0), (id1, resp1)) = join!(connect(), connect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_wildcards.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | mock_client.subscribe(&["/**"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-cometd` (test "test_client_timeout") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-cometd` (test "test_connect") due to 12 previous errors [INFO] [stderr] error: could not compile `axum-cometd` (test "test_subscribe") due to 5 previous errors [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> tests/test_publish.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use test_common::{ClientMock, ResponseExt as _, TEST_CLIENT_ID}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> src/utils/test/test_get_wildnames.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_common::TEST_WILDNAMES; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> src/utils/test/test_send_channel_name_validation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_common::TEST_SEND_CHANNEL_NAMES; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> src/utils/test/test_subscribe_channel_name_validation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_common::TEST_SUBSCRIBE_CHANNEL_NAMES; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_common` [INFO] [stdout] --> src/utils/wildnames.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use test_common::TEST_WILDNAMES; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_common`, use `cargo add test_common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_publish.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let response = mock_client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | assert_eq!(response.status(), StatusCode::BAD_REQUEST) [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 35 | let response: /* Type */ = mock_client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_wildcards.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | mock_client.subscribe(&["/topic/*"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_router.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / mock_client [INFO] [stdout] 37 | | .subscribe(&["/SUPER_IMPORTANT_CHANNEL"]) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_publish.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | .send_request( [INFO] [stdout] 54 | | mock_client.connect_endpoint(), [INFO] [stdout] 55 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 60 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_wildcards.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | mock_client.subscribe(&["/topic/**"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_publish.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 80 | | .send_request( [INFO] [stdout] 81 | | mock_client.connect_endpoint(), [INFO] [stdout] 82 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 87 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_publish.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | let response = mock_client [INFO] [stdout] | ____________________^ [INFO] [stdout] 107 | | .send_request( [INFO] [stdout] 108 | | mock_client.connect_endpoint(), [INFO] [stdout] 109 | | json!([{ [INFO] [stdout] ... | [INFO] [stdout] 115 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_publish.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | mock_client.subscribe(&["/*"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-cometd` (test "test_router") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_publish.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | mock_client.subscribe(&["/*"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-cometd` (test "test_publish") due to 7 previous errors [INFO] [stderr] error: could not compile `axum-cometd` (test "test_wildcards") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/utils/wildnames.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | if !name.ends_with("/*") && !name.ends_with("/**") { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/utils/wildnames.rs:41:55 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(count_wildnames(name), result.len(), "{name}"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-cometd` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "2c7cb415b4cd990cbe0a03d49db839bd3830bb324e130ef1d34c3c695f368922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7cb415b4cd990cbe0a03d49db839bd3830bb324e130ef1d34c3c695f368922", kill_on_drop: false }` [INFO] [stdout] 2c7cb415b4cd990cbe0a03d49db839bd3830bb324e130ef1d34c3c695f368922