[INFO] cloning repository https://github.com/izderadicka/axum-valid-garde-problem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/izderadicka/axum-valid-garde-problem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fizderadicka%2Faxum-valid-garde-problem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fizderadicka%2Faxum-valid-garde-problem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faea302afc56e211b4a2725ff07814d07ecc24f7 [INFO] testing izderadicka/axum-valid-garde-problem against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fizderadicka%2Faxum-valid-garde-problem" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/izderadicka/axum-valid-garde-problem [INFO] finished tweaking git repo https://github.com/izderadicka/axum-valid-garde-problem [INFO] tweaked toml for git repo https://github.com/izderadicka/axum-valid-garde-problem written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/izderadicka/axum-valid-garde-problem on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/izderadicka/axum-valid-garde-problem 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-cache v0.2.1 [INFO] [stderr] Downloaded oncemutex v0.1.1 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded garde v0.22.0 [INFO] [stderr] Downloaded card-validate v2.4.0 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded smallvec v1.14.0 [INFO] [stderr] Downloaded garde_derive v0.22.0 [INFO] [stderr] Downloaded miniz_oxide v0.8.5 [INFO] [stderr] Downloaded quick-xml v0.37.2 [INFO] [stderr] Downloaded axum-valid v0.23.0 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded phonenumber v0.3.7+8.13.52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e87a025f7c8640c06e722050c6edd783129227732721f82a384572eae6a02e5 [INFO] running `Command { std: "docker" "start" "-a" "2e87a025f7c8640c06e722050c6edd783129227732721f82a384572eae6a02e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e87a025f7c8640c06e722050c6edd783129227732721f82a384572eae6a02e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e87a025f7c8640c06e722050c6edd783129227732721f82a384572eae6a02e5", kill_on_drop: false }` [INFO] [stdout] 2e87a025f7c8640c06e722050c6edd783129227732721f82a384572eae6a02e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f66246d019b6c6b777c6ac5cb3bc4d46563756f4531dfbeb1e2fbec43a4108d [INFO] running `Command { std: "docker" "start" "-a" "4f66246d019b6c6b777c6ac5cb3bc4d46563756f4531dfbeb1e2fbec43a4108d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling oncemutex v0.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling regex-cache v0.2.1 [INFO] [stderr] Compiling card-validate v2.4.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling garde_derive v0.22.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling phonenumber v0.3.7+8.13.52 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling garde v0.22.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling axum-valid v0.23.0 [INFO] [stderr] Compiling axum-garde v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Garde>: FromRequest` is not satisfied [INFO] [stdout] --> src/main.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | .route("/", post(handle_json)) [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `FromRequest` is not implemented for `Garde>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Function argument is not a valid axum extractor. [INFO] [stdout] See `https://docs.rs/axum/0.8/axum/extract/index.html` for details [INFO] [stdout] help: the trait `FromRequest` is not implemented for `Garde>` [INFO] [stdout] but trait `FromRequest<(), axum_core::extract::private::ViaRequest>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-valid-0.23.0/src/garde.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / impl FromRequest for Garde [INFO] [stdout] 83 | | where [INFO] [stdout] 84 | | State: Send + Sync, [INFO] [stdout] 85 | | Context: Send + Sync + FromRef, [INFO] [stdout] 86 | | Extractor: HasValidate + FromRequest, [INFO] [stdout] 87 | | ::Validate: Validate, [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `()`, found `AppState` [INFO] [stdout] = note: required for `fn(State, Counter, Garde>) -> ... {handle_json}` to implement `Handler<(_, State, Counter, Garde>), AppState>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.1/src/routing/method_routing.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `post` [INFO] [stdout] ... [INFO] [stdout] 444 | top_level_handler_fn!(post, POST); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/axum_garde-cd720ab14d1cf4c3.long-type-1894385343984649497.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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-garde` (bin "axum-garde") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4f66246d019b6c6b777c6ac5cb3bc4d46563756f4531dfbeb1e2fbec43a4108d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f66246d019b6c6b777c6ac5cb3bc4d46563756f4531dfbeb1e2fbec43a4108d", kill_on_drop: false }` [INFO] [stdout] 4f66246d019b6c6b777c6ac5cb3bc4d46563756f4531dfbeb1e2fbec43a4108d