[INFO] cloning repository https://github.com/zthart/spindrift [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zthart/spindrift" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzthart%2Fspindrift", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzthart%2Fspindrift'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 726b18694cdbd572551dcc3638bed351f026c55e [INFO] checking zthart/spindrift against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzthart%2Fspindrift" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zthart/spindrift [INFO] finished tweaking git repo https://github.com/zthart/spindrift [INFO] tweaked toml for git repo https://github.com/zthart/spindrift written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zthart/spindrift on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zthart/spindrift 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b159bf12363449bb7848ca617d2003e13c70443911f1f896de4ef83e6a658802 [INFO] running `Command { std: "docker" "start" "-a" "b159bf12363449bb7848ca617d2003e13c70443911f1f896de4ef83e6a658802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b159bf12363449bb7848ca617d2003e13c70443911f1f896de4ef83e6a658802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b159bf12363449bb7848ca617d2003e13c70443911f1f896de4ef83e6a658802", kill_on_drop: false }` [INFO] [stdout] b159bf12363449bb7848ca617d2003e13c70443911f1f896de4ef83e6a658802 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23cc468835e1199edb8a02db476c268e772c1bd71c894499bc7cca54f98c18fe [INFO] running `Command { std: "docker" "start" "-a" "23cc468835e1199edb8a02db476c268e772c1bd71c894499bc7cca54f98c18fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.122 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling serde v1.0.122 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.15 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Checking spindrift v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidSpindriftPath { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidSpindriftPath { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidSpindriftConfig { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidSpindriftConfig { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidDropletPath { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidDropletPath { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | InvalidDropletFormat { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | InvalidDropletFormat { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `image_to_html` is never used [INFO] [stdout] --> src/droplet.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Droplet { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn image_to_html(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `copyright` and `build_options` are never read [INFO] [stdout] --> src/spindrift.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct SpindriftConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | copyright: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | build_options: SpindriftBuildOptions, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpindriftConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `build_posts_by_author` and `build_posts_by_tag` are never read [INFO] [stdout] --> src/spindrift.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct SpindriftBuildOptions { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | build_posts_by_author: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | build_posts_by_tag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpindriftBuildOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / #[clap(short, long, default_value = "templates")] [INFO] [stdout] 29 | | /// The directory containing valid tera templates [INFO] [stdout] 30 | | template_dir: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / #[clap(short, long, default_values=&["yaml", "yml"])] [INFO] [stdout] 32 | | /// Supported file extensions for droplets, excluding the preceeding '.' [INFO] [stdout] 33 | | extensions: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidSpindriftPath { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidSpindriftPath { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidSpindriftConfig { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidSpindriftConfig { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidDropletPath { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidDropletPath { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | InvalidDropletFormat { source: Error, path: P }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/errors.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | InvalidDropletFormat { source: Error, path: P }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spindrift` (bin "spindrift" test) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `image_to_html` is never used [INFO] [stdout] --> src/droplet.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Droplet { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn image_to_html(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `copyright` and `build_options` are never read [INFO] [stdout] --> src/spindrift.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct SpindriftConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | copyright: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | build_options: SpindriftBuildOptions, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpindriftConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `build_posts_by_author` and `build_posts_by_tag` are never read [INFO] [stdout] --> src/spindrift.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct SpindriftBuildOptions { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | build_posts_by_author: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | build_posts_by_tag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpindriftBuildOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / #[clap(short, long, default_value = "templates")] [INFO] [stdout] 29 | | /// The directory containing valid tera templates [INFO] [stdout] 30 | | template_dir: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / #[clap(short, long, default_values=&["yaml", "yml"])] [INFO] [stdout] 32 | | /// Supported file extensions for droplets, excluding the preceeding '.' [INFO] [stdout] 33 | | extensions: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spindrift` (bin "spindrift") due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23cc468835e1199edb8a02db476c268e772c1bd71c894499bc7cca54f98c18fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23cc468835e1199edb8a02db476c268e772c1bd71c894499bc7cca54f98c18fe", kill_on_drop: false }` [INFO] [stdout] 23cc468835e1199edb8a02db476c268e772c1bd71c894499bc7cca54f98c18fe