[INFO] fetching crate poem 3.1.9... [INFO] checking poem-3.1.9 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate poem 3.1.9 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate poem 3.1.9 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate poem 3.1.9 [INFO] finished tweaking crates.io crate poem 3.1.9 [INFO] tweaked toml for crates.io crate poem 3.1.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate poem 3.1.9 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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28a199daf25256d387349508e2273d88394daea685909fac19d968c48b702e00 [INFO] running `Command { std: "docker" "start" "-a" "28a199daf25256d387349508e2273d88394daea685909fac19d968c48b702e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28a199daf25256d387349508e2273d88394daea685909fac19d968c48b702e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a199daf25256d387349508e2273d88394daea685909fac19d968c48b702e00", kill_on_drop: false }` [INFO] [stdout] 28a199daf25256d387349508e2273d88394daea685909fac19d968c48b702e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a53032104656cce820b69ce6f5b7164a92113be2b954ea0b53e0e08cbc89c6c [INFO] running `Command { std: "docker" "start" "-a" "9a53032104656cce820b69ce6f5b7164a92113be2b954ea0b53e0e08cbc89c6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rfc7239 v0.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking wildmatch v2.4.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling poem-derive v3.1.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking poem v3.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/endpoint/endpoint.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/add_data.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::{EndpointExt, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/cors.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | test::{TestClient, TestRequestBuilder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/normalize_path.rs:124:76 [INFO] [stdout] | [INFO] [stdout] 124 | use crate::{EndpointExt, Route, endpoint::make_sync, http::StatusCode, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/propagate_header.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::{EndpointExt, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/sensitive_header.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | test::{TestClient, TestRequestBuilder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/set_header.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::{EndpointExt, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/size_limit.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/mod.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/data.rs:55:60 [INFO] [stdout] | [INFO] [stdout] 55 | use crate::{EndpointExt, handler, middleware::AddData, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/form.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::{handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/json.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | use crate::{handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/query.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | use crate::{handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/typed_header.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/route/router.rs:390:54 [INFO] [stdout] | [INFO] [stdout] 390 | use crate::{Error, endpoint::make_sync, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/route/router_domain.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | use crate::{endpoint::make_sync, handler, http::HeaderMap, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/route/router_method.rs:283:44 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::{handler, http::StatusCode, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_method.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | ... let mut resp = self.call(req).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 186 | ... resp.set_body(()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 185 | let mut resp: /* Type */ = self.call(req).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `impl Future::Output, Error>> + Send normalizes-to _` [INFO] [stdout] --> src/route/router_method.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | ... let mut resp = self.call(req).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ types differ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_domain.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let resp = req.send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let resp: /* Type */ = req.send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_method.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | ... let mut resp = self.call(req).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 186 | ... resp.set_body(()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 185 | let mut resp: /* Type */ = self.call(req).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `impl Future::Output, Error>> + Send normalizes-to _` [INFO] [stdout] --> src/route/router_method.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | ... let mut resp = self.call(req).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ types differ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/endpoint/endpoint.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | let resp = cli.get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 974 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 973 | let resp: /* Type */ = cli.get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/endpoint/endpoint.rs:978:13 [INFO] [stdout] | [INFO] [stdout] 978 | let resp = cli.get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 979 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 978 | let resp: /* Type */ = cli.get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/add_data.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | cli.get("/").send().await.assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | let resp = opt_request(&cli).send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 461 | [INFO] [stdout] 462 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 460 | let resp: /* Type */ = opt_request(&cli).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 479 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 498 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 513 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 532 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 546 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 541 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | resp.assert_status(StatusCode::FORBIDDEN); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 556 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | resp.assert_status(StatusCode::FORBIDDEN); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 569 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 576 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 588 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let resp = get_request(&cli).send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 604 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 603 | let resp: /* Type */ = get_request(&cli).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:613:13 [INFO] [stdout] | [INFO] [stdout] 613 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | resp.assert_status(StatusCode::FORBIDDEN); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 613 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:632:14 [INFO] [stdout] | [INFO] [stdout] 632 | .assert_status(StatusCode::FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:640:14 [INFO] [stdout] | [INFO] [stdout] 640 | .assert_status(StatusCode::FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poem` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 648 | .assert_status(StatusCode::FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:656:14 [INFO] [stdout] | [INFO] [stdout] 656 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | let resp = get_request(&cli).send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 688 | resp.assert_status(StatusCode::BAD_REQUEST); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 687 | let resp: /* Type */ = get_request(&cli).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | let resp = cli.get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 702 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 701 | let resp: /* Type */ = cli.get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 715 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/propagate_header.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let resp = cli.get("/").header("x-request-id", "100").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 80 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let resp: /* Type */ = cli.get("/").header("x-request-id", "100").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/set_header.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let resp = cli.get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | [INFO] [stdout] 153 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 151 | let resp: /* Type */ = cli.get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/size_limit.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | .assert_status(StatusCode::LENGTH_REQUIRED); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/size_limit.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | .assert_status(StatusCode::PAYLOAD_TOO_LARGE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/size_limit.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/size_limit.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/mod.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let resp = cli.get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 438 | resp.assert_header("hello", "world"); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 437 | let resp: /* Type */ = cli.get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/mod.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let resp = cli.get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 457 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 456 | let resp: /* Type */ = cli.get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/data.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/data.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | .assert_status(StatusCode::INTERNAL_SERVER_ERROR); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/data.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/form.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/form.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/form.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .assert_status(StatusCode::UNSUPPORTED_MEDIA_TYPE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/json.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/json.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | .assert_status(StatusCode::UNSUPPORTED_MEDIA_TYPE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/json.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let resp = cli.get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 227 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 226 | let resp: /* Type */ = cli.get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/query.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/typed_header.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let resp = cli [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | let resp: /* Type */ = cli [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:593:39 [INFO] [stdout] | [INFO] [stdout] 593 | cli.get("/a/10").send().await.assert_text("/a/:id").await; [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:597:14 [INFO] [stdout] | [INFO] [stdout] 597 | .assert_text("/nest/c/:id") [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:602:14 [INFO] [stdout] | [INFO] [stdout] 602 | .assert_text("/nest_no_strip/d/:id") [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | .assert_text("/nest1/nest2/:id") [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:612:14 [INFO] [stdout] | [INFO] [stdout] 612 | .assert_text("/nest_no_strip1/nest_no_strip2/:id") [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:696:39 [INFO] [stdout] | [INFO] [stdout] 696 | cli.get("/a/10").send().await.assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:698:44 [INFO] [stdout] | [INFO] [stdout] 698 | cli.get("/nest/c/10").send().await.assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:703:14 [INFO] [stdout] | [INFO] [stdout] 703 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:708:14 [INFO] [stdout] | [INFO] [stdout] 708 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:713:14 [INFO] [stdout] | [INFO] [stdout] 713 | .assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:758:14 [INFO] [stdout] | [INFO] [stdout] 758 | .assert_status(StatusCode::SERVICE_UNAVAILABLE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:763:14 [INFO] [stdout] | [INFO] [stdout] 763 | .assert_status(StatusCode::SERVICE_UNAVAILABLE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:768:14 [INFO] [stdout] | [INFO] [stdout] 768 | .assert_status(StatusCode::SERVICE_UNAVAILABLE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:773:14 [INFO] [stdout] | [INFO] [stdout] 773 | .assert_status(StatusCode::SERVICE_UNAVAILABLE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:778:14 [INFO] [stdout] | [INFO] [stdout] 778 | .assert_status(StatusCode::SERVICE_UNAVAILABLE); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_domain.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | .assert_status(StatusCode::NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_domain.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | .assert_status(StatusCode::NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_method.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let resp = TestClient::new(RouteMethod::new()).get("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 288 | resp.assert_status(StatusCode::METHOD_NOT_ALLOWED); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 287 | let resp: /* Type */ = TestClient::new(RouteMethod::new()).get("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_method.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | let resp = TestClient::new(route) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 310 | let resp: /* Type */ = TestClient::new(route) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_method.rs:323:22 [INFO] [stdout] | [INFO] [stdout] 323 | resp.assert_status_is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | / test_method!( [INFO] [stdout] 330 | | (get, GET), [INFO] [stdout] 331 | | (post, POST), [INFO] [stdout] 332 | | (delete, DELETE), [INFO] [stdout] ... | [INFO] [stdout] 338 | | (trace, TRACE) [INFO] [stdout] 339 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_method.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | let resp = TestClient::new(route).head("/").send().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 351 | resp.assert_status_is_ok(); [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 350 | let resp: /* Type */ = TestClient::new(route).head("/").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poem` (lib test) due to 82 previous errors [INFO] running `Command { std: "docker" "inspect" "9a53032104656cce820b69ce6f5b7164a92113be2b954ea0b53e0e08cbc89c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a53032104656cce820b69ce6f5b7164a92113be2b954ea0b53e0e08cbc89c6c", kill_on_drop: false }` [INFO] [stdout] 9a53032104656cce820b69ce6f5b7164a92113be2b954ea0b53e0e08cbc89c6c