[INFO] fetching crate zipimgzip 0.4.2... [INFO] testing zipimgzip-0.4.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate zipimgzip 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate zipimgzip 0.4.2 [INFO] finished tweaking crates.io crate zipimgzip 0.4.2 [INFO] tweaked toml for crates.io crate zipimgzip 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zipimgzip 0.4.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zipimgzip 0.4.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2887ab26eb7858bac1ccf9af9176735aa08da0e97c3a616c54900cd7e13190a6 [INFO] running `Command { std: "docker" "start" "-a" "2887ab26eb7858bac1ccf9af9176735aa08da0e97c3a616c54900cd7e13190a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2887ab26eb7858bac1ccf9af9176735aa08da0e97c3a616c54900cd7e13190a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2887ab26eb7858bac1ccf9af9176735aa08da0e97c3a616c54900cd7e13190a6", kill_on_drop: false }` [INFO] [stdout] 2887ab26eb7858bac1ccf9af9176735aa08da0e97c3a616c54900cd7e13190a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cac98d7205fc2963ca00087ef2b41d675e2e96d257d0e47ed790d3dbf73c3259 [INFO] running `Command { std: "docker" "start" "-a" "cac98d7205fc2963ca00087ef2b41d675e2e96d257d0e47ed790d3dbf73c3259", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling half v2.1.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling exr v1.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling zipimgzip v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `start_name` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let start_name: &str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_start_name` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start_name` is never read [INFO] [stdout] --> src/lib.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | Some(r) => start_name = r, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_outpath` [INFO] [stdout] --> src/lib.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | let mut new_outpath = self.out_names[count_i].clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_outpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let mut new_outpath = self.out_names[count_i].clone(); [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 `res_start_name` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let res_start_name; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_res_start_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res_start_name` is never read [INFO] [stdout] --> src/lib.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | Some(r) => res_start_name = r, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.26s [INFO] running `Command { std: "docker" "inspect" "cac98d7205fc2963ca00087ef2b41d675e2e96d257d0e47ed790d3dbf73c3259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac98d7205fc2963ca00087ef2b41d675e2e96d257d0e47ed790d3dbf73c3259", kill_on_drop: false }` [INFO] [stdout] cac98d7205fc2963ca00087ef2b41d675e2e96d257d0e47ed790d3dbf73c3259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6f888a237dcf17dd338208e1dfe033f57ac3c43f0b81253a32957aa22618587 [INFO] running `Command { std: "docker" "start" "-a" "f6f888a237dcf17dd338208e1dfe033f57ac3c43f0b81253a32957aa22618587", kill_on_drop: false }` [INFO] [stderr] Compiling zipimgzip v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `start_name` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let start_name: &str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_start_name` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start_name` is never read [INFO] [stdout] --> src/lib.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | Some(r) => start_name = r, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_outpath` [INFO] [stdout] --> src/lib.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | let mut new_outpath = self.out_names[count_i].clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_outpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let mut new_outpath = self.out_names[count_i].clone(); [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 `res_start_name` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let res_start_name; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_res_start_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res_start_name` is never read [INFO] [stdout] --> src/lib.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | Some(r) => res_start_name = r, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `start_name` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let start_name: &str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_start_name` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start_name` is never read [INFO] [stdout] --> src/lib.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | Some(r) => start_name = r, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_outpath` [INFO] [stdout] --> src/lib.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | let mut new_outpath = self.out_names[count_i].clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_outpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | let mut new_outpath = self.out_names[count_i].clone(); [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 `res_start_name` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let res_start_name; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_res_start_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res_start_name` is never read [INFO] [stdout] --> src/lib.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | Some(r) => res_start_name = r, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "f6f888a237dcf17dd338208e1dfe033f57ac3c43f0b81253a32957aa22618587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f888a237dcf17dd338208e1dfe033f57ac3c43f0b81253a32957aa22618587", kill_on_drop: false }` [INFO] [stdout] f6f888a237dcf17dd338208e1dfe033f57ac3c43f0b81253a32957aa22618587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6831552d76486b6ba941986eb10e16eac1b0a0c4aa9b3c7cdb0e1265928a7fb [INFO] running `Command { std: "docker" "start" "-a" "a6831552d76486b6ba941986eb10e16eac1b0a0c4aa9b3c7cdb0e1265928a7fb", kill_on_drop: false }` [INFO] [stderr] warning: variable `start_name` is assigned to, but never used [INFO] [stderr] --> src/lib.rs:328:17 [INFO] [stderr] | [INFO] [stderr] 328 | let start_name: &str; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_start_name` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `start_name` is never read [INFO] [stderr] --> src/lib.rs:330:28 [INFO] [stderr] | [INFO] [stderr] 330 | Some(r) => start_name = r, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_outpath` [INFO] [stderr] --> src/lib.rs:338:21 [INFO] [stderr] | [INFO] [stderr] 338 | let mut new_outpath = self.out_names[count_i].clone(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_outpath` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:338:17 [INFO] [stderr] | [INFO] [stderr] 338 | let mut new_outpath = self.out_names[count_i].clone(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `res_start_name` is assigned to, but never used [INFO] [stderr] --> src/lib.rs:677:9 [INFO] [stderr] | [INFO] [stderr] 677 | let res_start_name; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_res_start_name` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `res_start_name` is never read [INFO] [stderr] --> src/lib.rs:680:20 [INFO] [stderr] | [INFO] [stderr] 680 | Some(r) => res_start_name = r, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: `zipimgzip` (lib) generated 6 warnings (run `cargo fix --lib -p zipimgzip` to apply 1 suggestion) [INFO] [stderr] warning: `zipimgzip` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zipimgzip-ecb2c9b66375acbc) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zipimgzip-7edaa0074b9f947a) [INFO] [stderr] Doc-tests zipimgzip [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/lib.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), io::Error> { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2 - fn main() -> Result<(), io::Error> { [INFO] [stdout] 2 + fn main() -> Result<(), i8::Error> { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unzip_to_memory` in this scope [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = unzip_to_memory(test_path, PrintMode::Print)? [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::unzip_to_memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrintMode` [INFO] [stdout] --> src/lib.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = unzip_to_memory(test_path, PrintMode::Print)? [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PrintMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::PrintMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConvMode` [INFO] [stdout] --> src/lib.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 9 | .convert_size_multithread(test_pixels[0], test_pixels[1], ConvMode::Height)? [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ConvMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::ConvMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SaveFormat` [INFO] [stdout] --> src/lib.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 10 | .create_zip_multithread(test_outpath, SaveFormat::Ref, test_quality)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SaveFormat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::SaveFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `unzip_to_memory` in this scope [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = unzip_to_memory(test_path, PrintMode::Print)? [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::unzip_to_memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrintMode` [INFO] [stdout] --> src/lib.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = unzip_to_memory(test_path, PrintMode::Print)? [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PrintMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::PrintMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConvMode` [INFO] [stdout] --> src/lib.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 9 | .convert_size(test_pixels[0], test_pixels[1], ConvMode::Height)? [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ConvMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::ConvMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SaveFormat` [INFO] [stdout] --> src/lib.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 10 | .create_zip(test_outpath, SaveFormat::Ref, test_quality)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SaveFormat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zipimgzip::SaveFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a6831552d76486b6ba941986eb10e16eac1b0a0c4aa9b3c7cdb0e1265928a7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6831552d76486b6ba941986eb10e16eac1b0a0c4aa9b3c7cdb0e1265928a7fb", kill_on_drop: false }` [INFO] [stdout] a6831552d76486b6ba941986eb10e16eac1b0a0c4aa9b3c7cdb0e1265928a7fb