[INFO] fetching crate axum-extra 0.10.1... [INFO] checking axum-extra-0.10.1 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate axum-extra 0.10.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate axum-extra 0.10.1 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate axum-extra 0.10.1 [INFO] finished tweaking crates.io crate axum-extra 0.10.1 [INFO] tweaked toml for crates.io crate axum-extra 0.10.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate axum-extra 0.10.1 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" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f77ebe7ad2a9a1897e6d0b16d63b05d027aec787d9abe0799b35f6c39f4ff23f [INFO] running `Command { std: "docker" "start" "-a" "f77ebe7ad2a9a1897e6d0b16d63b05d027aec787d9abe0799b35f6c39f4ff23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f77ebe7ad2a9a1897e6d0b16d63b05d027aec787d9abe0799b35f6c39f4ff23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77ebe7ad2a9a1897e6d0b16d63b05d027aec787d9abe0799b35f6c39f4ff23f", kill_on_drop: false }` [INFO] [stdout] f77ebe7ad2a9a1897e6d0b16d63b05d027aec787d9abe0799b35f6c39f4ff23f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 308a4c3eb659b3c3f5331ae81ec4a592a3d4e987387a56a3653c4dc701c9556f [INFO] running `Command { std: "docker" "start" "-a" "308a4c3eb659b3c3f5331ae81ec4a592a3d4e987387a56a3653c4dc701c9556f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Checking axum-extra v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `axum::extract::Query` [INFO] [stdout] --> src/handler/or.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | extract::{Path, Query}, [INFO] [stdout] | ^^^^^ no `Query` in `extract` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.3/src/extract/mod.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | pub use self::query::Query; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `query` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.3/src/extract/mod.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "query")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum_macros` [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use axum_macros::__private_axum_test as test; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `axum_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_macros`, use `cargo add axum_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum::test_helpers` [INFO] [stdout] --> src/lib.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) use axum::test_helpers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `test_helpers` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.3/src/lib.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | pub mod test_helpers; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.3/src/lib.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | #[cfg(any(test, feature = "__private"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/host.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | .text() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/host.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | .text() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/host.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | .text() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/host.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | let host = client.get("/").await.text().await; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/optional_path.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let res = client.get("/").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 81 | assert_eq!(res.text().await, "Success: 0"); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | let res: /* Type */ = client.get("/").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/optional_path.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let res = client.get("/1").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | assert_eq!(res.text().await, "Success: 1"); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | let res: /* Type */ = client.get("/1").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/optional_path.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let res = client.get("/0").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | assert_eq!( [INFO] [stdout] 88 | res.text().await, [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 86 | let res: /* Type */ = client.get("/0").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/extract/optional_path.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let res = client.get("/NaN").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 93 | assert_eq!( [INFO] [stdout] 94 | res.text().await, [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | let res: /* Type */ = client.get("/NaN").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClient` [INFO] [stdout] --> src/handler/or.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | let client = TestClient::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handler/or.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let res = client.get("/123").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | assert_eq!(res.text().await, "123"); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 141 | let res: /* Type */ = client.get("/123").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handler/or.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let res = client.get("/foo?a=bar").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 145 | assert_eq!(res.text().await, "bar"); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 144 | let res: /* Type */ = client.get("/foo?a=bar").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handler/or.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let res = client.get("/foo").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 148 | assert_eq!(res.text().await, "fallback"); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 147 | let res: /* Type */ = client.get("/foo").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClient` [INFO] [stdout] --> src/routing/mod.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | let client = TestClient::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let res = client.get("/foo").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 429 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 428 | let res: /* Type */ = client.get("/foo").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let res = client.get("/foo/").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 432 | assert_eq!(res.status(), StatusCode::PERMANENT_REDIRECT); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 431 | let res: /* Type */ = client.get("/foo/").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let res = client.get("/bar/").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 436 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 435 | let res: /* Type */ = client.get("/bar/").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let res = client.get("/bar").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 439 | assert_eq!(res.status(), StatusCode::PERMANENT_REDIRECT); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 438 | let res: /* Type */ = client.get("/bar").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClient` [INFO] [stdout] --> src/routing/mod.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | let client = TestClient::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let res = client.get("/a/foo").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 458 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 457 | let res: /* Type */ = client.get("/a/foo").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let res = client.get("/a/foo/").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 462 | assert_eq!(res.status(), StatusCode::PERMANENT_REDIRECT); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 461 | let res: /* Type */ = client.get("/a/foo/").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let res = client.get("/b/foo/").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 466 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 465 | let res: /* Type */ = client.get("/b/foo/").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | let res = client.get("/b/foo").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 470 | assert_eq!(res.status(), StatusCode::PERMANENT_REDIRECT); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 469 | let res: /* Type */ = client.get("/b/foo").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClient` [INFO] [stdout] --> src/routing/mod.rs:478:22 [INFO] [stdout] | [INFO] [stdout] 478 | let client = TestClient::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let res = client.get("/foo/?a=a").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 481 | assert_eq!(res.status(), StatusCode::PERMANENT_REDIRECT); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 480 | let res: /* Type */ = client.get("/foo/?a=a").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClient` [INFO] [stdout] --> src/routing/mod.rs:492:22 [INFO] [stdout] | [INFO] [stdout] 492 | let client = TestClient::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let res = client.get("/neko/nyan/").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 494 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 493 | let res: /* Type */ = client.get("/neko/nyan/").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routing/mod.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let res = client.get("/neko/nyan").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 497 | assert_eq!(res.status(), StatusCode::PERMANENT_REDIRECT); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 496 | let res: /* Type */ = client.get("/neko/nyan").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-extra` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "308a4c3eb659b3c3f5331ae81ec4a592a3d4e987387a56a3653c4dc701c9556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308a4c3eb659b3c3f5331ae81ec4a592a3d4e987387a56a3653c4dc701c9556f", kill_on_drop: false }` [INFO] [stdout] 308a4c3eb659b3c3f5331ae81ec4a592a3d4e987387a56a3653c4dc701c9556f