[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 master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloperandre%2Fboilerplate_axum_project" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/developerandre/boilerplate_axum_project on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-trait v0.1.82 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded tower v0.5.0 [INFO] [stderr] Downloaded flate2 v1.0.33 [INFO] [stderr] Downloaded iri-string v0.7.2 [INFO] [stderr] Downloaded cc v1.1.16 [INFO] [stderr] Downloaded object v0.36.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74f6c38bdcc0e1b8e0872741d76b32fd38624f0ab975c57cdac296344d8c0f2d [INFO] running `Command { std: "docker" "start" "-a" "74f6c38bdcc0e1b8e0872741d76b32fd38624f0ab975c57cdac296344d8c0f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74f6c38bdcc0e1b8e0872741d76b32fd38624f0ab975c57cdac296344d8c0f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f6c38bdcc0e1b8e0872741d76b32fd38624f0ab975c57cdac296344d8c0f2d", kill_on_drop: false }` [INFO] [stdout] 74f6c38bdcc0e1b8e0872741d76b32fd38624f0ab975c57cdac296344d8c0f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 231fe4ab9cf4a198f9c0bd43970f5940ca5fcbcdf4fd1244a4819bf49189b49f [INFO] running `Command { std: "docker" "start" "-a" "231fe4ab9cf4a198f9c0bd43970f5940ca5fcbcdf4fd1244a4819bf49189b49f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking iri-string v0.7.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [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 tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.11 [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_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [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[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 - .router_layer(middleware::from_fn(protected_guard)) [INFO] [stdout] 14 + .route_layer(middleware::from_fn(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] 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 - .router_layer(middleware::from_fn(protected_guard)) [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" "231fe4ab9cf4a198f9c0bd43970f5940ca5fcbcdf4fd1244a4819bf49189b49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231fe4ab9cf4a198f9c0bd43970f5940ca5fcbcdf4fd1244a4819bf49189b49f", kill_on_drop: false }` [INFO] [stdout] 231fe4ab9cf4a198f9c0bd43970f5940ca5fcbcdf4fd1244a4819bf49189b49f