[INFO] fetching crate poem 3.1.12... [INFO] testing poem-3.1.12 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate poem 3.1.12 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poem 3.1.12 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wildmatch v2.4.0 [INFO] [stderr] Downloaded asn1-rs-impl v0.2.0 [INFO] [stderr] Downloaded asn1-rs-derive v0.6.0 [INFO] [stderr] Downloaded oid-registry v0.8.1 [INFO] [stderr] Downloaded indenter v0.3.3 [INFO] [stderr] Downloaded ptr_meta v0.3.0 [INFO] [stderr] Downloaded munge v0.4.5 [INFO] [stderr] Downloaded csrf v0.5.0 [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded generic-array v1.2.0 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded fluent v0.16.1 [INFO] [stderr] Downloaded backon v1.5.1 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.30.0 [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded self_cell v0.10.3 [INFO] [stderr] Downloaded prometheus v0.14.0 [INFO] [stderr] Downloaded pin-project v0.4.30 [INFO] [stderr] Downloaded quick-xml v0.36.2 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded headers v0.4.1 [INFO] [stderr] Downloaded quinn v0.11.8 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded zerovec v0.11.2 [INFO] [stderr] Downloaded sonic-rs v0.5.3 [INFO] [stderr] Downloaded faststr v0.2.31 [INFO] [stderr] Downloaded tungstenite v0.27.0 [INFO] [stderr] Downloaded opentelemetry v0.30.0 [INFO] [stderr] Downloaded webpki-roots v1.0.2 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.27.0 [INFO] [stderr] Downloaded async-compression v0.4.27 [INFO] [stderr] Downloaded opentelemetry_sdk v0.29.0 [INFO] [stderr] Downloaded redis v0.32.4 [INFO] [stderr] Downloaded rustls-native-certs v0.8.1 [INFO] [stderr] Downloaded iri-string v0.7.8 [INFO] [stderr] Downloaded reqwest v0.12.22 [INFO] [stderr] Downloaded rkyv v0.8.10 [INFO] [stderr] Downloaded sonic-number v0.1.0 [INFO] [stderr] Downloaded schannel v0.1.27 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded core-foundation v0.10.1 [INFO] [stderr] Downloaded rancor v0.1.0 [INFO] [stderr] Downloaded rend v0.5.2 [INFO] [stderr] Downloaded sonic-simd v0.1.1 [INFO] [stderr] Downloaded brotli v8.0.1 [INFO] [stderr] Downloaded futures_codec v0.4.1 [INFO] [stderr] Downloaded tokio-metrics v0.4.3 [INFO] [stderr] Downloaded security-framework-sys v2.14.0 [INFO] [stderr] Downloaded libloading v0.8.8 [INFO] [stderr] Downloaded dunce v1.0.5 [INFO] [stderr] Downloaded fluent-syntax v0.11.1 [INFO] [stderr] Downloaded opentelemetry v0.29.1 [INFO] [stderr] Downloaded opentelemetry-prometheus v0.29.1 [INFO] [stderr] Downloaded proc-macro-crate v3.3.0 [INFO] [stderr] Downloaded priority-queue v2.5.0 [INFO] [stderr] Downloaded rfc7239 v0.1.3 [INFO] [stderr] Downloaded rkyv_derive v0.8.10 [INFO] [stderr] Downloaded home v0.5.11 [INFO] [stderr] Downloaded tokio v1.47.0 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded eyre v0.6.12 [INFO] [stderr] Downloaded fluent-langneg v0.13.0 [INFO] [stderr] Downloaded multer v3.1.0 [INFO] [stderr] Downloaded rcgen v0.12.1 [INFO] [stderr] Downloaded web-sys v0.3.77 [INFO] [stderr] Downloaded rust-embed v8.7.2 [INFO] [stderr] Downloaded slab v0.4.10 [INFO] [stderr] Downloaded redox_syscall v0.5.16 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.50 [INFO] [stderr] Downloaded rustls v0.23.30 [INFO] [stderr] Downloaded quinn-proto v0.11.12 [INFO] [stderr] Downloaded cc v1.2.30 [INFO] [stderr] Downloaded num-bigint v0.4.6 [INFO] [stderr] Downloaded der-parser v10.0.0 [INFO] [stderr] Downloaded asn1-rs v0.7.1 [INFO] [stderr] Downloaded x509-parser v0.17.0 [INFO] [stderr] Downloaded fluent-bundle v0.15.3 [INFO] [stderr] Downloaded security-framework v3.2.0 [INFO] [stderr] Downloaded bytes v0.5.6 [INFO] [stderr] Downloaded tokio-rustls v0.26.2 [INFO] [stderr] Downloaded opentelemetry-http v0.30.0 [INFO] [stderr] Downloaded quinn-udp v0.5.13 [INFO] [stderr] Downloaded simdutf8 v0.1.5 [INFO] [stderr] Downloaded pin-project-internal v0.4.30 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded munge_macro v0.4.5 [INFO] [stderr] Downloaded sse-codec v0.3.2 [INFO] [stderr] Downloaded web-time v1.1.0 [INFO] [stderr] Downloaded uuid v1.17.0 [INFO] [stderr] Downloaded poem-derive v3.1.12 [INFO] [stderr] Downloaded rust-embed-impl v8.7.2 [INFO] [stderr] Downloaded rust-embed-utils v8.7.2 [INFO] [stderr] Downloaded rustversion v1.0.21 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b9acd518ac47fac102d778aabd05dfee8c8dfab0da6b473a06c20e1740d3dfc [INFO] running `Command { std: "docker" "start" "-a" "6b9acd518ac47fac102d778aabd05dfee8c8dfab0da6b473a06c20e1740d3dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b9acd518ac47fac102d778aabd05dfee8c8dfab0da6b473a06c20e1740d3dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9acd518ac47fac102d778aabd05dfee8c8dfab0da6b473a06c20e1740d3dfc", kill_on_drop: false }` [INFO] [stdout] 6b9acd518ac47fac102d778aabd05dfee8c8dfab0da6b473a06c20e1740d3dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71ba9b13104614c509f0129ddd30ff10d32f3d99d71424178c64f52f5c7b02f0 [INFO] running `Command { std: "docker" "start" "-a" "71ba9b13104614c509f0129ddd30ff10d32f3d99d71424178c64f52f5c7b02f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rfc7239 v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 regex v1.11.1 [INFO] [stderr] Compiling poem-derive v3.1.12 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [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 34.53s [INFO] running `Command { std: "docker" "inspect" "71ba9b13104614c509f0129ddd30ff10d32f3d99d71424178c64f52f5c7b02f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ba9b13104614c509f0129ddd30ff10d32f3d99d71424178c64f52f5c7b02f0", kill_on_drop: false }` [INFO] [stdout] 71ba9b13104614c509f0129ddd30ff10d32f3d99d71424178c64f52f5c7b02f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2259a1946fc81aa31c81387d9d9c9f58edcd0c34ed5d7cd74348a52625ab6a2 [INFO] running `Command { std: "docker" "start" "-a" "f2259a1946fc81aa31c81387d9d9c9f58edcd0c34ed5d7cd74348a52625ab6a2", 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:9 [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:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | / cli.options("/") [INFO] [stdout] 627 | | .header(header::ORIGIN, "https://abc.com") [INFO] [stdout] 628 | | .header(header::ACCESS_CONTROL_REQUEST_METHOD, "GET") [INFO] [stdout] 629 | | .header(header::ACCESS_CONTROL_REQUEST_HEADERS, "X-Token") [INFO] [stdout] 630 | | .send() [INFO] [stdout] 631 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | / cli.options("/") [INFO] [stdout] 635 | | .header(header::ORIGIN, "https://example.com") [INFO] [stdout] 636 | | .header(header::ACCESS_CONTROL_REQUEST_METHOD, "TRACE") [INFO] [stdout] 637 | | .header(header::ACCESS_CONTROL_REQUEST_HEADERS, "X-Token") [INFO] [stdout] 638 | | .send() [INFO] [stdout] 639 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | / cli.options("/") [INFO] [stdout] 643 | | .header(header::ORIGIN, "https://example.com") [INFO] [stdout] 644 | | .header(header::ACCESS_CONTROL_REQUEST_METHOD, "GET") [INFO] [stdout] 645 | | .header(header::ACCESS_CONTROL_REQUEST_HEADERS, "X-Abc") [INFO] [stdout] 646 | | .send() [INFO] [stdout] 647 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/cors.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | / cli.options("/") [INFO] [stdout] 651 | | .header(header::ORIGIN, "https://example.com") [INFO] [stdout] 652 | | .header(header::ACCESS_CONTROL_REQUEST_METHOD, "GET") [INFO] [stdout] 653 | | .header(header::ACCESS_CONTROL_REQUEST_HEADERS, "X-Token") [INFO] [stdout] 654 | | .send() [INFO] [stdout] 655 | | .await [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:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / cli.post("/") [INFO] [stdout] 74 | | .send() [INFO] [stdout] 75 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/size_limit.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / cli.post("/") [INFO] [stdout] 79 | | .header("content-length", 6) [INFO] [stdout] 80 | | .body(&b"123456"[..]) [INFO] [stdout] 81 | | .send() [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/size_limit.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / cli.post("/") [INFO] [stdout] 86 | | .header("content-length", 4) [INFO] [stdout] 87 | | .body(&b"1234"[..]) [INFO] [stdout] 88 | | .send() [INFO] [stdout] 89 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware/size_limit.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / cli.post("/") [INFO] [stdout] 93 | | .header("content-length", 5) [INFO] [stdout] 94 | | .body(&b"12345"[..]) [INFO] [stdout] 95 | | .send() [INFO] [stdout] 96 | | .await [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:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / TestClient::new(app) [INFO] [stdout] 66 | | .get("/") [INFO] [stdout] 67 | | .send() [INFO] [stdout] 68 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/data.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / TestClient::new(index) [INFO] [stdout] 80 | | .get("/") [INFO] [stdout] 81 | | .send() [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/data.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | / TestClient::new(index.with(AddData::new("abc".to_string()))) [INFO] [stdout] 94 | | .get("/") [INFO] [stdout] 95 | | .send() [INFO] [stdout] 96 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/form.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | / cli.get("/") [INFO] [stdout] 148 | | .query("name", &"abc") [INFO] [stdout] 149 | | .query("value", &"100") [INFO] [stdout] 150 | | .send() [INFO] [stdout] 151 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/form.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | / cli.post("/") [INFO] [stdout] 155 | | .form(&[("name", "abc"), ("value", "100")]) [INFO] [stdout] 156 | | .send() [INFO] [stdout] 157 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/form.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / cli.post("/") [INFO] [stdout] 161 | | .content_type("application/json") [INFO] [stdout] 162 | | .body("name=abc&value=100") [INFO] [stdout] 163 | | .send() [INFO] [stdout] 164 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/json.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | / ... cli.post("/") [INFO] [stdout] 190 | | ... .body_json(&json!({"name": "abc", "value": 100})) // body_json has already set request with `application/json` content ... [INFO] [stdout] 191 | | ... .send() [INFO] [stdout] 192 | | ... .await [INFO] [stdout] | |________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web/json.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / cli.post("/") [INFO] [stdout] 208 | | // .header(header::CONTENT_TYPE, "application/json") [INFO] [stdout] 209 | | .body(to_string(&create_resource).expect("Invalid json")) [INFO] [stdout] 210 | | .send() [INFO] [stdout] 211 | | .await [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:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / cli.get("/") [INFO] [stdout] 101 | | .query("name", &"abc") [INFO] [stdout] 102 | | .query("value", &100) [INFO] [stdout] 103 | | .send() [INFO] [stdout] 104 | | .await [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:9 [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:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | / cli.get("/nest/c/10") [INFO] [stdout] 595 | | .send() [INFO] [stdout] 596 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | / cli.get("/nest_no_strip/d/99") [INFO] [stdout] 600 | | .send() [INFO] [stdout] 601 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | / cli.get("/nest1/nest2/10") [INFO] [stdout] 605 | | .send() [INFO] [stdout] 606 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | / cli.get("/nest_no_strip1/nest_no_strip2/10") [INFO] [stdout] 610 | | .send() [INFO] [stdout] 611 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:696:9 [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:9 [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:700:9 [INFO] [stdout] | [INFO] [stdout] 700 | / cli.get("/nest_no_strip/d/99") [INFO] [stdout] 701 | | .send() [INFO] [stdout] 702 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | / cli.get("/nest1/nest2/10") [INFO] [stdout] 706 | | .send() [INFO] [stdout] 707 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | / cli.get("/nest_no_strip1/nest_no_strip2/10") [INFO] [stdout] 711 | | .send() [INFO] [stdout] 712 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | / cli.get("/a/10") [INFO] [stdout] 756 | | .send() [INFO] [stdout] 757 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | / cli.get("/nest/c/10") [INFO] [stdout] 761 | | .send() [INFO] [stdout] 762 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | / cli.get("/nest_no_strip/d/99") [INFO] [stdout] 766 | | .send() [INFO] [stdout] 767 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | / cli.get("/nest1/nest2/10") [INFO] [stdout] 771 | | .send() [INFO] [stdout] 772 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router.rs:775:9 [INFO] [stdout] | [INFO] [stdout] 775 | / cli.get("/nest_no_strip1/nest_no_strip2/10") [INFO] [stdout] 776 | | .send() [INFO] [stdout] 777 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_domain.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | / cli.get("/") [INFO] [stdout] 160 | | .header(header::HOST, "rust-lang.org") [INFO] [stdout] 161 | | .send() [INFO] [stdout] 162 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/route/router_domain.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / cli.get("/") [INFO] [stdout] 166 | | .send() [INFO] [stdout] 167 | | .await [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:17 [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" "f2259a1946fc81aa31c81387d9d9c9f58edcd0c34ed5d7cd74348a52625ab6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2259a1946fc81aa31c81387d9d9c9f58edcd0c34ed5d7cd74348a52625ab6a2", kill_on_drop: false }` [INFO] [stdout] f2259a1946fc81aa31c81387d9d9c9f58edcd0c34ed5d7cd74348a52625ab6a2