[INFO] cloning repository https://github.com/developerandre/boilerplate_axum_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/developerandre/boilerplate_axum_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloperandre%2Fboilerplate_axum_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloperandre%2Fboilerplate_axum_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cf188829babd734664c8a49f764967e7715def8 [INFO] checking developerandre/boilerplate_axum_project against try#3298c2ca5e390fd0d104357fdeec514a152a9561 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloperandre%2Fboilerplate_axum_project" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/developerandre/boilerplate_axum_project on toolchain 3298c2ca5e390fd0d104357fdeec514a152a9561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/developerandre/boilerplate_axum_project [INFO] finished tweaking git repo https://github.com/developerandre/boilerplate_axum_project [INFO] tweaked toml for git repo https://github.com/developerandre/boilerplate_axum_project written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/developerandre/boilerplate_axum_project 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" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbed55cdb4ab2c9e0ceabb70fa8081370cadfb7d7901a0daef11d111ab3fb311 [INFO] running `Command { std: "docker" "start" "-a" "dbed55cdb4ab2c9e0ceabb70fa8081370cadfb7d7901a0daef11d111ab3fb311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbed55cdb4ab2c9e0ceabb70fa8081370cadfb7d7901a0daef11d111ab3fb311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbed55cdb4ab2c9e0ceabb70fa8081370cadfb7d7901a0daef11d111ab3fb311", kill_on_drop: false }` [INFO] [stdout] dbed55cdb4ab2c9e0ceabb70fa8081370cadfb7d7901a0daef11d111ab3fb311 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fb8b25cc31da3cb97e5a3fbe47fa8c5db1974f403c32105428dcdd0eae82bc0 [INFO] running `Command { std: "docker" "start" "-a" "0fb8b25cc31da3cb97e5a3fbe47fa8c5db1974f403c32105428dcdd0eae82bc0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking iri-string v0.7.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking tower v0.5.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking boilerplate_axum_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `middleware` [INFO] [stdout] --> src/app.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | .router_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `middleware` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `middleware`, use `cargo add middleware` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use axum::middleware; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `protected_guard` in this scope [INFO] [stdout] --> src/app.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | .router_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::app::protected::protected_guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `middleware` [INFO] [stdout] --> src/app.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | .router_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `middleware` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `middleware`, use `cargo add middleware` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use axum::middleware; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `protected_guard` in this scope [INFO] [stdout] --> src/app.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | .router_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::app::protected::protected_guard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `router_layer` found for struct `Router` in the current scope [INFO] [stdout] --> src/app.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 12 | let routes = Router::new() [INFO] [stdout] | __________________- [INFO] [stdout] 13 | | .nest("/country", country_routes()) [INFO] [stdout] 14 | | .router_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | |_________-^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `route_layer` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | .route_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boilerplate_axum_project` (bin "boilerplate_axum_project" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `router_layer` found for struct `Router` in the current scope [INFO] [stdout] --> src/app.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 12 | let routes = Router::new() [INFO] [stdout] | __________________- [INFO] [stdout] 13 | | .nest("/country", country_routes()) [INFO] [stdout] 14 | | .router_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | |_________-^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `route_layer` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | .route_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boilerplate_axum_project` (bin "boilerplate_axum_project") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0fb8b25cc31da3cb97e5a3fbe47fa8c5db1974f403c32105428dcdd0eae82bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb8b25cc31da3cb97e5a3fbe47fa8c5db1974f403c32105428dcdd0eae82bc0", kill_on_drop: false }` [INFO] [stdout] 0fb8b25cc31da3cb97e5a3fbe47fa8c5db1974f403c32105428dcdd0eae82bc0