[INFO] cloning repository https://github.com/Hridayesa/html-77000 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hridayesa/html-77000" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHridayesa%2Fhtml-77000", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHridayesa%2Fhtml-77000'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66850e086833a3bcf5e5dd2a9c90ea0e7532ba97 [INFO] building Hridayesa/html-77000 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHridayesa%2Fhtml-77000" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Hridayesa/html-77000 [INFO] finished tweaking git repo https://github.com/Hridayesa/html-77000 [INFO] tweaked toml for git repo https://github.com/Hridayesa/html-77000 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hridayesa/html-77000 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hridayesa/html-77000 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded ctor-proc-macro v0.0.5 [INFO] [stderr] Downloaded ctor v0.4.1 [INFO] [stderr] Downloaded ego-tree v0.10.0 [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded cssparser v0.34.0 [INFO] [stderr] Downloaded html5ever v0.29.1 [INFO] [stderr] Downloaded derive_more v0.99.19 [INFO] [stderr] Downloaded selectors v0.26.0 [INFO] [stderr] Downloaded winnow v0.7.4 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded deunicode v1.6.1 [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded chrono v0.4.40 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded markup5ever v0.14.1 [INFO] [stderr] Downloaded servo_arc v0.4.0 [INFO] [stderr] Downloaded scraper v0.23.1 [INFO] [stderr] Downloaded windows-link v0.1.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded dtor-proc-macro v0.0.5 [INFO] [stderr] Downloaded dtor v0.0.5 [INFO] [stderr] Downloaded match_token v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a59eaf0ff5787632c20ea53cde7cc048f642abe786e6b740dc9e69622e035491 [INFO] running `Command { std: "docker" "start" "-a" "a59eaf0ff5787632c20ea53cde7cc048f642abe786e6b740dc9e69622e035491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a59eaf0ff5787632c20ea53cde7cc048f642abe786e6b740dc9e69622e035491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a59eaf0ff5787632c20ea53cde7cc048f642abe786e6b740dc9e69622e035491", kill_on_drop: false }` [INFO] [stdout] a59eaf0ff5787632c20ea53cde7cc048f642abe786e6b740dc9e69622e035491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 532708971e223aec5e37a19c0abbb577910d5ab3c30c36e4e1b002b976818cd2 [INFO] running `Command { std: "docker" "start" "-a" "532708971e223aec5e37a19c0abbb577910d5ab3c30c36e4e1b002b976818cd2", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling deunicode v1.6.1 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling dtor v0.0.5 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling ctor v0.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling Html-77000 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/book_builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [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: `error::*` [INFO] [stdout] --> src/book_builder.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{error::*, utils}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/config.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CanNotAddLine_PoemHasNoNumber` should have an upper camel case name [INFO] [stdout] --> src/error.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | CanNotAddLine_PoemHasNoNumber{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CanNotAddLinePoemHasNoNumber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/report.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/report.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Result, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report` [INFO] [stdout] --> src/main.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn generate_report(report: BookReport) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_text` [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | fn write_report(report_text: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_if_error` is never used [INFO] [stdout] --> src/book_builder.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl BookBuilder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check_if_error(&mut self, f: F) -> 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: field `nn` is never read [INFO] [stdout] --> src/report.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BookReport{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | nn: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookReport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.22s [INFO] running `Command { std: "docker" "inspect" "532708971e223aec5e37a19c0abbb577910d5ab3c30c36e4e1b002b976818cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532708971e223aec5e37a19c0abbb577910d5ab3c30c36e4e1b002b976818cd2", kill_on_drop: false }` [INFO] [stdout] 532708971e223aec5e37a19c0abbb577910d5ab3c30c36e4e1b002b976818cd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cbdc5e4a5d039ae387a4b1fab19afc455566d0108ab0131ebb5107d8dd84275 [INFO] running `Command { std: "docker" "start" "-a" "7cbdc5e4a5d039ae387a4b1fab19afc455566d0108ab0131ebb5107d8dd84275", kill_on_drop: false }` [INFO] [stderr] Compiling Html-77000 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/book_builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [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: `error::*` [INFO] [stdout] --> src/book_builder.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{error::*, utils}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/config.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CanNotAddLine_PoemHasNoNumber` should have an upper camel case name [INFO] [stdout] --> src/error.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | CanNotAddLine_PoemHasNoNumber{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CanNotAddLinePoemHasNoNumber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/report.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/report.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Result, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report` [INFO] [stdout] --> src/main.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn generate_report(report: BookReport) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_text` [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | fn write_report(report_text: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_if_error` is never used [INFO] [stdout] --> src/book_builder.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl BookBuilder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check_if_error(&mut self, f: F) -> 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: field `nn` is never read [INFO] [stdout] --> src/report.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BookReport{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | nn: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BookReport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "7cbdc5e4a5d039ae387a4b1fab19afc455566d0108ab0131ebb5107d8dd84275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbdc5e4a5d039ae387a4b1fab19afc455566d0108ab0131ebb5107d8dd84275", kill_on_drop: false }` [INFO] [stdout] 7cbdc5e4a5d039ae387a4b1fab19afc455566d0108ab0131ebb5107d8dd84275