[INFO] cloning repository https://github.com/twilight-flower/rib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twilight-flower/rib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilight-flower%2Frib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilight-flower%2Frib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20a939860b726f601e53407b20422efd3687010d [INFO] testing twilight-flower/rib against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilight-flower%2Frib" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/twilight-flower/rib on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/twilight-flower/rib [INFO] finished tweaking git repo https://github.com/twilight-flower/rib [INFO] tweaked toml for git repo https://github.com/twilight-flower/rib written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/twilight-flower/rib 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maud v0.26.0 [INFO] [stderr] Downloaded maud_macros v0.26.0 [INFO] [stderr] Downloaded quick-xml v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b6dceb7f2f54b798ef81f8491453c333ce5217cd080498d057d6206647f2cc7 [INFO] running `Command { std: "docker" "start" "-a" "4b6dceb7f2f54b798ef81f8491453c333ce5217cd080498d057d6206647f2cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b6dceb7f2f54b798ef81f8491453c333ce5217cd080498d057d6206647f2cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6dceb7f2f54b798ef81f8491453c333ce5217cd080498d057d6206647f2cc7", kill_on_drop: false }` [INFO] [stdout] 4b6dceb7f2f54b798ef81f8491453c333ce5217cd080498d057d6206647f2cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37fff93c8bf69aafd8aacd71cbd5545fac2b8114495db45ef0cf61c877beb0a5 [INFO] running `Command { std: "docker" "start" "-a" "37fff93c8bf69aafd8aacd71cbd5545fac2b8114495db45ef0cf61c877beb0a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quick-xml v0.36.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Compiling maud v0.26.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling sanitize-filename v0.5.0 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling epub v2.1.2 [INFO] [stderr] Compiling argh_shared v0.1.12 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.15 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Compiling argh v0.1.12 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling rib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stylesheet` [INFO] [stdout] --> src/main.rs:366:35 [INFO] [stdout] | [INFO] [stdout] 366 | fn inject_styles(xhtml: &Vec, stylesheet: &Stylesheet, css_path: &PathBuf) -> (Vec, Option>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stylesheet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `css_path` [INFO] [stdout] --> src/main.rs:366:60 [INFO] [stdout] | [INFO] [stdout] 366 | fn inject_styles(xhtml: &Vec, stylesheet: &Stylesheet, css_path: &PathBuf) -> (Vec, Option>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_css_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:632:14 [INFO] [stdout] | [INFO] [stdout] 632 | for (id, mut path) in book_ids_and_paths { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct StyleFont { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 43 | value: String, [INFO] [stdout] 44 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleFont` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct StyleFontSize { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 49 | value: i64, [INFO] [stdout] 50 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleFontSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct StyleTextColor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 55 | value: String, [INFO] [stdout] 56 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleTextColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct StyleLinkColor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 61 | value: String, [INFO] [stdout] 62 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleLinkColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct StyleBackgroundColor { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 67 | value: String, [INFO] [stdout] 68 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleBackgroundColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct StyleLineSpacing { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 73 | value: f64, [INFO] [stdout] 74 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleLineSpacing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct StyleIndentation { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 79 | value: i64, [INFO] [stdout] 80 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleIndentation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct StyleMarginSize { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 85 | value: i64, [INFO] [stdout] 86 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleMarginSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct StyleMaxWidth { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 91 | value: i64, [INFO] [stdout] 92 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleMaxWidth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct StyleLimitImageSizeToViewportSize { [INFO] [stdout] | --------------------------------- field in this struct [INFO] [stdout] 97 | value: bool, [INFO] [stdout] 98 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleLimitImageSizeToViewportSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `has_no_override_styles`, and `has_override_styles` are never used [INFO] [stdout] --> src/main.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Stylesheet { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 118 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn has_no_override_styles (&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn has_override_styles (&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.72s [INFO] running `Command { std: "docker" "inspect" "37fff93c8bf69aafd8aacd71cbd5545fac2b8114495db45ef0cf61c877beb0a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fff93c8bf69aafd8aacd71cbd5545fac2b8114495db45ef0cf61c877beb0a5", kill_on_drop: false }` [INFO] [stdout] 37fff93c8bf69aafd8aacd71cbd5545fac2b8114495db45ef0cf61c877beb0a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed5fa5c3406d3b71ba4ecada54897c94e6278ec67abb6dd923eb39c1d14fbc42 [INFO] running `Command { std: "docker" "start" "-a" "ed5fa5c3406d3b71ba4ecada54897c94e6278ec67abb6dd923eb39c1d14fbc42", kill_on_drop: false }` [INFO] [stderr] Compiling rib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stylesheet` [INFO] [stdout] --> src/main.rs:366:35 [INFO] [stdout] | [INFO] [stdout] 366 | fn inject_styles(xhtml: &Vec, stylesheet: &Stylesheet, css_path: &PathBuf) -> (Vec, Option>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stylesheet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `css_path` [INFO] [stdout] --> src/main.rs:366:60 [INFO] [stdout] | [INFO] [stdout] 366 | fn inject_styles(xhtml: &Vec, stylesheet: &Stylesheet, css_path: &PathBuf) -> (Vec, Option>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_css_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:632:14 [INFO] [stdout] | [INFO] [stdout] 632 | for (id, mut path) in book_ids_and_paths { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct StyleFont { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 43 | value: String, [INFO] [stdout] 44 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleFont` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct StyleFontSize { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 49 | value: i64, [INFO] [stdout] 50 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleFontSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct StyleTextColor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 55 | value: String, [INFO] [stdout] 56 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleTextColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct StyleLinkColor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 61 | value: String, [INFO] [stdout] 62 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleLinkColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct StyleBackgroundColor { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 67 | value: String, [INFO] [stdout] 68 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleBackgroundColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct StyleLineSpacing { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 73 | value: f64, [INFO] [stdout] 74 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleLineSpacing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct StyleIndentation { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 79 | value: i64, [INFO] [stdout] 80 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleIndentation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct StyleMarginSize { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 85 | value: i64, [INFO] [stdout] 86 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleMarginSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct StyleMaxWidth { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 91 | value: i64, [INFO] [stdout] 92 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleMaxWidth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `override_book` is never read [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct StyleLimitImageSizeToViewportSize { [INFO] [stdout] | --------------------------------- field in this struct [INFO] [stdout] 97 | value: bool, [INFO] [stdout] 98 | override_book: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleLimitImageSizeToViewportSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `has_no_override_styles`, and `has_override_styles` are never used [INFO] [stdout] --> src/main.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Stylesheet { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 118 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn has_no_override_styles (&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn has_override_styles (&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "ed5fa5c3406d3b71ba4ecada54897c94e6278ec67abb6dd923eb39c1d14fbc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5fa5c3406d3b71ba4ecada54897c94e6278ec67abb6dd923eb39c1d14fbc42", kill_on_drop: false }` [INFO] [stdout] ed5fa5c3406d3b71ba4ecada54897c94e6278ec67abb6dd923eb39c1d14fbc42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2463c9d9af3cd69600aea2a43c794a184e647528c80dddd645992ee3ef3028d [INFO] running `Command { std: "docker" "start" "-a" "d2463c9d9af3cd69600aea2a43c794a184e647528c80dddd645992ee3ef3028d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `stylesheet` [INFO] [stderr] --> src/main.rs:366:35 [INFO] [stderr] | [INFO] [stderr] 366 | fn inject_styles(xhtml: &Vec, stylesheet: &Stylesheet, css_path: &PathBuf) -> (Vec, Option>) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stylesheet` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `css_path` [INFO] [stderr] --> src/main.rs:366:60 [INFO] [stderr] | [INFO] [stderr] 366 | fn inject_styles(xhtml: &Vec, stylesheet: &Stylesheet, css_path: &PathBuf) -> (Vec, Option>) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_css_path` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:632:14 [INFO] [stderr] | [INFO] [stderr] 632 | for (id, mut path) in book_ids_and_paths { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 42 | struct StyleFont { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 43 | value: String, [INFO] [stderr] 44 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleFont` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 48 | struct StyleFontSize { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 49 | value: i64, [INFO] [stderr] 50 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleFontSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 54 | struct StyleTextColor { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 55 | value: String, [INFO] [stderr] 56 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleTextColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 60 | struct StyleLinkColor { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 61 | value: String, [INFO] [stderr] 62 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleLinkColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 66 | struct StyleBackgroundColor { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 67 | value: String, [INFO] [stderr] 68 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleBackgroundColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 72 | struct StyleLineSpacing { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 73 | value: f64, [INFO] [stderr] 74 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleLineSpacing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 78 | struct StyleIndentation { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 79 | value: i64, [INFO] [stderr] 80 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleIndentation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 84 | struct StyleMarginSize { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 85 | value: i64, [INFO] [stderr] 86 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleMarginSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 90 | struct StyleMaxWidth { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 91 | value: i64, [INFO] [stderr] 92 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleMaxWidth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `override_book` is never read [INFO] [stderr] --> src/main.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 96 | struct StyleLimitImageSizeToViewportSize { [INFO] [stderr] | --------------------------------- field in this struct [INFO] [stderr] 97 | value: bool, [INFO] [stderr] 98 | override_book: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StyleLimitImageSizeToViewportSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `empty`, `has_no_override_styles`, and `has_override_styles` are never used [INFO] [stderr] --> src/main.rs:118:8 [INFO] [stderr] | [INFO] [stderr] 117 | impl Stylesheet { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 118 | fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | fn has_no_override_styles (&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | fn has_override_styles (&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rib` (bin "rib" test) generated 14 warnings (run `cargo fix --bin "rib" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rib-d2c34b27d2f295db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2463c9d9af3cd69600aea2a43c794a184e647528c80dddd645992ee3ef3028d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2463c9d9af3cd69600aea2a43c794a184e647528c80dddd645992ee3ef3028d", kill_on_drop: false }` [INFO] [stdout] d2463c9d9af3cd69600aea2a43c794a184e647528c80dddd645992ee3ef3028d