[INFO] fetching crate stego_rust 0.1.0... [INFO] building stego_rust-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate stego_rust 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate stego_rust 0.1.0 [INFO] finished tweaking crates.io crate stego_rust 0.1.0 [INFO] tweaked toml for crates.io crate stego_rust 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stego_rust 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stego_rust 0.1.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6c6f53fd4c6121d31a8687ad3137505c380b5c1521c64f38c839362dcc96e64 [INFO] running `Command { std: "docker" "start" "-a" "c6c6f53fd4c6121d31a8687ad3137505c380b5c1521c64f38c839362dcc96e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6c6f53fd4c6121d31a8687ad3137505c380b5c1521c64f38c839362dcc96e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6c6f53fd4c6121d31a8687ad3137505c380b5c1521c64f38c839362dcc96e64", kill_on_drop: false }` [INFO] [stdout] c6c6f53fd4c6121d31a8687ad3137505c380b5c1521c64f38c839362dcc96e64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b4ea709b310af08e9321a39589ef2fa86e8a09ee58bc29802c9fdafea33d9ee [INFO] running `Command { std: "docker" "start" "-a" "2b4ea709b310af08e9321a39589ef2fa86e8a09ee58bc29802c9fdafea33d9ee", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling stego_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DynamicImage` and `ImageBuffer` [INFO] [stdout] --> src/core/encoder.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{DynamicImage, GenericImageView, ImageBuffer, RgbImage}; [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: `Rng` [INFO] [stdout] --> src/core/encoder.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/core/encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/core/encoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Compression`, `Encoder`, and `FilterType` [INFO] [stdout] --> src/core/encoder.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use png::{Encoder, Compression, FilterType}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/core/decoder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/core/decoder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_used_bytes` is never used [INFO] [stdout] --> src/core/encoder.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn count_used_bytes(img: &RgbImage, bits_per_channel: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.22s [INFO] running `Command { std: "docker" "inspect" "2b4ea709b310af08e9321a39589ef2fa86e8a09ee58bc29802c9fdafea33d9ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4ea709b310af08e9321a39589ef2fa86e8a09ee58bc29802c9fdafea33d9ee", kill_on_drop: false }` [INFO] [stdout] 2b4ea709b310af08e9321a39589ef2fa86e8a09ee58bc29802c9fdafea33d9ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe5a78267e6a33106c7ffa5c115e889244735f3f703af50783269682be56cca8 [INFO] running `Command { std: "docker" "start" "-a" "fe5a78267e6a33106c7ffa5c115e889244735f3f703af50783269682be56cca8", kill_on_drop: false }` [INFO] [stderr] Compiling stego_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DynamicImage` and `ImageBuffer` [INFO] [stdout] --> src/core/encoder.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{DynamicImage, GenericImageView, ImageBuffer, RgbImage}; [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: `Rng` [INFO] [stdout] --> src/core/encoder.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/core/encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/core/encoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Compression`, `Encoder`, and `FilterType` [INFO] [stdout] --> src/core/encoder.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use png::{Encoder, Compression, FilterType}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/core/decoder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/core/decoder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_used_bytes` is never used [INFO] [stdout] --> src/core/encoder.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn count_used_bytes(img: &RgbImage, bits_per_channel: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage` and `ImageBuffer` [INFO] [stdout] --> src/core/encoder.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{DynamicImage, GenericImageView, ImageBuffer, RgbImage}; [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: `Rng` [INFO] [stdout] --> src/core/encoder.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/core/encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/core/encoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Compression`, `Encoder`, and `FilterType` [INFO] [stdout] --> src/core/encoder.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use png::{Encoder, Compression, FilterType}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/core/decoder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/core/decoder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_used_bytes` is never used [INFO] [stdout] --> src/core/encoder.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn count_used_bytes(img: &RgbImage, bits_per_channel: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "fe5a78267e6a33106c7ffa5c115e889244735f3f703af50783269682be56cca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe5a78267e6a33106c7ffa5c115e889244735f3f703af50783269682be56cca8", kill_on_drop: false }` [INFO] [stdout] fe5a78267e6a33106c7ffa5c115e889244735f3f703af50783269682be56cca8