[INFO] cloning repository https://github.com/artiga033/axum-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/artiga033/axum-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartiga033%2Faxum-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartiga033%2Faxum-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18096281860b046f62bb346bb2da7a17e5bc70e0 [INFO] checking artiga033/axum-template against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartiga033%2Faxum-template" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/artiga033/axum-template [INFO] finished tweaking git repo https://github.com/artiga033/axum-template [INFO] tweaked toml for git repo https://github.com/artiga033/axum-template written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/artiga033/axum-template on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/artiga033/axum-template 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 400665ec9b5f30a07f94a9b42c075af05742fa157ed1effd8c4bde1af6c56f72 [INFO] running `Command { std: "docker" "start" "-a" "400665ec9b5f30a07f94a9b42c075af05742fa157ed1effd8c4bde1af6c56f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "400665ec9b5f30a07f94a9b42c075af05742fa157ed1effd8c4bde1af6c56f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400665ec9b5f30a07f94a9b42c075af05742fa157ed1effd8c4bde1af6c56f72", kill_on_drop: false }` [INFO] [stdout] 400665ec9b5f30a07f94a9b42c075af05742fa157ed1effd8c4bde1af6c56f72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a44e755474a4eaeafc6ff8f8312a0f06e2d2cd7eeeb0269b259d5b87a421cdb6 [INFO] running `Command { std: "docker" "start" "-a" "a44e755474a4eaeafc6ff8f8312a0f06e2d2cd7eeeb0269b259d5b87a421cdb6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking snafu v0.8.6 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking utoipa v5.4.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking utoipa-axum v0.2.0 [INFO] [stderr] Checking utoipa-scalar v0.3.0 [INFO] [stderr] Checking axum-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/handlers/frontend.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[folder = "src/handlers/frontend"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(RustEmbed)] [INFO] [stdout] 9 | struct Site; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: derive macro `Embed` is private [INFO] [stdout] --> src/handlers/frontend.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(rust_embed::Embed)] [INFO] [stdout] | ^^^^^ private derive macro [INFO] [stdout] | [INFO] [stdout] note: the derive macro `Embed` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.7.2/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use RustEmbed as Embed; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `Embed` directly [INFO] [stdout] | [INFO] [stdout] 6 - #[derive(rust_embed::Embed)] [INFO] [stdout] 6 + #[derive(rust_embed_impl::RustEmbed)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/handlers/frontend.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[folder = "src/handlers/frontend"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(RustEmbed)] [INFO] [stdout] 9 | struct Site; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: derive macro `Embed` is private [INFO] [stdout] --> src/handlers/frontend.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(rust_embed::Embed)] [INFO] [stdout] | ^^^^^ private derive macro [INFO] [stdout] | [INFO] [stdout] note: the derive macro `Embed` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.7.2/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use RustEmbed as Embed; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `Embed` directly [INFO] [stdout] | [INFO] [stdout] 6 - #[derive(rust_embed::Embed)] [INFO] [stdout] 6 + #[derive(rust_embed_impl::RustEmbed)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Site` in the current scope [INFO] [stdout] --> src/handlers/frontend.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 8 | struct Site; [INFO] [stdout] | ----------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | match Site::get(path) { [INFO] [stdout] | ^^^ function or associated item not found in `Site` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Site` in the current scope [INFO] [stdout] --> src/handlers/frontend.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 8 | struct Site; [INFO] [stdout] | ----------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | match Site::get(path) { [INFO] [stdout] | ^^^ function or associated item not found in `Site` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Site` in the current scope [INFO] [stdout] --> src/handlers/frontend.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 8 | struct Site; [INFO] [stdout] | ----------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | match Site::get(INDEX_HTML) { [INFO] [stdout] | ^^^ function or associated item not found in `Site` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Site` in the current scope [INFO] [stdout] --> src/handlers/frontend.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 8 | struct Site; [INFO] [stdout] | ----------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | match Site::get(INDEX_HTML) { [INFO] [stdout] | ^^^ function or associated item not found in `Site` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-template` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axum-template` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a44e755474a4eaeafc6ff8f8312a0f06e2d2cd7eeeb0269b259d5b87a421cdb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44e755474a4eaeafc6ff8f8312a0f06e2d2cd7eeeb0269b259d5b87a421cdb6", kill_on_drop: false }` [INFO] [stdout] a44e755474a4eaeafc6ff8f8312a0f06e2d2cd7eeeb0269b259d5b87a421cdb6