[INFO] cloning repository https://github.com/hoodie/zola-new [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hoodie/zola-new" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoodie%2Fzola-new", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoodie%2Fzola-new'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a21a86d08a29d130ddb0079eb3c91369e02ef959 [INFO] checking hoodie/zola-new against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoodie%2Fzola-new" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hoodie/zola-new on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hoodie/zola-new [INFO] finished tweaking git repo https://github.com/hoodie/zola-new [INFO] tweaked toml for git repo https://github.com/hoodie/zola-new written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hoodie/zola-new 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded nodrop v0.1.14 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded findshlibs v0.5.0 [INFO] [stderr] Downloaded intervaltree v0.2.4 [INFO] [stderr] Downloaded scroll v0.9.2 [INFO] [stderr] Downloaded scroll_derive v0.9.5 [INFO] [stderr] Downloaded gimli v0.19.0 [INFO] [stderr] Downloaded addr2line v0.10.0 [INFO] [stderr] Downloaded goblin v0.0.24 [INFO] [stderr] Downloaded color-backtrace v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6896b51ef5eee73b8693fbd9d0c063212799548fff328e42fc322f8e140cb93 [INFO] running `Command { std: "docker" "start" "-a" "c6896b51ef5eee73b8693fbd9d0c063212799548fff328e42fc322f8e140cb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6896b51ef5eee73b8693fbd9d0c063212799548fff328e42fc322f8e140cb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6896b51ef5eee73b8693fbd9d0c063212799548fff328e42fc322f8e140cb93", kill_on_drop: false }` [INFO] [stdout] c6896b51ef5eee73b8693fbd9d0c063212799548fff328e42fc322f8e140cb93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4044f056097d52e27f821a411f36aeb4c5b1827204c9731ea4ebb7b20674f55a [INFO] running `Command { std: "docker" "start" "-a" "4044f056097d52e27f821a411f36aeb4c5b1827204c9731ea4ebb7b20674f55a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking gimli v0.19.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking intervaltree v0.2.4 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking findshlibs v0.5.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking addr2line v0.10.0 [INFO] [stderr] Checking goblin v0.0.24 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking color-backtrace v0.3.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking zola-new v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `create_page` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn create_page(target_folder: &Path) -> std::result::Result{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_page` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_page(target_file: &Path, content: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_page` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn create_page(target_folder: &Path) -> std::result::Result{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_page` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_page(target_file: &Path, content: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.45s [INFO] running `Command { std: "docker" "inspect" "4044f056097d52e27f821a411f36aeb4c5b1827204c9731ea4ebb7b20674f55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4044f056097d52e27f821a411f36aeb4c5b1827204c9731ea4ebb7b20674f55a", kill_on_drop: false }` [INFO] [stdout] 4044f056097d52e27f821a411f36aeb4c5b1827204c9731ea4ebb7b20674f55a [INFO] checking hoodie/zola-new against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoodie%2Fzola-new" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hoodie/zola-new on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hoodie/zola-new [INFO] finished tweaking git repo https://github.com/hoodie/zola-new [INFO] tweaked toml for git repo https://github.com/hoodie/zola-new written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hoodie/zola-new 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c36e6928da19b51aa2a1a9edecf86a303c27f19bb96e104e3117f9ce0e6ce12 [INFO] running `Command { std: "docker" "start" "-a" "3c36e6928da19b51aa2a1a9edecf86a303c27f19bb96e104e3117f9ce0e6ce12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c36e6928da19b51aa2a1a9edecf86a303c27f19bb96e104e3117f9ce0e6ce12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c36e6928da19b51aa2a1a9edecf86a303c27f19bb96e104e3117f9ce0e6ce12", kill_on_drop: false }` [INFO] [stdout] 3c36e6928da19b51aa2a1a9edecf86a303c27f19bb96e104e3117f9ce0e6ce12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eadacab742abe5d7a5f1b7e018e1df49ca1fdd06133bcb3b161d3aab72b3a1b [INFO] running `Command { std: "docker" "start" "-a" "2eadacab742abe5d7a5f1b7e018e1df49ca1fdd06133bcb3b161d3aab72b3a1b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking gimli v0.19.0 [INFO] [stderr] Checking intervaltree v0.2.4 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking findshlibs v0.5.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking addr2line v0.10.0 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking goblin v0.0.24 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking color-backtrace v0.3.0 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking zola-new v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `create_page` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn create_page(target_folder: &Path) -> std::result::Result{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_page` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_page(target_file: &Path, content: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/front_matter.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_PageFrontMatter` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zola-new` (bin "zola-new" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `create_page` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn create_page(target_folder: &Path) -> std::result::Result{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_page` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_page(target_file: &Path, content: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/front_matter.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_PageFrontMatter` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zola-new` (bin "zola-new") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2eadacab742abe5d7a5f1b7e018e1df49ca1fdd06133bcb3b161d3aab72b3a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eadacab742abe5d7a5f1b7e018e1df49ca1fdd06133bcb3b161d3aab72b3a1b", kill_on_drop: false }` [INFO] [stdout] 2eadacab742abe5d7a5f1b7e018e1df49ca1fdd06133bcb3b161d3aab72b3a1b