[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#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoodie%2Fzola-new" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hoodie/zola-new on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.5.5 [INFO] [stderr] Downloaded color-backtrace v0.3.0 [INFO] [stderr] Downloaded scroll v0.9.2 [INFO] [stderr] Downloaded addr2line v0.10.0 [INFO] [stderr] Downloaded structopt v0.3.5 [INFO] [stderr] Downloaded structopt-derive v0.3.5 [INFO] [stderr] Downloaded intervaltree v0.2.4 [INFO] [stderr] Downloaded findshlibs v0.5.0 [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded goblin v0.0.24 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded gimli v0.19.0 [INFO] [stderr] Downloaded scroll_derive v0.9.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bd2f1c4f42b039c9e7c70045a49be4e65b103068ceb3944185d53064ac2b7c4 [INFO] running `Command { std: "docker" "start" "-a" "3bd2f1c4f42b039c9e7c70045a49be4e65b103068ceb3944185d53064ac2b7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bd2f1c4f42b039c9e7c70045a49be4e65b103068ceb3944185d53064ac2b7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd2f1c4f42b039c9e7c70045a49be4e65b103068ceb3944185d53064ac2b7c4", kill_on_drop: false }` [INFO] [stdout] 3bd2f1c4f42b039c9e7c70045a49be4e65b103068ceb3944185d53064ac2b7c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6340cbb64339957a69731378f8e6318a3ddf2c63696bba84d675802dfa7d33cc [INFO] running `Command { std: "docker" "start" "-a" "6340cbb64339957a69731378f8e6318a3ddf2c63696bba84d675802dfa7d33cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking intervaltree v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking gimli v0.19.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking findshlibs v0.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking goblin v0.0.24 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking addr2line v0.10.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking color-backtrace v0.3.0 [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 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/front_matter.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` (part of `#[warn(unused)]`) 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: fields `section` and `tags` are never read [INFO] [stdout] --> src/opt.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BuildConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub section: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_file` is never read [INFO] [stdout] --> src/opt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub config_file: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/front_matter.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PageFrontMatter` [INFO] [stdout] 11 | #[serde(default)] [INFO] [stdout] 12 | pub struct PageFrontMatter { [INFO] [stdout] | --------------- `PageFrontMatter` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/front_matter.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` (part of `#[warn(unused)]`) 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: fields `section` and `tags` are never read [INFO] [stdout] --> src/opt.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BuildConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub section: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_file` is never read [INFO] [stdout] --> src/opt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub config_file: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/front_matter.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PageFrontMatter` [INFO] [stdout] 11 | #[serde(default)] [INFO] [stdout] 12 | pub struct PageFrontMatter { [INFO] [stdout] | --------------- `PageFrontMatter` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.58s [INFO] running `Command { std: "docker" "inspect" "6340cbb64339957a69731378f8e6318a3ddf2c63696bba84d675802dfa7d33cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6340cbb64339957a69731378f8e6318a3ddf2c63696bba84d675802dfa7d33cc", kill_on_drop: false }` [INFO] [stdout] 6340cbb64339957a69731378f8e6318a3ddf2c63696bba84d675802dfa7d33cc