[INFO] fetching crate poem 3.1.12... [INFO] checking poem-3.1.12 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate poem 3.1.12 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poem 3.1.12 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 v0.9.6 [INFO] [stderr] Downloaded rcgen v0.12.1 [INFO] [stderr] Downloaded opentelemetry-prometheus v0.29.1 [INFO] [stderr] Downloaded csrf v0.5.0 [INFO] [stderr] Downloaded unic-langid-macros-impl v0.9.6 [INFO] [stderr] Downloaded priority-queue v2.5.0 [INFO] [stderr] Downloaded tokio-metrics v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23205acbd975c9c86ecaf7350390450c360725985359bf06ab3579e944e78e6f [INFO] running `Command { std: "docker" "start" "-a" "23205acbd975c9c86ecaf7350390450c360725985359bf06ab3579e944e78e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23205acbd975c9c86ecaf7350390450c360725985359bf06ab3579e944e78e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23205acbd975c9c86ecaf7350390450c360725985359bf06ab3579e944e78e6f", kill_on_drop: false }` [INFO] [stdout] 23205acbd975c9c86ecaf7350390450c360725985359bf06ab3579e944e78e6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f728f647406cea7e7b0b3b56af6a14f7ab8a20eac9fef9daf6e5872f24cae700 [INFO] running `Command { std: "docker" "start" "-a" "f728f647406cea7e7b0b3b56af6a14f7ab8a20eac9fef9daf6e5872f24cae700", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rfc7239 v0.1.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking wildmatch v2.4.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling poem-derive v3.1.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poem` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "f728f647406cea7e7b0b3b56af6a14f7ab8a20eac9fef9daf6e5872f24cae700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f728f647406cea7e7b0b3b56af6a14f7ab8a20eac9fef9daf6e5872f24cae700", kill_on_drop: false }` [INFO] [stdout] f728f647406cea7e7b0b3b56af6a14f7ab8a20eac9fef9daf6e5872f24cae700