[INFO] fetching crate form_fields 0.1.7... [INFO] testing form_fields-0.1.7 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate form_fields 0.1.7 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate form_fields 0.1.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate form_fields 0.1.7 [INFO] tweaked toml for crates.io crate form_fields 0.1.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate form_fields 0.1.7 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] crate crates.io crate form_fields 0.1.7 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0ef65afb26f830bca2efb65091440636ebc7cda19bbed8a47f3c4ab8836291b8 [INFO] running `Command { std: "docker" "start" "-a" "0ef65afb26f830bca2efb65091440636ebc7cda19bbed8a47f3c4ab8836291b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ef65afb26f830bca2efb65091440636ebc7cda19bbed8a47f3c4ab8836291b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef65afb26f830bca2efb65091440636ebc7cda19bbed8a47f3c4ab8836291b8", kill_on_drop: false }` [INFO] [stdout] 0ef65afb26f830bca2efb65091440636ebc7cda19bbed8a47f3c4ab8836291b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cbc24d258f8b7442186d6b8e30607f1a0ebba24865da27d6df0ba7fae9bd8a3e [INFO] running `Command { std: "docker" "start" "-a" "cbc24d258f8b7442186d6b8e30607f1a0ebba24865da27d6df0ba7fae9bd8a3e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling maud_macros v0.27.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling maud v0.27.0 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling form_fields_macro v0.1.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling form_fields v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.59s [INFO] running `Command { std: "docker" "inspect" "cbc24d258f8b7442186d6b8e30607f1a0ebba24865da27d6df0ba7fae9bd8a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc24d258f8b7442186d6b8e30607f1a0ebba24865da27d6df0ba7fae9bd8a3e", kill_on_drop: false }` [INFO] [stdout] cbc24d258f8b7442186d6b8e30607f1a0ebba24865da27d6df0ba7fae9bd8a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0ba4cc9bd8e3a3c5ce26db9aabdd561e3146295f96b2dc9ba94fa71b832dbcb2 [INFO] running `Command { std: "docker" "start" "-a" "0ba4cc9bd8e3a3c5ce26db9aabdd561e3146295f96b2dc9ba94fa71b832dbcb2", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling form_fields v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error: Requires attribute [text_field], [number_field] or [checkbox] [INFO] [stdout] --> examples/all_inputs.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / #[passthrough] [INFO] [stdout] 158 | | pub passthrough: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Requires attribute [text_field], [number_field] or [checkbox] [INFO] [stdout] --> examples/passthrough.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | / #[passthrough] [INFO] [stdout] 98 | | pub passthrough: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/passthrough.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/all_inputs.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/all_inputs.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/passthrough.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/passthrough.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/all_inputs.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/all_inputs.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `passthrough` in this scope [INFO] [stdout] --> examples/passthrough.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[passthrough] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied [INFO] [stdout] --> examples/passthrough.rs:26:53 [INFO] [stdout] | [INFO] [stdout] 26 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/passthrough.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 15 | where [INFO] [stdout] 16 | T: FormSpecable; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `FromForm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied [INFO] [stdout] --> examples/all_inputs.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/all_inputs.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 15 | where [INFO] [stdout] 16 | T: FormSpecable; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `FromForm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied in `FromForm` [INFO] [stdout] --> examples/passthrough.rs:26:53 [INFO] [stdout] | [INFO] [stdout] 26 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `FromForm`, the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/passthrough.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 26 | async fn simple(method: Method, FromForm(mut form): &FromForm) -> Response { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied in `FromForm` [INFO] [stdout] --> examples/passthrough.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `FromForm`, the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/passthrough.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied [INFO] [stdout] --> examples/passthrough.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/passthrough.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/passthrough.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(inner) = form.inner() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied in `FromForm` [INFO] [stdout] --> examples/all_inputs.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `FromForm`, the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/all_inputs.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 29 | async fn simple(method: Method, FromForm(mut form): &FromForm) -> Response { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied in `FromForm` [INFO] [stdout] --> examples/all_inputs.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `FromForm`, the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/all_inputs.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied [INFO] [stdout] --> examples/all_inputs.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | async fn simple(method: Method, FromForm(mut form): FromForm) -> Response { [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/all_inputs.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Method, FromForm) -> impl Future> {simple}: Handler<_, _>` is not satisfied [INFO] [stdout] --> examples/passthrough.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | .route("/", get(simple)) [INFO] [stdout] | --- ^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Method, FromForm) -> impl Future> {simple}` [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.8.6/src/routing/method_routing.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1310 | | where [INFO] [stdout] 1311 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.6/src/handler/mod.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / impl Handler for Layered [INFO] [stdout] 314 | | where [INFO] [stdout] 315 | | L: Layer> + Clone + Send + Sync + 'static, [INFO] [stdout] 316 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | T: 'static, [INFO] [stdout] 321 | | S: '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.8.6/src/routing/method_routing.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | 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: 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(Method, FromForm) -> impl Future> {simple}: Handler<_, _>` is not satisfied [INFO] [stdout] --> examples/passthrough.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | .route("/", post(simple)); [INFO] [stdout] | ---- ^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Method, FromForm) -> impl Future> {simple}` [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.8.6/src/routing/method_routing.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1310 | | where [INFO] [stdout] 1311 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.6/src/handler/mod.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / impl Handler for Layered [INFO] [stdout] 314 | | where [INFO] [stdout] 315 | | L: Layer> + Clone + Send + Sync + 'static, [INFO] [stdout] 316 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | T: 'static, [INFO] [stdout] 321 | | S: 'static, [INFO] [stdout] | |_______________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.6/src/routing/method_routing.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [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[E0282]: type annotations needed [INFO] [stdout] --> examples/all_inputs.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(inner) = form.inner() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Method, FromForm) -> impl Future> {simple}: Handler<_, _>` is not satisfied [INFO] [stdout] --> examples/all_inputs.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | .route("/", get(simple)) [INFO] [stdout] | --- ^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Method, FromForm) -> impl Future> {simple}` [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.8.6/src/routing/method_routing.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1310 | | where [INFO] [stdout] 1311 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.6/src/handler/mod.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / impl Handler for Layered [INFO] [stdout] 314 | | where [INFO] [stdout] 315 | | L: Layer> + Clone + Send + Sync + 'static, [INFO] [stdout] 316 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | T: 'static, [INFO] [stdout] 321 | | S: '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.8.6/src/routing/method_routing.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | 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: 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(Method, FromForm) -> impl Future> {simple}: Handler<_, _>` is not satisfied [INFO] [stdout] --> examples/all_inputs.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | .route("/", post(simple)); [INFO] [stdout] | ---- ^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Method, FromForm) -> impl Future> {simple}` [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.8.6/src/routing/method_routing.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1310 | | where [INFO] [stdout] 1311 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.6/src/handler/mod.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / impl Handler for Layered [INFO] [stdout] 314 | | where [INFO] [stdout] 315 | | L: Layer> + Clone + Send + Sync + 'static, [INFO] [stdout] 316 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | T: 'static, [INFO] [stdout] 321 | | S: 'static, [INFO] [stdout] | |_______________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.6/src/routing/method_routing.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [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 `Test: FormSpecable` is not satisfied in `FromForm` [INFO] [stdout] --> examples/passthrough.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | .route("/", get(simple)) [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `FromForm`, the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/passthrough.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: FormSpecable` is not satisfied in `FromForm` [INFO] [stdout] --> examples/all_inputs.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | .route("/", get(simple)) [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `FromForm`, the trait `FormSpecable` is not implemented for `Test` [INFO] [stdout] --> examples/all_inputs.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | struct Test { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `FromForm` [INFO] [stdout] --> /opt/rustwide/workdir/src/from_form.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FromForm(pub T::Spec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `form_fields` (example "passthrough") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `form_fields` (example "all_inputs") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "0ba4cc9bd8e3a3c5ce26db9aabdd561e3146295f96b2dc9ba94fa71b832dbcb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba4cc9bd8e3a3c5ce26db9aabdd561e3146295f96b2dc9ba94fa71b832dbcb2", kill_on_drop: false }` [INFO] [stdout] 0ba4cc9bd8e3a3c5ce26db9aabdd561e3146295f96b2dc9ba94fa71b832dbcb2