[INFO] fetching crate poem 3.1.11... [INFO] testing poem-3.1.11 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate poem 3.1.11 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate poem 3.1.11 [INFO] finished tweaking crates.io crate poem 3.1.11 [INFO] tweaked toml for crates.io crate poem 3.1.11 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poem 3.1.11 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate poem 3.1.11 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded munge_macro v0.4.4 [INFO] [stderr] Downloaded futures_codec v0.4.1 [INFO] [stderr] Downloaded sse-codec v0.3.2 [INFO] [stderr] Downloaded rfc7239 v0.1.3 [INFO] [stderr] Downloaded munge v0.4.4 [INFO] [stderr] Downloaded rcgen v0.12.1 [INFO] [stderr] Downloaded sonic-simd v0.1.1 [INFO] [stderr] Downloaded opentelemetry-http v0.29.0 [INFO] [stderr] Downloaded csrf v0.5.0 [INFO] [stderr] Downloaded opentelemetry-prometheus v0.29.1 [INFO] [stderr] Downloaded tokio-metrics v0.4.2 [INFO] [stderr] Downloaded priority-queue v2.5.0 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.30.0 [INFO] [stderr] Downloaded prometheus v0.14.0 [INFO] [stderr] Downloaded poem-derive v3.1.11 [INFO] [stderr] Downloaded opentelemetry_sdk v0.29.0 [INFO] [stderr] Downloaded opentelemetry v0.29.1 [INFO] [stderr] Downloaded faststr v0.2.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25403a94203a485ad599d7f6eb82bc03ff40852eb53c36009468142db8b7f9b4 [INFO] running `Command { std: "docker" "start" "-a" "25403a94203a485ad599d7f6eb82bc03ff40852eb53c36009468142db8b7f9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25403a94203a485ad599d7f6eb82bc03ff40852eb53c36009468142db8b7f9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25403a94203a485ad599d7f6eb82bc03ff40852eb53c36009468142db8b7f9b4", kill_on_drop: false }` [INFO] [stdout] 25403a94203a485ad599d7f6eb82bc03ff40852eb53c36009468142db8b7f9b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8d12404e01ec39d8295438375741296913a29e10da25f40d96b22ccbf64e5aa3 [INFO] running `Command { std: "docker" "start" "-a" "8d12404e01ec39d8295438375741296913a29e10da25f40d96b22ccbf64e5aa3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rfc7239 v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [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 toml_edit v0.22.26 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [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.11 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling poem v3.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/endpoint/endpoint.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | fn call(&self, req: Request) -> BoxFuture>; [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 211 | fn call(&self, req: Request) -> BoxFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/endpoint/endpoint.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | fn call(&self, req: Request) -> BoxFuture> { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | fn call(&self, req: Request) -> BoxFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/listener/mod.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | fn accept(&mut self) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ ----------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 110 | fn accept(&mut self) -> BoxFuture<'_, IoResult<(BoxIo, LocalAddr, RemoteAddr, Scheme)>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/listener/mod.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn accept(&mut self) -> BoxFuture> { [INFO] [stdout] | ^^^^^^^^^ ----------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn accept(&mut self) -> BoxFuture<'_, IoResult<(BoxIo, LocalAddr, RemoteAddr, Scheme)>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/route/internal/radix_tree.rs:508:27 [INFO] [stdout] | [INFO] [stdout] 508 | pub(crate) fn matches(&self, path: &str) -> Option> { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 508 | pub(crate) fn matches(&self, path: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.94s [INFO] running `Command { std: "docker" "inspect" "8d12404e01ec39d8295438375741296913a29e10da25f40d96b22ccbf64e5aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d12404e01ec39d8295438375741296913a29e10da25f40d96b22ccbf64e5aa3", kill_on_drop: false }` [INFO] [stdout] 8d12404e01ec39d8295438375741296913a29e10da25f40d96b22ccbf64e5aa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e7da8db2c79aa91c9d07c78101da4811dd9fb99f2ea911f8a59d37f8f0884157 [INFO] running `Command { std: "docker" "start" "-a" "e7da8db2c79aa91c9d07c78101da4811dd9fb99f2ea911f8a59d37f8f0884157", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.1 [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.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling poem v3.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/endpoint/endpoint.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/add_data.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::{EndpointExt, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/cors.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | test::{TestClient, TestRequestBuilder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/normalize_path.rs:124:76 [INFO] [stdout] | [INFO] [stdout] 124 | use crate::{EndpointExt, Route, endpoint::make_sync, http::StatusCode, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/propagate_header.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::{EndpointExt, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/sensitive_header.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | test::{TestClient, TestRequestBuilder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/set_header.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::{EndpointExt, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/size_limit.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/mod.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/data.rs:55:60 [INFO] [stdout] | [INFO] [stdout] 55 | use crate::{EndpointExt, handler, middleware::AddData, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/form.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::{handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/json.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | use crate::{handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/query.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | use crate::{handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/web/typed_header.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | test::TestClient, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/route/router.rs:390:54 [INFO] [stdout] | [INFO] [stdout] 390 | use crate::{Error, endpoint::make_sync, handler, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/route/router_domain.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | use crate::{endpoint::make_sync, handler, http::HeaderMap, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/route/router_method.rs:283:44 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::{handler, http::StatusCode, test::TestClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `endpoint::endpoint::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `test` feature [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(feature = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/endpoint/endpoint.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | fn call(&self, req: Request) -> BoxFuture>; [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 211 | fn call(&self, req: Request) -> BoxFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/endpoint/endpoint.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | fn call(&self, req: Request) -> BoxFuture> { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | fn call(&self, req: Request) -> BoxFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/listener/mod.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | fn accept(&mut self) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ ----------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 110 | fn accept(&mut self) -> BoxFuture<'_, IoResult<(BoxIo, LocalAddr, RemoteAddr, Scheme)>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/listener/mod.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn accept(&mut self) -> BoxFuture> { [INFO] [stdout] | ^^^^^^^^^ ----------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn accept(&mut self) -> BoxFuture<'_, IoResult<(BoxIo, LocalAddr, RemoteAddr, Scheme)>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/route/internal/radix_tree.rs:508:27 [INFO] [stdout] | [INFO] [stdout] 508 | pub(crate) fn matches(&self, path: &str) -> Option> { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 508 | pub(crate) fn matches(&self, path: &str) -> Option> { [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" "e7da8db2c79aa91c9d07c78101da4811dd9fb99f2ea911f8a59d37f8f0884157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7da8db2c79aa91c9d07c78101da4811dd9fb99f2ea911f8a59d37f8f0884157", kill_on_drop: false }` [INFO] [stdout] e7da8db2c79aa91c9d07c78101da4811dd9fb99f2ea911f8a59d37f8f0884157