[INFO] cloning repository https://github.com/ollielynas/lossy-compression [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ollielynas/lossy-compression" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Follielynas%2Flossy-compression", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Follielynas%2Flossy-compression'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6973fff52035faafe24a11b4d16ae4d344a45766 [INFO] testing ollielynas/lossy-compression against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Follielynas%2Flossy-compression" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ollielynas/lossy-compression on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ollielynas/lossy-compression [INFO] finished tweaking git repo https://github.com/ollielynas/lossy-compression [INFO] tweaked toml for git repo https://github.com/ollielynas/lossy-compression written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ollielynas/lossy-compression 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" "+1.85.0" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded deepsize_derive v0.1.2 [INFO] [stderr] Downloaded deepsize v0.2.0 [INFO] [stderr] Downloaded image-conv v0.3.0 [INFO] [stderr] Downloaded perlin2d v0.2.6 [INFO] [stderr] Downloaded node-sys v0.4.2 [INFO] [stderr] Downloaded const_fn v0.4.10 [INFO] [stderr] Downloaded jpeg-encoder v0.5.1 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded palette v0.6.1 [INFO] [stderr] Downloaded fast_image_resize v2.7.3 [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded savefile-derive v0.16.5 [INFO] [stderr] Downloaded palette_derive v0.6.1 [INFO] [stderr] Downloaded photon-rs v0.3.2 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] [stderr] Downloaded imageproc v0.22.0 [INFO] [stderr] Downloaded libwebp-sys2 v0.1.9 [INFO] [stderr] Downloaded ril v0.10.1 [INFO] [stderr] Downloaded savefile v0.16.5 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec949437208167f57bfeff34a7753f6c2826dc5734cdeb6fa15b08550a3b3d04 [INFO] running `Command { std: "docker" "start" "-a" "ec949437208167f57bfeff34a7753f6c2826dc5734cdeb6fa15b08550a3b3d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec949437208167f57bfeff34a7753f6c2826dc5734cdeb6fa15b08550a3b3d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec949437208167f57bfeff34a7753f6c2826dc5734cdeb6fa15b08550a3b3d04", kill_on_drop: false }` [INFO] [stdout] ec949437208167f57bfeff34a7753f6c2826dc5734cdeb6fa15b08550a3b3d04 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc8f26caf9b20a4ccb61b8ce720ec9eed44bdc50e91cfbe3ecac1c32ced028b4 [INFO] running `Command { std: "docker" "start" "-a" "dc8f26caf9b20a4ccb61b8ce720ec9eed44bdc50e91cfbe3ecac1c32ced028b4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling libwebp-sys2 v0.1.9 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling savefile v0.16.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling csscolorparser v0.6.2 [INFO] [stderr] Compiling perlin2d v0.2.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling colorgrad v0.6.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling jpeg-encoder v0.5.1 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling deepsize_derive v0.1.2 [INFO] [stderr] Compiling savefile-derive v0.16.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling deepsize v0.2.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling macroquad v0.4.5 [INFO] [stderr] Compiling fast_image_resize v2.7.3 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling ril v0.10.1 [INFO] [stderr] Compiling web-sys v0.3.55 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling node-sys v0.4.2 [INFO] [stderr] Compiling photon-rs v0.3.2 [INFO] [stderr] Compiling image-conv v0.3.0 [INFO] [stderr] Compiling lossy-compression v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FileType` and `fmt::Error` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, fs::{File, FileType}, io::BufWriter}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::file` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::file; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encodings::png::FilterType` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use ril::{encodings::png::FilterType, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use savefile::{prelude::*, save_compressed}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `monochrome`, `open_image`, and `save_image` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use photon_rs::{monochrome, native::{open_image, save_image}, PhotonImage}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yellow_dif` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let yellow_dif = ((r as f32 - 250.0_f32.powi(2)).powi(2) + (g as f32 - 250.0_f32.powi(2)).powi(2) + (b as f32 - 50.0_f32.powi(2)).pow... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow_dif` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAVEFILE_VERSION` is never used [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const SAVEFILE_VERSION: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl CompImage { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn save(&self, path: T) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.78 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "dc8f26caf9b20a4ccb61b8ce720ec9eed44bdc50e91cfbe3ecac1c32ced028b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8f26caf9b20a4ccb61b8ce720ec9eed44bdc50e91cfbe3ecac1c32ced028b4", kill_on_drop: false }` [INFO] [stdout] dc8f26caf9b20a4ccb61b8ce720ec9eed44bdc50e91cfbe3ecac1c32ced028b4 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d728910b4bd9cd37c963b25b8b0c73de72abf87fd33a6225f1acd9414627f53e [INFO] running `Command { std: "docker" "start" "-a" "d728910b4bd9cd37c963b25b8b0c73de72abf87fd33a6225f1acd9414627f53e", kill_on_drop: false }` [INFO] [stderr] Compiling lossy-compression v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FileType` and `fmt::Error` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, fs::{File, FileType}, io::BufWriter}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::file` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::file; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encodings::png::FilterType` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use ril::{encodings::png::FilterType, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use savefile::{prelude::*, save_compressed}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `monochrome`, `open_image`, and `save_image` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use photon_rs::{monochrome, native::{open_image, save_image}, PhotonImage}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yellow_dif` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let yellow_dif = ((r as f32 - 250.0_f32.powi(2)).powi(2) + (g as f32 - 250.0_f32.powi(2)).powi(2) + (b as f32 - 50.0_f32.powi(2)).pow... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow_dif` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAVEFILE_VERSION` is never used [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const SAVEFILE_VERSION: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl CompImage { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn save(&self, path: T) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.78 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d728910b4bd9cd37c963b25b8b0c73de72abf87fd33a6225f1acd9414627f53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d728910b4bd9cd37c963b25b8b0c73de72abf87fd33a6225f1acd9414627f53e", kill_on_drop: false }` [INFO] [stdout] d728910b4bd9cd37c963b25b8b0c73de72abf87fd33a6225f1acd9414627f53e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb7f5297a0747b990fc6e772ba67dfba8395c2874d59e771d4d23ead7986feca [INFO] running `Command { std: "docker" "start" "-a" "cb7f5297a0747b990fc6e772ba67dfba8395c2874d59e771d4d23ead7986feca", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `FileType` and `fmt::Error` [INFO] [stderr] --> src/main.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fmt::Error, fs::{File, FileType}, io::BufWriter}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `macroquad::file` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use macroquad::file; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `encodings::png::FilterType` [INFO] [stderr] --> src/main.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use ril::{encodings::png::FilterType, prelude::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude::*` [INFO] [stderr] --> src/main.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use savefile::{prelude::*, save_compressed}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `monochrome`, `open_image`, and `save_image` [INFO] [stderr] --> src/main.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use photon_rs::{monochrome, native::{open_image, save_image}, PhotonImage}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `yellow_dif` [INFO] [stderr] --> src/main.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | let yellow_dif = ((r as f32 - 250.0_f32.powi(2)).powi(2) + (g as f32 - 250.0_f32.powi(2)).powi(2) + (b as f32 - 50.0_f32.powi(2)).pow... [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow_dif` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `SAVEFILE_VERSION` is never used [INFO] [stderr] --> src/main.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | const SAVEFILE_VERSION: u32 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `save` is never used [INFO] [stderr] --> src/main.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 36 | impl CompImage { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 128 | fn save(&self, path: T) -> std::io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lossy-compression` (bin "lossy-compression" test) generated 8 warnings (run `cargo fix --bin "lossy-compression" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.78 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lossy_compression-c21a8b539997bca1) [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" "cb7f5297a0747b990fc6e772ba67dfba8395c2874d59e771d4d23ead7986feca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7f5297a0747b990fc6e772ba67dfba8395c2874d59e771d4d23ead7986feca", kill_on_drop: false }` [INFO] [stdout] cb7f5297a0747b990fc6e772ba67dfba8395c2874d59e771d4d23ead7986feca