[INFO] fetching crate optiepub 0.0.1... [INFO] testing optiepub-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate optiepub 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate optiepub 0.0.1 [INFO] finished tweaking crates.io crate optiepub 0.0.1 [INFO] tweaked toml for crates.io crate optiepub 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate optiepub 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate optiepub 0.0.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libdeflater v1.22.0 [INFO] [stderr] Downloaded rustdct v0.7.1 [INFO] [stderr] Downloaded mozjpeg v0.10.11 [INFO] [stderr] Downloaded image_hasher v2.0.0 [INFO] [stderr] Downloaded zip v2.2.1 [INFO] [stderr] Downloaded oxipng v9.1.3 [INFO] [stderr] Downloaded libdeflate-sys v1.22.0 [INFO] [stderr] Downloaded mozjpeg-sys v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33872959a997e1391f7d701b5e61a27aadcd816439b2e3e1f67a1ee0d22d3c0f [INFO] running `Command { std: "docker" "start" "-a" "33872959a997e1391f7d701b5e61a27aadcd816439b2e3e1f67a1ee0d22d3c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33872959a997e1391f7d701b5e61a27aadcd816439b2e3e1f67a1ee0d22d3c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33872959a997e1391f7d701b5e61a27aadcd816439b2e3e1f67a1ee0d22d3c0f", kill_on_drop: false }` [INFO] [stdout] 33872959a997e1391f7d701b5e61a27aadcd816439b2e3e1f67a1ee0d22d3c0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c33a83c7eb05f5f02dbb0d5c70c64390ac864d58572994c76cc394c3ae114e34 [INFO] running `Command { std: "docker" "start" "-a" "c33a83c7eb05f5f02dbb0d5c70c64390ac864d58572994c76cc394c3ae114e34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling nasm-rs v0.3.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling wide v0.7.30 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling zip v2.2.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libdeflate-sys v1.22.0 [INFO] [stderr] Compiling mozjpeg-sys v2.2.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling libdeflater v1.22.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling oxipng v9.1.3 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustdct v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling mozjpeg v0.10.11 [INFO] [stderr] Compiling argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling argh v0.1.12 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling image_hasher v2.0.0 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling optiepub v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | fn by_index(&mut self, index: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 104 | fn by_index(&mut self, index: usize) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn by_name(&mut self, name: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn by_name(&mut self, name: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | fn by_index(&mut self, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn by_index(&mut self, index: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn by_name(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | fn by_name(&mut self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "c33a83c7eb05f5f02dbb0d5c70c64390ac864d58572994c76cc394c3ae114e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33a83c7eb05f5f02dbb0d5c70c64390ac864d58572994c76cc394c3ae114e34", kill_on_drop: false }` [INFO] [stdout] c33a83c7eb05f5f02dbb0d5c70c64390ac864d58572994c76cc394c3ae114e34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f1ed79f81c183456ecee8daa44370e739e0dce21a3ebb0c7fbdca444fc3284e [INFO] running `Command { std: "docker" "start" "-a" "7f1ed79f81c183456ecee8daa44370e739e0dce21a3ebb0c7fbdca444fc3284e", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | fn by_index(&mut self, index: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 104 | fn by_index(&mut self, index: usize) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn by_name(&mut self, name: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn by_name(&mut self, name: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | fn by_index(&mut self, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn by_index(&mut self, index: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn by_name(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | fn by_name(&mut self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling optiepub v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | fn by_index(&mut self, index: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 104 | fn by_index(&mut self, index: usize) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn by_name(&mut self, name: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn by_name(&mut self, name: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | fn by_index(&mut self, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn by_index(&mut self, index: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn by_name(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | fn by_name(&mut self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.42s [INFO] running `Command { std: "docker" "inspect" "7f1ed79f81c183456ecee8daa44370e739e0dce21a3ebb0c7fbdca444fc3284e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1ed79f81c183456ecee8daa44370e739e0dce21a3ebb0c7fbdca444fc3284e", kill_on_drop: false }` [INFO] [stdout] 7f1ed79f81c183456ecee8daa44370e739e0dce21a3ebb0c7fbdca444fc3284e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 081db2c4af7c686404492393a6ac5b6cc7f2bdb7aebab5ced5d0e1e0ff097eb5 [INFO] running `Command { std: "docker" "start" "-a" "081db2c4af7c686404492393a6ac5b6cc7f2bdb7aebab5ced5d0e1e0ff097eb5", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib.rs:104:14 [INFO] [stderr] | [INFO] [stderr] 104 | fn by_index(&mut self, index: usize) -> Result; [INFO] [stderr] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 104 | fn by_index(&mut self, index: usize) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | fn by_name(&mut self, name: &str) -> Result; [INFO] [stderr] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 105 | fn by_name(&mut self, name: &str) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib.rs:118:14 [INFO] [stderr] | [INFO] [stderr] 118 | fn by_index(&mut self, index: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 118 | fn by_index(&mut self, index: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | fn by_name(&mut self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 122 | fn by_name(&mut self, name: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `optiepub` (lib) generated 4 warnings (run `cargo fix --lib -p optiepub` to apply 4 suggestions) [INFO] [stderr] warning: `optiepub` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/optiepub-6eaadcd3ed6d0a65) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::test_join_path ... ok [INFO] [stdout] test tests::test_make_rel_path ... ok [INFO] [stdout] test tests::test_needs_alpha ... ok [INFO] [stdout] test tests::test_add_mimetype_file ... ok [INFO] [stdout] test tests::test_comp_jpeg ... ok [INFO] [stdout] test tests::test_collect_image_paths ... ok [INFO] [stdout] test tests::test_calculate_image_hash ... ok [INFO] [stdout] test tests::test_crop_transparent_and_black ... ok [INFO] [stdout] test tests::test_optimize_image ... ok [INFO] [stdout] test tests::test_replace_image_references ... ok [INFO] [stderr] [2025-06-29T15:04:01Z INFO optiepub] Starting EPUB optimization [INFO] [stderr] [2025-06-29T15:04:01Z DEBUG optiepub] Input file: "/tmp/.tmp2jqtmZ" [INFO] [stderr] [2025-06-29T15:04:01Z DEBUG optiepub] Output file: Some("/tmp/.tmpCFZ98P") [INFO] [stderr] [2025-06-29T15:04:01Z DEBUG optiepub] Processing file: mimetype [INFO] [stderr] [2025-06-29T15:04:01Z DEBUG optiepub] Processing file: OEBPS/content.xhtml [INFO] [stderr] [2025-06-29T15:04:02Z DEBUG optiepub] Optimizing image: OEBPS/images/test.png [INFO] [stderr] [2025-06-29T15:04:03Z DEBUG optiepub] Original dimensions: 1000x1000 [INFO] [stderr] [2025-06-29T15:04:10Z DEBUG optiepub] Dimensions after cropping: 1000x1000 [INFO] [stderr] [2025-06-29T15:04:12Z DEBUG optiepub] Resized to: 500x500 [INFO] [stderr] [2025-06-29T15:04:12Z DEBUG optiepub] Optimizing as JPEG [INFO] [stderr] [2025-06-29T15:04:12Z DEBUG optiepub] Saving optimized image to OEBPS/images/test.jpg [INFO] [stderr] [2025-06-29T15:04:12Z DEBUG optiepub] Processing file: OEBPS/images/test.png [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Optimization complete [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Total images: 1 [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Optimized images: 1 [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Removed unused: 0 [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Removed duplicate: 0 [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Original size: 0.00 MiB [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Optimized size: 0.00 MiB [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Percentage saved: 16.35% [INFO] [stderr] [2025-06-29T15:04:12Z INFO optiepub] Optimized EPUB saved to: /tmp/.tmpCFZ98P [INFO] [stdout] test tests::test_optimize_integration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.06s [INFO] [stdout] [INFO] [stderr] Running unittests main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/optiepub-e3ae20b431b7b5a8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "081db2c4af7c686404492393a6ac5b6cc7f2bdb7aebab5ced5d0e1e0ff097eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081db2c4af7c686404492393a6ac5b6cc7f2bdb7aebab5ced5d0e1e0ff097eb5", kill_on_drop: false }` [INFO] [stdout] 081db2c4af7c686404492393a6ac5b6cc7f2bdb7aebab5ced5d0e1e0ff097eb5