[INFO] fetching crate poem 3.1.12... [INFO] building poem-3.1.12 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate poem 3.1.12 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate poem 3.1.12 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bb4f8383c11c54b2eb4f93b3f738107b0e6062589280bb5d7194f3a60acb25c [INFO] running `Command { std: "docker" "start" "-a" "4bb4f8383c11c54b2eb4f93b3f738107b0e6062589280bb5d7194f3a60acb25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bb4f8383c11c54b2eb4f93b3f738107b0e6062589280bb5d7194f3a60acb25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb4f8383c11c54b2eb4f93b3f738107b0e6062589280bb5d7194f3a60acb25c", kill_on_drop: false }` [INFO] [stdout] 4bb4f8383c11c54b2eb4f93b3f738107b0e6062589280bb5d7194f3a60acb25c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97d64681c6b64df3110718725c71e746fd8a6df8e23a956710188b6f6dd3f269 [INFO] running `Command { std: "docker" "start" "-a" "97d64681c6b64df3110718725c71e746fd8a6df8e23a956710188b6f6dd3f269", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rfc7239 v0.1.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 proc-macro-crate v3.3.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [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 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 28.96s [INFO] running `Command { std: "docker" "inspect" "97d64681c6b64df3110718725c71e746fd8a6df8e23a956710188b6f6dd3f269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d64681c6b64df3110718725c71e746fd8a6df8e23a956710188b6f6dd3f269", kill_on_drop: false }` [INFO] [stdout] 97d64681c6b64df3110718725c71e746fd8a6df8e23a956710188b6f6dd3f269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95bf150df3b5d45e04bf07bc8d7655f775cd3c335a49e4eeff7a67783e830d9f [INFO] running `Command { std: "docker" "start" "-a" "95bf150df3b5d45e04bf07bc8d7655f775cd3c335a49e4eeff7a67783e830d9f", 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] 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" "95bf150df3b5d45e04bf07bc8d7655f775cd3c335a49e4eeff7a67783e830d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95bf150df3b5d45e04bf07bc8d7655f775cd3c335a49e4eeff7a67783e830d9f", kill_on_drop: false }` [INFO] [stdout] 95bf150df3b5d45e04bf07bc8d7655f775cd3c335a49e4eeff7a67783e830d9f