[INFO] cloning repository https://github.com/kldtz/static-site [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kldtz/static-site" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkldtz%2Fstatic-site", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkldtz%2Fstatic-site'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3207445f88c8c6382874b115bc9d81c66111040d [INFO] testing kldtz/static-site against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkldtz%2Fstatic-site" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kldtz/static-site [INFO] finished tweaking git repo https://github.com/kldtz/static-site [INFO] tweaked toml for git repo https://github.com/kldtz/static-site written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kldtz/static-site on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kldtz/static-site 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/djc/askama` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded darling v0.14.1 [INFO] [stderr] Downloaded darling_macro v0.14.1 [INFO] [stderr] Downloaded humansize v1.1.1 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded quick-js v0.4.1 [INFO] [stderr] Downloaded copy_dir v0.1.2 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded darling_core v0.14.1 [INFO] [stderr] Downloaded katex v0.4.4 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded nom v7.1.0 [INFO] [stderr] Downloaded libquickjs-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b3dd9dec8e5efa3576e3c29b84ad0cd4851001b044448eb512be9062463c429 [INFO] running `Command { std: "docker" "start" "-a" "1b3dd9dec8e5efa3576e3c29b84ad0cd4851001b044448eb512be9062463c429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b3dd9dec8e5efa3576e3c29b84ad0cd4851001b044448eb512be9062463c429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3dd9dec8e5efa3576e3c29b84ad0cd4851001b044448eb512be9062463c429", kill_on_drop: false }` [INFO] [stdout] 1b3dd9dec8e5efa3576e3c29b84ad0cd4851001b044448eb512be9062463c429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7d6b9b9bc0019020a331cd7a9ed1e09e44493c6387999a41b6aeeb04407bdc0 [INFO] running `Command { std: "docker" "start" "-a" "a7d6b9b9bc0019020a331cd7a9ed1e09e44493c6387999a41b6aeeb04407bdc0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling askama_escape v0.10.2 (https://github.com/djc/askama?branch=main#95317478) [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling katex v0.4.4 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling copy_dir v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling libquickjs-sys v0.9.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling derive_builder v0.11.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling askama_shared v0.12.0 (https://github.com/djc/askama?branch=main#95317478) [INFO] [stderr] Compiling askama_derive v0.11.0 (https://github.com/djc/askama?branch=main#95317478) [INFO] [stderr] Compiling askama v0.11.0 (https://github.com/djc/askama?branch=main#95317478) [INFO] [stderr] Compiling quick-js v0.4.1 [INFO] [stderr] Compiling page_generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: template "rss_template.xml" not found in directories ["/opt/rustwide/workdir/private/templates"] [INFO] [stdout] --> src/rss.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: template "default.html" not found in directories ["/opt/rustwide/workdir/private/templates"] [INFO] [stdout] --> src/main.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: template "top.html" not found in directories ["/opt/rustwide/workdir/private/templates"] [INFO] [stdout] --> src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: template "home.html" not found in directories ["/opt/rustwide/workdir/private/templates"] [INFO] [stdout] --> src/main.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render` found for struct `RssTemplate<'a>` in the current scope [INFO] [stdout] --> src/rss.rs:38:49 [INFO] [stdout] | [INFO] [stdout] 16 | struct RssTemplate<'a> { [INFO] [stdout] | ---------------------- method `render` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | let rss = RssTemplate { title, url, items }.render()?; [INFO] [stdout] | ^^^^^^ method not found in `RssTemplate<'_>` [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 trait defines an item `render`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render` found for struct `DefaultTemplate<'_>` in the current scope [INFO] [stdout] --> src/main.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 83 | struct DefaultTemplate<'a> { [INFO] [stdout] | -------------------------- method `render` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 101 | // DefaultTemplate { [INFO] [stdout] 102 | || title: &page.config.title, [INFO] [stdout] 103 | || language: page.config.language.as_ref().unwrap_or(&DEFAULT_LANG), [INFO] [stdout] 104 | || date: &page.config.date.format("%b %e, %Y").to_string(), [INFO] [stdout] ... || [INFO] [stdout] 112 | || .render() [INFO] [stdout] | ||_____________-^^^^^^_- help: use associated function syntax instead: `DefaultTemplate::<'_>::render()` [INFO] [stdout] | | || [INFO] [stdout] | |______________|this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `DefaultTemplate<'_>` [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | fn render(page: &Page, content: &str) -> Result { [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 trait defines an item `render`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render` found for struct `TopTemplate<'_>` in the current scope [INFO] [stdout] --> src/main.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 118 | struct TopTemplate<'a> { [INFO] [stdout] | ---------------------- method `render` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 127 | // TopTemplate { [INFO] [stdout] 128 | || title: &page.config.title, [INFO] [stdout] 129 | || description: &page.config.description, [INFO] [stdout] 130 | || link: page.config.link.as_ref().unwrap_or(&Vec::default()), [INFO] [stdout] ... || [INFO] [stdout] 133 | || .render() [INFO] [stdout] | ||_____________-^^^^^^_- help: use associated function syntax instead: `TopTemplate::<'_>::render()` [INFO] [stdout] | | || [INFO] [stdout] | |______________|this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `TopTemplate<'_>` [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | fn render(page: &Page, content: &str) -> Result { [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 trait defines an item `render`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render` found for struct `HomeTemplate<'_>` in the current scope [INFO] [stdout] --> src/main.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 139 | struct HomeTemplate<'a> { [INFO] [stdout] | ----------------------- method `render` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | // HomeTemplate { [INFO] [stdout] 150 | || title: &page.config.title, [INFO] [stdout] 151 | || description: &page.config.description, [INFO] [stdout] 152 | || link: page.config.link.as_ref().unwrap_or(&Vec::default()), [INFO] [stdout] ... || [INFO] [stdout] 156 | || .render() [INFO] [stdout] | ||_____________-^^^^^^_- help: use associated function syntax instead: `HomeTemplate::<'_>::render()` [INFO] [stdout] | | || [INFO] [stdout] | |______________|this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `HomeTemplate<'_>` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | fn render(page: &Page, content: &str, configs: &Vec<(PageConfig, String)>) -> Result { [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 trait defines an item `render`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `page_generator` (bin "ssg") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a7d6b9b9bc0019020a331cd7a9ed1e09e44493c6387999a41b6aeeb04407bdc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d6b9b9bc0019020a331cd7a9ed1e09e44493c6387999a41b6aeeb04407bdc0", kill_on_drop: false }` [INFO] [stdout] a7d6b9b9bc0019020a331cd7a9ed1e09e44493c6387999a41b6aeeb04407bdc0