[INFO] cloning repository https://github.com/EliasWatson/jsnt-site [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EliasWatson/jsnt-site" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliasWatson%2Fjsnt-site", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliasWatson%2Fjsnt-site'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0a5a4c85c344ad11055988badd9fac8cc5ba3de [INFO] checking EliasWatson/jsnt-site 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%2FEliasWatson%2Fjsnt-site" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EliasWatson/jsnt-site [INFO] finished tweaking git repo https://github.com/EliasWatson/jsnt-site [INFO] tweaked toml for git repo https://github.com/EliasWatson/jsnt-site written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EliasWatson/jsnt-site 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/EliasWatson/jsnt-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2332286259ead2a6c92336186b6daa6a20ab841c681672bf3c0ac1268cdc2eb0 [INFO] running `Command { std: "docker" "start" "-a" "2332286259ead2a6c92336186b6daa6a20ab841c681672bf3c0ac1268cdc2eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2332286259ead2a6c92336186b6daa6a20ab841c681672bf3c0ac1268cdc2eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2332286259ead2a6c92336186b6daa6a20ab841c681672bf3c0ac1268cdc2eb0", kill_on_drop: false }` [INFO] [stdout] 2332286259ead2a6c92336186b6daa6a20ab841c681672bf3c0ac1268cdc2eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6a835871d0e5ddf304b1e74ba17e3b771ae7386b576cacd1c7947e3212aa5dc1 [INFO] running `Command { std: "docker" "start" "-a" "6a835871d0e5ddf304b1e74ba17e3b771ae7386b576cacd1c7947e3212aa5dc1", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking jsnt-site v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::regex_split::split_by_regex` [INFO] [stdout] --> src/template/template_page.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::regex_split::split_by_regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InlineElement` [INFO] [stdout] --> src/markdown/parser.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | use crate::markdown::document::{Document, Element, InlineElement, Line}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::regex_split::split_by_regex` [INFO] [stdout] --> src/template/template_page.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::regex_split::split_by_regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_line` and `add_str` are never used [INFO] [stdout] --> src/markdown/builder.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParagraphBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 10 | pub fn add_line(&mut self, line: Line) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_str(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/template/template_element.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl TemplateElementTemplates { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn add(&mut self, element_type: TemplateElementType, template: TemplateString) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DefaultVariable` is never constructed [INFO] [stdout] --> src/template/template_string.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum TemplateStringSection { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | DefaultVariable(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateStringSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsnt-site` (bin "jsnt-site") due to 2 previous errors; 4 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[clap(short, long)] [INFO] [stdout] 18 | | out: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/template/template_element.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl TemplateElementTemplates { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn add(&mut self, element_type: TemplateElementType, template: TemplateString) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | path: PathBuf, [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:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[clap(short, long)] [INFO] [stdout] 18 | | out: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsnt-site` (bin "jsnt-site" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6a835871d0e5ddf304b1e74ba17e3b771ae7386b576cacd1c7947e3212aa5dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a835871d0e5ddf304b1e74ba17e3b771ae7386b576cacd1c7947e3212aa5dc1", kill_on_drop: false }` [INFO] [stdout] 6a835871d0e5ddf304b1e74ba17e3b771ae7386b576cacd1c7947e3212aa5dc1