[INFO] fetching crate axum-bindform 0.1.0... [INFO] testing axum-bindform-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate axum-bindform 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate axum-bindform 0.1.0 [INFO] finished tweaking crates.io crate axum-bindform 0.1.0 [INFO] tweaked toml for crates.io crate axum-bindform 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-bindform 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.6) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding serde-xml-rs v0.6.0 (available: v0.8.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df360f923a80ce12a9908e1747efb2f1d808c85e56dd4ef7540b4fcd5f8c458b [INFO] running `Command { std: "docker" "start" "-a" "df360f923a80ce12a9908e1747efb2f1d808c85e56dd4ef7540b4fcd5f8c458b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df360f923a80ce12a9908e1747efb2f1d808c85e56dd4ef7540b4fcd5f8c458b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df360f923a80ce12a9908e1747efb2f1d808c85e56dd4ef7540b4fcd5f8c458b", kill_on_drop: false }` [INFO] [stdout] df360f923a80ce12a9908e1747efb2f1d808c85e56dd4ef7540b4fcd5f8c458b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 328cfc276b4dd7afb59aacd0326e0bdcc2f05bb2067d9bd04644f4f8ffeee50e [INFO] running `Command { std: "docker" "start" "-a" "328cfc276b4dd7afb59aacd0326e0bdcc2f05bb2067d9bd04644f4f8ffeee50e", kill_on_drop: false }` [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum-bindform v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.55s [INFO] running `Command { std: "docker" "inspect" "328cfc276b4dd7afb59aacd0326e0bdcc2f05bb2067d9bd04644f4f8ffeee50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328cfc276b4dd7afb59aacd0326e0bdcc2f05bb2067d9bd04644f4f8ffeee50e", kill_on_drop: false }` [INFO] [stdout] 328cfc276b4dd7afb59aacd0326e0bdcc2f05bb2067d9bd04644f4f8ffeee50e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a2040f0afdfd0e0672252aa89391d1867f46e141ae74121c8cbc623484a0324 [INFO] running `Command { std: "docker" "start" "-a" "3a2040f0afdfd0e0672252aa89391d1867f46e141ae74121c8cbc623484a0324", kill_on_drop: false }` [INFO] [stderr] Compiling axum-bindform v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/integration_test.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/integration_test.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/integration_test.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/integration_test.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/integration_test.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/integration_test.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | let (shutdown_tx, shutdown_rx) = tokio::sync::oneshot::channel::<()>(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/integration_test.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Human: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | async fn greet_human(BindForm(form): BindForm) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Human` [INFO] [stdout] --> tests/integration_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Human { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Human` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::raw::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `Human` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `BindForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct BindForm(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `BindForm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Human: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | TryBindForm(form): TryBindForm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Human` [INFO] [stdout] --> tests/integration_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Human { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Human` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::raw::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `Human` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `TryBindForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct TryBindForm(pub BindResult); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TryBindForm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Human: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | async fn greet_human(BindForm(form): BindForm) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Human` [INFO] [stdout] --> tests/integration_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Human { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::raw::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `Human` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `BindForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct BindForm(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `BindForm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Human: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | TryBindForm(form): TryBindForm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Human` [INFO] [stdout] --> tests/integration_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Human { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::raw::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `Human` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `TryBindForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct TryBindForm(pub BindResult); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TryBindForm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(BindForm) -> ... {greet_human}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | .route("/greet", axum::routing::get(greet_human).post(greet_human)) [INFO] [stdout] | ------------------ ^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(BindForm) -> impl Future {greet_human}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration_test-1a80932b6634d2c9.long-type-9366312429491433107.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(BindForm) -> ... {greet_human}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:30:63 [INFO] [stdout] | [INFO] [stdout] 30 | .route("/greet", axum::routing::get(greet_human).post(greet_human)) [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(BindForm) -> impl Future {greet_human}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `MethodRouter::::post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | chained_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `MethodRouter::::post` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration_test-1a80932b6634d2c9.long-type-17036342712619645927.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(TryBindForm) -> ... {try_greet_human}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | axum::routing::get(try_greet_human).post(try_greet_human), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(TryBindForm) -> impl Future {try_greet_human}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration_test-1a80932b6634d2c9.long-type-17172592733392426506.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(TryBindForm) -> ... {try_greet_human}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | axum::routing::get(try_greet_human).post(try_greet_human), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(TryBindForm) -> impl Future {try_greet_human}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `MethodRouter::::post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | chained_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `MethodRouter::::post` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration_test-1a80932b6634d2c9.long-type-17172592733392426506.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/integration_test.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | shutdown_rx.await.ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / client [INFO] [stdout] 53 | | .post("http://localhost:3000/greet") [INFO] [stdout] 54 | | .json(&Human { [INFO] [stdout] 55 | | name: "John".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 58 | | .send() [INFO] [stdout] 59 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / client [INFO] [stdout] 53 | | .post("http://localhost:3000/greet") [INFO] [stdout] 54 | | .json(&Human { [INFO] [stdout] 55 | | name: "John".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 61 | | .text() [INFO] [stdout] 62 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / client [INFO] [stdout] 75 | | .post("http://localhost:3000/greet") [INFO] [stdout] 76 | | .header("content-type", "application/xml") [INFO] [stdout] 77 | | .body(xml_str) [INFO] [stdout] 78 | | .send() [INFO] [stdout] 79 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / client [INFO] [stdout] 75 | | .post("http://localhost:3000/greet") [INFO] [stdout] 76 | | .header("content-type", "application/xml") [INFO] [stdout] 77 | | .body(xml_str) [INFO] [stdout] ... | [INFO] [stdout] 81 | | .text() [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | / client [INFO] [stdout] 89 | | .get("http://localhost:3000/greet?name=John&age=32") [INFO] [stdout] 90 | | .send() [INFO] [stdout] 91 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | / client [INFO] [stdout] 89 | | .get("http://localhost:3000/greet?name=John&age=32") [INFO] [stdout] 90 | | .send() [INFO] [stdout] 91 | | .await [INFO] [stdout] 92 | | .unwrap() [INFO] [stdout] 93 | | .text() [INFO] [stdout] 94 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | let error_response = client [INFO] [stdout] | __________________________^ [INFO] [stdout] 100 | | .get("http://localhost:3000/try_greet?name=John") [INFO] [stdout] 101 | | .send() [INFO] [stdout] 102 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(error_response [INFO] [stdout] | _____________^ [INFO] [stdout] 107 | | .text() [INFO] [stdout] 108 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-bindform` (test "integration_test") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3a2040f0afdfd0e0672252aa89391d1867f46e141ae74121c8cbc623484a0324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a2040f0afdfd0e0672252aa89391d1867f46e141ae74121c8cbc623484a0324", kill_on_drop: false }` [INFO] [stdout] 3a2040f0afdfd0e0672252aa89391d1867f46e141ae74121c8cbc623484a0324