[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] checking kldtz/static-site against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkldtz%2Fstatic-site" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kldtz/static-site on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "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" "+1383df06117fd218068d1f39fd5326256dd4a348" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking kldtz/static-site against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkldtz%2Fstatic-site" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kldtz/static-site on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "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" "+1383df06117fd218068d1f39fd5326256dd4a348" "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 darling_macro v0.14.1 [INFO] [stderr] Downloaded darling_core v0.14.1 [INFO] [stderr] Downloaded copy_dir v0.1.2 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded darling v0.14.1 [INFO] [stderr] Downloaded quick-js v0.4.1 [INFO] [stderr] Downloaded libquickjs-sys v0.9.0 [INFO] [stderr] Downloaded katex v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ff52832ed912ff9994567f3251924962614f81025416b654df45aa67b0bdf20 [INFO] running `Command { std: "docker" "start" "-a" "9ff52832ed912ff9994567f3251924962614f81025416b654df45aa67b0bdf20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ff52832ed912ff9994567f3251924962614f81025416b654df45aa67b0bdf20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff52832ed912ff9994567f3251924962614f81025416b654df45aa67b0bdf20", kill_on_drop: false }` [INFO] [stdout] 9ff52832ed912ff9994567f3251924962614f81025416b654df45aa67b0bdf20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40635fa93e26d86c0aff963351972ef7791831e6c5e3d64cb8f1f409899a727a [INFO] running `Command { std: "docker" "start" "-a" "40635fa93e26d86c0aff963351972ef7791831e6c5e3d64cb8f1f409899a727a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [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 libc v0.2.107 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling askama_escape v0.10.2 (https://github.com/djc/askama?branch=main#95317478) [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling katex v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling copy_dir v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling libquickjs-sys v0.9.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking 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] Checking derive_builder v0.11.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking 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] Checking askama v0.11.0 (https://github.com/djc/askama?branch=main#95317478) [INFO] [stderr] Checking quick-js v0.4.1 [INFO] [stderr] Checking 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 "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 "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 "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: 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 `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 `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 `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] 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] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `page_generator` (bin "ssg" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `page_generator` (bin "ssg") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "40635fa93e26d86c0aff963351972ef7791831e6c5e3d64cb8f1f409899a727a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40635fa93e26d86c0aff963351972ef7791831e6c5e3d64cb8f1f409899a727a", kill_on_drop: false }` [INFO] [stdout] 40635fa93e26d86c0aff963351972ef7791831e6c5e3d64cb8f1f409899a727a