[INFO] cloning repository https://github.com/chorman0773/mdbook-fiction-tools
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chorman0773/mdbook-fiction-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fmdbook-fiction-tools", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fmdbook-fiction-tools'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0788b3891fbc11638dde05e3e175a3489df5d021
[INFO] building chorman0773/mdbook-fiction-tools against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fmdbook-fiction-tools" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chorman0773/mdbook-fiction-tools
[INFO] finished tweaking git repo https://github.com/chorman0773/mdbook-fiction-tools
[INFO] tweaked toml for git repo https://github.com/chorman0773/mdbook-fiction-tools written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chorman0773/mdbook-fiction-tools on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chorman0773/mdbook-fiction-tools 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0e991703b83dd4b924798668f8dde2a1b9ae02cf7e88579a838d953be810ca5
[INFO] running `Command { std: "docker" "start" "-a" "b0e991703b83dd4b924798668f8dde2a1b9ae02cf7e88579a838d953be810ca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0e991703b83dd4b924798668f8dde2a1b9ae02cf7e88579a838d953be810ca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0e991703b83dd4b924798668f8dde2a1b9ae02cf7e88579a838d953be810ca5", kill_on_drop: false }`
[INFO] [stdout] b0e991703b83dd4b924798668f8dde2a1b9ae02cf7e88579a838d953be810ca5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c87424218527eb354b440f2902cc53df5d9fb8ef06e98ffef286ce66119595a
[INFO] running `Command { std: "docker" "start" "-a" "7c87424218527eb354b440f2902cc53df5d9fb8ef06e98ffef286ce66119595a", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling syn v2.0.91
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling pulldown-cmark v0.12.2
[INFO] [stderr]    Compiling num-modular v0.6.1
[INFO] [stderr]    Compiling pulldown-cmark v0.10.3
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.10.1
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.11.0
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling num-order v1.2.0
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling terminal_size v0.4.1
[INFO] [stderr]    Compiling clap_builder v4.5.23
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling thiserror-impl v2.0.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling bstr v1.11.1
[INFO] [stderr]    Compiling with_builtin_macros-proc_macros v0.0.3
[INFO] [stderr]    Compiling env_logger v0.11.6
[INFO] [stderr]    Compiling opener v0.7.2
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling topological-sort v0.2.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling with_builtin_macros v0.0.3
[INFO] [stderr]    Compiling pulldown-cmark-to-cmark v20.0.0
[INFO] [stderr]    Compiling thiserror v2.0.9
[INFO] [stderr]    Compiling xml-rs v0.8.24
[INFO] [stderr]    Compiling pest v2.7.15
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling clap_complete v4.5.40
[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 indexmap v2.7.0
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling handlebars v6.2.0
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling mdbook v0.4.43
[INFO] [stderr]    Compiling mdbook-fiction-tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BookChapter` and `RichTextParser`
[INFO] [stdout]  --> src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bookir::{nav::NavTree, Book, BookChapter, ExtraItem, RichTextParser};
[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: `SerList`
[INFO] [stdout]  --> src/lib.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 | use config::{Config, OutputFile, OutputType, SerList};
[INFO] [stdout]   |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::Chapter`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mdbook::{book::Chapter, renderer::RenderContext, BookItem};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options` and `Parser`
[INFO] [stdout]  --> src/lib.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pulldown_cmark::{Options, Parser};
[INFO] [stdout]   |                      ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]   --> src/lib.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     path::{Path, PathBuf},
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/config.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/bookir.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[cfg(feature = "math")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:113:11
[INFO] [stdout]     |
[INFO] [stdout] 113 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Stdin` and `self`
[INFO] [stdout]  --> src/bookir.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Stdin};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> src/bookir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process::Stdio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `num::NonZero` and `process::Command`
[INFO] [stdout]  --> src/bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num::NonZero,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     process::Command,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name::Name`
[INFO] [stdout]   --> src/bookir.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ::xml::{name::Name, reader::XmlEvent, EventReader};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::BookItems`
[INFO] [stdout]   --> src/bookir.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use mdbook::{book::BookItems, BookItem};
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InlineStr` and `LinkType`
[INFO] [stdout]   --> src/bookir.rs:15:59
[INFO] [stdout]    |
[INFO] [stdout] 15 |     CodeBlockKind, Event, HeadingLevel as MdHeadingLevel, InlineStr, LinkType, Parser, Tag, TagEnd,
[INFO] [stdout]    |                                                           ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/nav.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, Cow};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/bookir/nav.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bookir/nav.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/bookir/nav.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::name::Name`
[INFO] [stdout]  --> src/bookir/nav.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use xml::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::namespace::Namespace`
[INFO] [stdout]  --> src/bookir/nav.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use xml::namespace::Namespace;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventWriter` and `XmlEvent`
[INFO] [stdout]  --> src/bookir/nav.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use xml::writer::{EventWriter, XmlEvent};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/str.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, Cow},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:194:19
[INFO] [stdout]     |
[INFO] [stdout] 194 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:196:19
[INFO] [stdout]     |
[INFO] [stdout] 196 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:198:23
[INFO] [stdout]     |
[INFO] [stdout] 198 |             #[cfg(not(feature = "math"))]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/lib.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[cfg(feature = "math")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/config.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::SingleItem(it) => (1, Some(1)),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:387:37
[INFO] [stdout]     |
[INFO] [stdout] 387 |             Tag::FootnoteDefinition(cow_str) => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:396:17
[INFO] [stdout]     |
[INFO] [stdout] 396 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:399:17
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:416:17
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:419:17
[INFO] [stdout]     |
[INFO] [stdout] 419 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata_block_kind`
[INFO] [stdout]    --> src/bookir.rs:435:32
[INFO] [stdout]     |
[INFO] [stdout] 435 |             Tag::MetadataBlock(metadata_block_kind) => unimplemented!("Metadata should not parse"),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_block_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/lib.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                         it @ BookItem::PartTitle(title) => {
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/lib.rs:131:60
[INFO] [stdout]     |
[INFO] [stdout] 131 | ...                   .map_or(&**title, |(l, r)| l)
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     mut options: bookir::RichTextOptions,
[INFO] [stdout]    |     ----^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut extra_files = helpers::read_dir_recursive(&src)?
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Output` and `helpers`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:3:73
[INFO] [stdout]   |
[INFO] [stdout] 3 |     bookir::RichTextOptions, config::BasicConfig, gen_collected_output, helpers, Output,
[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: `serde_json::Error`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |             use std::io::Write;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/mdbook-add-copyright.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut supports = if let Some(key) = args.next() {
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s
[INFO] running `Command { std: "docker" "inspect" "7c87424218527eb354b440f2902cc53df5d9fb8ef06e98ffef286ce66119595a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c87424218527eb354b440f2902cc53df5d9fb8ef06e98ffef286ce66119595a", kill_on_drop: false }`
[INFO] [stdout] 7c87424218527eb354b440f2902cc53df5d9fb8ef06e98ffef286ce66119595a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64ba32a757b8922f6927a52fb3e56e7bb020176876adf0f3295488ca1dfe0656
[INFO] running `Command { std: "docker" "start" "-a" "64ba32a757b8922f6927a52fb3e56e7bb020176876adf0f3295488ca1dfe0656", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `BookChapter` and `RichTextParser`
[INFO] [stdout]  --> src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bookir::{nav::NavTree, Book, BookChapter, ExtraItem, RichTextParser};
[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: `SerList`
[INFO] [stdout]  --> src/lib.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 | use config::{Config, OutputFile, OutputType, SerList};
[INFO] [stdout]   |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::Chapter`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mdbook::{book::Chapter, renderer::RenderContext, BookItem};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options` and `Parser`
[INFO] [stdout]  --> src/lib.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pulldown_cmark::{Options, Parser};
[INFO] [stdout]   |                      ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]   --> src/lib.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     path::{Path, PathBuf},
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/config.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/bookir.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[cfg(feature = "math")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:113:11
[INFO] [stdout]     |
[INFO] [stdout] 113 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Stdin` and `self`
[INFO] [stdout]  --> src/bookir.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Stdin};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> src/bookir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process::Stdio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `num::NonZero` and `process::Command`
[INFO] [stdout]  --> src/bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num::NonZero,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     process::Command,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name::Name`
[INFO] [stdout]   --> src/bookir.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ::xml::{name::Name, reader::XmlEvent, EventReader};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::BookItems`
[INFO] [stdout]   --> src/bookir.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use mdbook::{book::BookItems, BookItem};
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InlineStr` and `LinkType`
[INFO] [stdout]   --> src/bookir.rs:15:59
[INFO] [stdout]    |
[INFO] [stdout] 15 |     CodeBlockKind, Event, HeadingLevel as MdHeadingLevel, InlineStr, LinkType, Parser, Tag, TagEnd,
[INFO] [stdout]    |                                                           ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/nav.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, Cow};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/bookir/nav.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bookir/nav.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/bookir/nav.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::name::Name`
[INFO] [stdout]  --> src/bookir/nav.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use xml::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::namespace::Namespace`
[INFO] [stdout]  --> src/bookir/nav.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use xml::namespace::Namespace;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventWriter` and `XmlEvent`
[INFO] [stdout]  --> src/bookir/nav.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use xml::writer::{EventWriter, XmlEvent};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/str.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, Cow},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:194:19
[INFO] [stdout]     |
[INFO] [stdout] 194 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:196:19
[INFO] [stdout]     |
[INFO] [stdout] 196 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:198:23
[INFO] [stdout]     |
[INFO] [stdout] 198 |             #[cfg(not(feature = "math"))]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/lib.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[cfg(feature = "math")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/config.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::SingleItem(it) => (1, Some(1)),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:387:37
[INFO] [stdout]     |
[INFO] [stdout] 387 |             Tag::FootnoteDefinition(cow_str) => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:396:17
[INFO] [stdout]     |
[INFO] [stdout] 396 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:399:17
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:416:17
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:419:17
[INFO] [stdout]     |
[INFO] [stdout] 419 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata_block_kind`
[INFO] [stdout]    --> src/bookir.rs:435:32
[INFO] [stdout]     |
[INFO] [stdout] 435 |             Tag::MetadataBlock(metadata_block_kind) => unimplemented!("Metadata should not parse"),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_block_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/lib.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                         it @ BookItem::PartTitle(title) => {
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/lib.rs:131:60
[INFO] [stdout]     |
[INFO] [stdout] 131 | ...                   .map_or(&**title, |(l, r)| l)
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     mut options: bookir::RichTextOptions,
[INFO] [stdout]    |     ----^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut extra_files = helpers::read_dir_recursive(&src)?
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Output` and `helpers`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:3:73
[INFO] [stdout]   |
[INFO] [stdout] 3 |     bookir::RichTextOptions, config::BasicConfig, gen_collected_output, helpers, Output,
[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: `serde_json::Error`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |             use std::io::Write;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mdbook-fiction-tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/mdbook-add-copyright.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut supports = if let Some(key) = args.next() {
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/mdbook-add-copyright.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut supports = if let Some(key) = args.next() {
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Output` and `helpers`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:3:73
[INFO] [stdout]   |
[INFO] [stdout] 3 |     bookir::RichTextOptions, config::BasicConfig, gen_collected_output, helpers, Output,
[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: `serde_json::Error`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |             use std::io::Write;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BookChapter` and `RichTextParser`
[INFO] [stdout]  --> src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bookir::{nav::NavTree, Book, BookChapter, ExtraItem, RichTextParser};
[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: `SerList`
[INFO] [stdout]  --> src/lib.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 | use config::{Config, OutputFile, OutputType, SerList};
[INFO] [stdout]   |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::Chapter`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mdbook::{book::Chapter, renderer::RenderContext, BookItem};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options` and `Parser`
[INFO] [stdout]  --> src/lib.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pulldown_cmark::{Options, Parser};
[INFO] [stdout]   |                      ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]   --> src/lib.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     path::{Path, PathBuf},
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/config.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `os_str_display` has been stable since 1.87.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> tests/run-mdbook-tests.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(exit_status_error, os_str_display)]
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/bookir.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[cfg(feature = "math")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:113:11
[INFO] [stdout]     |
[INFO] [stdout] 113 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Stdin` and `self`
[INFO] [stdout]  --> src/bookir.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Stdin};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> src/bookir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process::Stdio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `num::NonZero` and `process::Command`
[INFO] [stdout]  --> src/bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num::NonZero,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     process::Command,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name::Name`
[INFO] [stdout]   --> src/bookir.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ::xml::{name::Name, reader::XmlEvent, EventReader};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::BookItems`
[INFO] [stdout]   --> src/bookir.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use mdbook::{book::BookItems, BookItem};
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InlineStr` and `LinkType`
[INFO] [stdout]   --> src/bookir.rs:15:59
[INFO] [stdout]    |
[INFO] [stdout] 15 |     CodeBlockKind, Event, HeadingLevel as MdHeadingLevel, InlineStr, LinkType, Parser, Tag, TagEnd,
[INFO] [stdout]    |                                                           ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/nav.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, Cow};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/bookir/nav.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bookir/nav.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/bookir/nav.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::name::Name`
[INFO] [stdout]  --> src/bookir/nav.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use xml::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::namespace::Namespace`
[INFO] [stdout]  --> src/bookir/nav.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use xml::namespace::Namespace;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventWriter` and `XmlEvent`
[INFO] [stdout]  --> src/bookir/nav.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use xml::writer::{EventWriter, XmlEvent};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/str.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, Cow},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:194:19
[INFO] [stdout]     |
[INFO] [stdout] 194 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:196:19
[INFO] [stdout]     |
[INFO] [stdout] 196 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:198:23
[INFO] [stdout]     |
[INFO] [stdout] 198 |             #[cfg(not(feature = "math"))]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/lib.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[cfg(feature = "math")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `epub`, `epub-signatures`, `pdf`, `pulldown-latex`, and `xhtml`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/config.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::SingleItem(it) => (1, Some(1)),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/lib.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                         it @ BookItem::PartTitle(title) => {
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:387:37
[INFO] [stdout]     |
[INFO] [stdout] 387 |             Tag::FootnoteDefinition(cow_str) => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:396:17
[INFO] [stdout]     |
[INFO] [stdout] 396 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:399:17
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:416:17
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:419:17
[INFO] [stdout]     |
[INFO] [stdout] 419 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata_block_kind`
[INFO] [stdout]    --> src/bookir.rs:435:32
[INFO] [stdout]     |
[INFO] [stdout] 435 |             Tag::MetadataBlock(metadata_block_kind) => unimplemented!("Metadata should not parse"),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_block_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/lib.rs:131:60
[INFO] [stdout]     |
[INFO] [stdout] 131 | ...                   .map_or(&**title, |(l, r)| l)
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     mut options: bookir::RichTextOptions,
[INFO] [stdout]    |     ----^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut extra_files = helpers::read_dir_recursive(&src)?
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.76s
[INFO] running `Command { std: "docker" "inspect" "64ba32a757b8922f6927a52fb3e56e7bb020176876adf0f3295488ca1dfe0656", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64ba32a757b8922f6927a52fb3e56e7bb020176876adf0f3295488ca1dfe0656", kill_on_drop: false }`
[INFO] [stdout] 64ba32a757b8922f6927a52fb3e56e7bb020176876adf0f3295488ca1dfe0656
