[INFO] fetching crate poem 3.1.12... [INFO] building poem-3.1.12 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate poem 3.1.12 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate poem 3.1.12 [INFO] finished tweaking crates.io crate poem 3.1.12 [INFO] tweaked toml for crates.io crate poem 3.1.12 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poem 3.1.12 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate poem 3.1.12 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-langid-macros-impl v0.9.6 [INFO] [stderr] Downloaded sonic-simd v0.1.1 [INFO] [stderr] Downloaded unic-langid v0.9.6 [INFO] [stderr] Downloaded unic-langid-macros v0.9.6 [INFO] [stderr] Downloaded intl-memoizer v0.5.3 [INFO] [stderr] Downloaded unic-langid-impl v0.9.6 [INFO] [stderr] Downloaded rustls v0.23.30 [INFO] [stderr] Downloaded munge v0.4.5 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded fluent-langneg v0.13.0 [INFO] [stderr] Downloaded priority-queue v2.5.0 [INFO] [stderr] Downloaded sonic-number v0.1.0 [INFO] [stderr] Downloaded self_cell v0.10.3 [INFO] [stderr] Downloaded munge_macro v0.4.5 [INFO] [stderr] Downloaded headers v0.4.1 [INFO] [stderr] Downloaded generic-array v1.2.0 [INFO] [stderr] Downloaded csrf v0.5.0 [INFO] [stderr] Downloaded opentelemetry-prometheus v0.29.1 [INFO] [stderr] Downloaded async-compression v0.4.27 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.30.0 [INFO] [stderr] Downloaded opentelemetry v0.29.1 [INFO] [stderr] Downloaded rkyv v0.8.10 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded sonic-rs v0.5.3 [INFO] [stderr] Downloaded rcgen v0.12.1 [INFO] [stderr] Downloaded faststr v0.2.31 [INFO] [stderr] Downloaded type-map v0.5.1 [INFO] [stderr] Downloaded redox_syscall v0.5.16 [INFO] [stderr] Downloaded intl_pluralrules v7.0.2 [INFO] [stderr] Downloaded fluent-bundle v0.15.3 [INFO] [stderr] Downloaded opentelemetry v0.30.0 [INFO] [stderr] Downloaded fluent v0.16.1 [INFO] [stderr] Downloaded fluent-syntax v0.11.1 [INFO] [stderr] Downloaded poem-derive v3.1.12 [INFO] [stderr] Downloaded rust-embed-impl v8.7.2 [INFO] [stderr] Downloaded rkyv_derive v0.8.10 [INFO] [stderr] Downloaded rust-embed-utils v8.7.2 [INFO] [stderr] Downloaded tokio v1.47.0 [INFO] [stderr] Downloaded tokio-metrics v0.4.3 [INFO] [stderr] Downloaded opentelemetry-http v0.30.0 [INFO] [stderr] Downloaded redis v0.32.4 [INFO] [stderr] Downloaded rust-embed v8.7.2 [INFO] [stderr] Downloaded sse-codec v0.3.2 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899cad46c18520435b30df7103721e649edfc5cf448377d0a2e4e72963ded0e9 [INFO] running `Command { std: "docker" "start" "-a" "899cad46c18520435b30df7103721e649edfc5cf448377d0a2e4e72963ded0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899cad46c18520435b30df7103721e649edfc5cf448377d0a2e4e72963ded0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899cad46c18520435b30df7103721e649edfc5cf448377d0a2e4e72963ded0e9", kill_on_drop: false }` [INFO] [stdout] 899cad46c18520435b30df7103721e649edfc5cf448377d0a2e4e72963ded0e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55d5f0c445e270a6a615ab76aa3bfd077781303d2df9d77037c84825146157d1 [INFO] running `Command { std: "docker" "start" "-a" "55d5f0c445e270a6a615ab76aa3bfd077781303d2df9d77037c84825146157d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling rfc7239 v0.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [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 tokio v1.47.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling poem-derive v3.1.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling poem v3.1.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.51s [INFO] running `Command { std: "docker" "inspect" "55d5f0c445e270a6a615ab76aa3bfd077781303d2df9d77037c84825146157d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d5f0c445e270a6a615ab76aa3bfd077781303d2df9d77037c84825146157d1", kill_on_drop: false }` [INFO] [stdout] 55d5f0c445e270a6a615ab76aa3bfd077781303d2df9d77037c84825146157d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07ea834901c6b2f468ec1186237c2fd4ac8eb4bb5dc565e2eca881970765b12c [INFO] running `Command { std: "docker" "start" "-a" "07ea834901c6b2f468ec1186237c2fd4ac8eb4bb5dc565e2eca881970765b12c", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling poem v3.1.12 (/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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod 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] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 282 | #[cfg_attr(docsrs, doc(cfg(feature = "test")))] [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [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/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] 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] [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: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poem` (lib test) due to 80 previous errors [INFO] running `Command { std: "docker" "inspect" "07ea834901c6b2f468ec1186237c2fd4ac8eb4bb5dc565e2eca881970765b12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ea834901c6b2f468ec1186237c2fd4ac8eb4bb5dc565e2eca881970765b12c", kill_on_drop: false }` [INFO] [stdout] 07ea834901c6b2f468ec1186237c2fd4ac8eb4bb5dc565e2eca881970765b12c