[INFO] fetching crate iepub 0.4.1...
[INFO] checking iepub-0.4.1 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate iepub 0.4.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate iepub 0.4.1 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate iepub 0.4.1
[INFO] finished tweaking crates.io crate iepub 0.4.1
[INFO] tweaked toml for crates.io crate iepub 0.4.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 139 packages to latest compatible versions
[INFO] [stderr]       Adding quick-xml v0.34.0 (available: v0.37.0)
[INFO] [stderr]       Adding shadow-rs v0.29.0 (available: v0.35.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b83259219a71f71eead2c113f28670410d188b407ba3cdf601b5eea05cc39db9
[INFO] running `Command { std: "docker" "start" "-a" "b83259219a71f71eead2c113f28670410d188b407ba3cdf601b5eea05cc39db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b83259219a71f71eead2c113f28670410d188b407ba3cdf601b5eea05cc39db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b83259219a71f71eead2c113f28670410d188b407ba3cdf601b5eea05cc39db9", kill_on_drop: false }`
[INFO] [stdout] b83259219a71f71eead2c113f28670410d188b407ba3cdf601b5eea05cc39db9
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d7a932920fbf588e4f2a5d4cf6f0e31827630220ab29c4693747748d0a39bc6
[INFO] running `Command { std: "docker" "start" "-a" "4d7a932920fbf588e4f2a5d4cf6f0e31827630220ab29c4693747748d0a39bc6", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling const_fn v0.4.10
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.33
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling tz-rs v0.6.14
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling is_debug v1.0.1
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking crc v3.2.1
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling const_format v0.2.33
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking hashbrown v0.15.0
[INFO] [stderr]     Checking tzdb_data v0.1.3
[INFO] [stderr]    Compiling zip v2.2.0
[INFO] [stderr]     Checking lockfree-object-pool v0.1.6
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking bumpalo v3.16.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking flate2 v1.0.34
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking zopfli v0.8.1
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking deflate64 v0.1.9
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]    Compiling iepub-derive v0.4.1
[INFO] [stderr]     Checking quick-xml v0.34.0
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling libz-sys v1.1.20
[INFO] [stderr]    Compiling libgit2-sys v0.17.0+1.8.1
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]     Checking tzdb v0.6.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking tinyget v1.0.2
[INFO] [stderr]    Compiling git2 v0.19.0
[INFO] [stderr]     Checking shadow-rs v0.29.0
[INFO] [stderr]    Compiling iepub v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> src/mobi/writer.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{BufWriter, Cursor, Seek, Write},
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `epub::writer::EpubWriterTrait`
[INFO] [stdout]    --> src/epub/core.rs:538:17
[INFO] [stdout]     |
[INFO] [stdout] 538 |     use crate::{epub::writer::EpubWriterTrait, prelude::*};
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> src/mobi/writer.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{BufWriter, Cursor, Seek, Write},
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/epub/core.rs:614:9
[INFO] [stdout]     |
[INFO] [stdout] 614 |         EpubWriter::write_to_mem(&mut book).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^----------- argument #2 of type `bool` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/epub/writer.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout] 73  |     pub fn write_to_mem(book: &mut EpubBook, append_title: bool) -> IResult<Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^ -------------------  ------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 614 |         EpubWriter::write_to_mem(&mut book, /* bool */).unwrap();
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/adapter/core.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |         EpubWriter::write_to_mem(&mut epub).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^----------- argument #2 of type `bool` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/epub/writer.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout] 73  |     pub fn write_to_mem(book: &mut EpubBook, append_title: bool) -> IResult<Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^ -------------------  ------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 380 |         EpubWriter::write_to_mem(&mut epub, /* bool */).unwrap();
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/mobi/reader.rs:736:17
[INFO] [stdout]     |
[INFO] [stdout] 736 |             let items = table.iter().enumerate().map(|(index, (name, map))| {
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `home` is never read
[INFO] [stdout]  --> src/path.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) struct Path {
[INFO] [stdout]   |                   ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     home: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Path` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_data`, `set_language`, and `get_links` are never used
[INFO] [stdout]    --> src/epub/core.rs:85:8
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl EpubHtml {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85  |     fn read_data(&mut self) -> Option<&[u8]> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn set_language(&mut self, lang: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn get_links(&mut self) -> Option<&mut Vec<EpubLink>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reader` is never read
[INFO] [stdout]    --> src/epub/common.rs:28:17
[INFO] [stdout]     |
[INFO] [stdout] 28  |                   reader:Option<std::rc::Rc<std::cell::RefCell< Box<dyn EpubReaderTrait>>>>,
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/epub/core.rs:198:1
[INFO] [stdout]     |
[INFO] [stdout] 198 | / epub_base_field! {
[INFO] [stdout] 199 | | ///
[INFO] [stdout] 200 | | /// 目录信息
[INFO] [stdout] 201 | | ///
[INFO] [stdout] ...   |
[INFO] [stdout] 205 | | pub struct EpubNav {
[INFO] [stdout]     | |            ------- field in this struct
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | | }
[INFO] [stdout] 211 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `epub_base_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lazy` is never read
[INFO] [stdout]    --> src/epub/reader.rs:550:5
[INFO] [stdout]     |
[INFO] [stdout] 548 | struct EpubReader<T> {
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] 549 |     /// 是否懒加载
[INFO] [stdout] 550 |     lazy: bool,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EpubReader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `INDXRecord` is never constructed
[INFO] [stdout]    --> src/mobi/common.rs:225:19
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub(crate) struct INDXRecord {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `INDXRecord` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NCX` is never constructed
[INFO] [stdout]    --> src/mobi/common.rs:290:19
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub(crate) struct NCX {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `raw` and `index` are never read
[INFO] [stdout]  --> src/mobi/core.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MobiHtml {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |     raw: Option<Vec<u8>>,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 7 |     /// 在整个文本中的索引位置，读取时使用
[INFO] [stdout] 8 |     index: usize,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MobiHtml` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `media_type` is never read
[INFO] [stdout]    --> src/mobi/core.rs:145:16
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct MobiAssets {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 144 |     pub(crate) _file_name: String,
[INFO] [stdout] 145 |     pub(crate) media_type: String,
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MobiAssets` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]    --> src/mobi/nav.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub(crate) struct NavFilePos {
[INFO] [stdout]     |                   ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 162 |     id: usize,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]  --> src/mobi/image.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Cover {
[INFO] [stdout]   | ---------- method in this implementation
[INFO] [stdout] 6 |     pub(crate) fn write(&mut self, file: &str) -> std::io::Result<()> {
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `load` is never used
[INFO] [stdout]    --> src/mobi/reader.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout] 285 | impl INDXRecord {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 286 |     pub fn load<T>(reader: &mut T) -> IResult<Self>
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_unset_end` is never used
[INFO] [stdout]    --> src/mobi/reader.rs:332:4
[INFO] [stdout]     |
[INFO] [stdout] 332 | fn count_unset_end(v: u8) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_var_len` is never used
[INFO] [stdout]    --> src/mobi/reader.rs:341:4
[INFO] [stdout]     |
[INFO] [stdout] 341 | fn get_var_len(byte: &[u8]) -> (usize, usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]    --> src/mobi/reader.rs:457:8
[INFO] [stdout]     |
[INFO] [stdout] 456 | impl NCX {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] 457 |     fn from(index: usize, label: String, map: &HashMap<u8, Vec<usize>>) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_nav` is never used
[INFO] [stdout]    --> src/mobi/reader.rs:583:19
[INFO] [stdout]     |
[INFO] [stdout] 498 | impl<T: Read + Seek> MobiReader<T> {
[INFO] [stdout]     | ---------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 583 |     pub(crate) fn read_nav(&mut self) -> IResult<()> {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `NCXExt` is never used
[INFO] [stdout]    --> src/mobi/reader.rs:378:22
[INFO] [stdout]     |
[INFO] [stdout] 378 |     pub(crate) trait NCXExt {
[INFO] [stdout]     |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_u8` and `skip` are never used
[INFO] [stdout]    --> src/mobi/reader.rs:392:12
[INFO] [stdout]     |
[INFO] [stdout] 391 |     pub(crate) trait ReadCount: Read + Seek {
[INFO] [stdout]     |                      --------- methods in this trait
[INFO] [stdout] 392 |         fn read_u8(&mut self) -> IResult<u8> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 445 |         fn skip(&mut self, limit: u64) -> IResult<u64> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_u64` is never used
[INFO] [stdout]   --> src/mobi/writer.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | trait WriteCount: Write {
[INFO] [stdout]    |       ---------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn write_u64(&mut self, value: u64) -> std::io::Result<usize>;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `magic` are never read
[INFO] [stdout]    --> src/mobi/writer.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 320 | struct PDBRecord {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] 321 |     index: usize,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 322 |     magic: Option<String>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `write_uncrossable_breaks` is never used
[INFO] [stdout]    --> src/mobi/writer.rs:613:8
[INFO] [stdout]     |
[INFO] [stdout] 432 | impl<T: Write + Seek> MobiWriter<T> {
[INFO] [stdout]     | ----------------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 613 |     fn write_uncrossable_breaks(_text: Vec<PDBRecord>) -> Vec<PDBRecord> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/mobi/nav.rs:49:63
[INFO] [stdout]    |
[INFO] [stdout] 49 |                         let mut n = MobiNav::default(unsafe { ID.fetch_add(1, Ordering::SeqCst) });
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/mobi/nav.rs:56:63
[INFO] [stdout]    |
[INFO] [stdout] 56 |                         let mut n = MobiNav::default(unsafe { ID.fetch_add(1, Ordering::SeqCst) });
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/mobi/nav.rs:312:25
[INFO] [stdout]     |
[INFO] [stdout] 312 |                         ID.fetch_add(1, Ordering::SeqCst)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/mobi/reader.rs:736:17
[INFO] [stdout]     |
[INFO] [stdout] 736 |             let items = table.iter().enumerate().map(|(index, (name, map))| {
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iepub` (lib test) due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4d7a932920fbf588e4f2a5d4cf6f0e31827630220ab29c4693747748d0a39bc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d7a932920fbf588e4f2a5d4cf6f0e31827630220ab29c4693747748d0a39bc6", kill_on_drop: false }`
[INFO] [stdout] 4d7a932920fbf588e4f2a5d4cf6f0e31827630220ab29c4693747748d0a39bc6
