[INFO] cloning repository https://github.com/legend048/rust-seo-ssg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/legend048/rust-seo-ssg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegend048%2Frust-seo-ssg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegend048%2Frust-seo-ssg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2d869dd2ebfa320bb47d781172c53257042b22c [INFO] checking legend048/rust-seo-ssg against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegend048%2Frust-seo-ssg" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/legend048/rust-seo-ssg [INFO] finished tweaking git repo https://github.com/legend048/rust-seo-ssg [INFO] tweaked toml for git repo https://github.com/legend048/rust-seo-ssg written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/legend048/rust-seo-ssg on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/legend048/rust-seo-ssg 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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "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 sitemap v0.4.1 [INFO] [stderr] Downloaded pulldown-cmark-escape v0.10.1 [INFO] [stderr] Downloaded chrono_utils v0.1.3 [INFO] [stderr] Downloaded pulldown-cmark v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 913e4beeee0b1c9b02fca30d34a1e2a3ef5f5559a8630761d15fb4ab985510e4 [INFO] running `Command { std: "docker" "start" "-a" "913e4beeee0b1c9b02fca30d34a1e2a3ef5f5559a8630761d15fb4ab985510e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "913e4beeee0b1c9b02fca30d34a1e2a3ef5f5559a8630761d15fb4ab985510e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913e4beeee0b1c9b02fca30d34a1e2a3ef5f5559a8630761d15fb4ab985510e4", kill_on_drop: false }` [INFO] [stdout] 913e4beeee0b1c9b02fca30d34a1e2a3ef5f5559a8630761d15fb4ab985510e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 067e0f6aaf6c0bf538fd5bf47aed9740974c728cc9746a137c908dffbc296738 [INFO] running `Command { std: "docker" "start" "-a" "067e0f6aaf6c0bf538fd5bf47aed9740974c728cc9746a137c908dffbc296738", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking chrono_utils v0.1.3 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking pulldown-cmark-escape v0.10.1 [INFO] [stderr] Checking xml-rs v0.8.26 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rustix v1.0.7 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sitemap v0.4.1 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking rust_seo_ssg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> tests/integration.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/io.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `assets` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | assets::copy_static_assets("static", "public")?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `assets` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/assets.rs, use `mod assets` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/io.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `init_template_engine` [INFO] [stdout] --> src/render.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use super::{init_template_engine, render_page}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> src/render.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `assets` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | assets::copy_static_assets("static", "public")?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `assets` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/assets.rs, use `mod assets` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 19 | .strip_prefix("content/")? [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 19 | .strip_prefix("content/")? [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_seo_ssg` (bin "rust_seo_ssg") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_seo_ssg` (bin "rust_seo_ssg" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "067e0f6aaf6c0bf538fd5bf47aed9740974c728cc9746a137c908dffbc296738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067e0f6aaf6c0bf538fd5bf47aed9740974c728cc9746a137c908dffbc296738", kill_on_drop: false }` [INFO] [stdout] 067e0f6aaf6c0bf538fd5bf47aed9740974c728cc9746a137c908dffbc296738