[INFO] cloning repository https://github.com/jclulow/rust-webman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jclulow/rust-webman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Frust-webman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Frust-webman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39bdd6d102c12a9a44767735c106f1410b387ec1 [INFO] checking jclulow/rust-webman against master#19f42cb9bb65555e7d95dab7d17573ae6c5d634c for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Frust-webman" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jclulow/rust-webman on toolchain 19f42cb9bb65555e7d95dab7d17573ae6c5d634c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jclulow/rust-webman [INFO] finished tweaking git repo https://github.com/jclulow/rust-webman [INFO] tweaked toml for git repo https://github.com/jclulow/rust-webman written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jclulow/rust-webman 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" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/jclulow/rust-jmclib.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afcbced2f154e0ed9d9d5e89e9502d88e75be8b988881ded33f91ea2d1ac58d4 [INFO] running `Command { std: "docker" "start" "-a" "afcbced2f154e0ed9d9d5e89e9502d88e75be8b988881ded33f91ea2d1ac58d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afcbced2f154e0ed9d9d5e89e9502d88e75be8b988881ded33f91ea2d1ac58d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afcbced2f154e0ed9d9d5e89e9502d88e75be8b988881ded33f91ea2d1ac58d4", kill_on_drop: false }` [INFO] [stdout] afcbced2f154e0ed9d9d5e89e9502d88e75be8b988881ded33f91ea2d1ac58d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d59a56c88ffec7b7004b8ed3060be8266ca707670bd4623889fd378837bd92d5 [INFO] running `Command { std: "docker" "start" "-a" "d59a56c88ffec7b7004b8ed3060be8266ca707670bd4623889fd378837bd92d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking jmclib v0.1.0 (https://github.com/jclulow/rust-jmclib.git#6bd3ef80) [INFO] [stderr] Checking webman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::common::*` [INFO] [stdout] --> src/mandir.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::common::*` [INFO] [stdout] --> src/mandir.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mandoc` is never read [INFO] [stdout] --> src/mandir.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Mandir { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | mandoc: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mandir` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `title`, and `subsections` are never read [INFO] [stdout] --> src/mandir.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TocSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 24 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub subsections: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TocSection` 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 `name` and `title` are never read [INFO] [stdout] --> src/mandir.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TocSubsection { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TocSubsection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pages` and `lookup` are never used [INFO] [stdout] --> src/mandir.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Mandir { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn pages(&self, sect: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn lookup(&self, sect: Option<&str>, page: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Typewriter` is never constructed [INFO] [stdout] --> src/typewriter.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Typewriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typewriter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> src/typewriter.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_html`, and `append` are never used [INFO] [stdout] --> src/typewriter.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Typewriter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Typewriter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn to_html(&mut self, include_br: bool) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn append(&mut self, c: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mandoc` is never read [INFO] [stdout] --> src/mandir.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Mandir { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | mandoc: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mandir` 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 `name`, `title`, and `subsections` are never read [INFO] [stdout] --> src/mandir.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TocSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 24 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub subsections: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TocSection` 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 `name` and `title` are never read [INFO] [stdout] --> src/mandir.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TocSubsection { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TocSubsection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pages` and `lookup` are never used [INFO] [stdout] --> src/mandir.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Mandir { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn pages(&self, sect: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn lookup(&self, sect: Option<&str>, page: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.63s [INFO] running `Command { std: "docker" "inspect" "d59a56c88ffec7b7004b8ed3060be8266ca707670bd4623889fd378837bd92d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59a56c88ffec7b7004b8ed3060be8266ca707670bd4623889fd378837bd92d5", kill_on_drop: false }` [INFO] [stdout] d59a56c88ffec7b7004b8ed3060be8266ca707670bd4623889fd378837bd92d5