[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 try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Frust-webman" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jclulow/rust-webman on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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-tc2/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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a88f8a583f0ee732a34fef72a75918858c10c37a618d5e76e825700ca93a29f [INFO] running `Command { std: "docker" "start" "-a" "5a88f8a583f0ee732a34fef72a75918858c10c37a618d5e76e825700ca93a29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a88f8a583f0ee732a34fef72a75918858c10c37a618d5e76e825700ca93a29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a88f8a583f0ee732a34fef72a75918858c10c37a618d5e76e825700ca93a29f", kill_on_drop: false }` [INFO] [stdout] 5a88f8a583f0ee732a34fef72a75918858c10c37a618d5e76e825700ca93a29f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dreturn-local-variable-ptr" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 844523ecd5e0816fd30fdee2f6c5b22206141b8ba5c6fe480019afe754874cc2 [INFO] running `Command { std: "docker" "start" "-a" "844523ecd5e0816fd30fdee2f6c5b22206141b8ba5c6fe480019afe754874cc2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking remove_dir_all v0.5.3 [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 rand_core v0.5.1 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [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: 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.87s [INFO] running `Command { std: "docker" "inspect" "844523ecd5e0816fd30fdee2f6c5b22206141b8ba5c6fe480019afe754874cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844523ecd5e0816fd30fdee2f6c5b22206141b8ba5c6fe480019afe754874cc2", kill_on_drop: false }` [INFO] [stdout] 844523ecd5e0816fd30fdee2f6c5b22206141b8ba5c6fe480019afe754874cc2