[INFO] cloning repository https://github.com/OfficialSirH/pepe-manager-rust-image-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OfficialSirH/pepe-manager-rust-image-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOfficialSirH%2Fpepe-manager-rust-image-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOfficialSirH%2Fpepe-manager-rust-image-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43e6232e5443399b18763b304f72786e8c9de871 [INFO] testing OfficialSirH/pepe-manager-rust-image-api/43e6232e5443399b18763b304f72786e8c9de871 against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOfficialSirH%2Fpepe-manager-rust-image-api" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OfficialSirH/pepe-manager-rust-image-api on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OfficialSirH/pepe-manager-rust-image-api [INFO] finished tweaking git repo https://github.com/OfficialSirH/pepe-manager-rust-image-api [INFO] tweaked toml for git repo https://github.com/OfficialSirH/pepe-manager-rust-image-api written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OfficialSirH/pepe-manager-rust-image-api 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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67e1dca59ff18404f0a93ceb207b3ac47193627d2dbda58fad7e718146b7cf5a [INFO] running `Command { std: "docker" "start" "-a" "67e1dca59ff18404f0a93ceb207b3ac47193627d2dbda58fad7e718146b7cf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67e1dca59ff18404f0a93ceb207b3ac47193627d2dbda58fad7e718146b7cf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67e1dca59ff18404f0a93ceb207b3ac47193627d2dbda58fad7e718146b7cf5a", kill_on_drop: false }` [INFO] [stdout] 67e1dca59ff18404f0a93ceb207b3ac47193627d2dbda58fad7e718146b7cf5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a34b63fb5a2f606791008d5512a56c7e224599d826d56d6744d4ee59e1f29666 [INFO] running `Command { std: "docker" "start" "-a" "a34b63fb5a2f606791008d5512a56c7e224599d826d56d6744d4ee59e1f29666", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.2.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling image v0.24.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling actix-cors v0.6.1 [INFO] [stderr] Compiling image-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Delay`, `Frame`, `codecs::gif`, and `io::Reader as ImageReader` [INFO] [stdout] --> src/image_manipulation.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | codecs::gif, imageops::FilterType, io::Reader as ImageReader, Delay, DynamicImage, Frame, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage` and `RgbaImage` [INFO] [stdout] --> src/image_manipulation.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use image::{GenericImage, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomRotation`, `GifAssistant`, and `out_of_bounds_crop` [INFO] [stdout] --> src/image_manipulation.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | load_avatar_from_url, out_of_bounds_crop, resolve_asset_path, round_image, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | smallify_large_number, AlphaImplementations, CustomRotation, GifAssistant, PngAssistant, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy_with_blend` is never used [INFO] [stdout] --> src/image_utilities.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait AlphaImplementations: GenericImageView + GenericImage { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 67 | fn copy_with_blend(&mut self, other: &O, x: u32, y: u32, threshold: u8) -> ImageResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoundaryCropOutput` is never constructed [INFO] [stdout] --> src/image_utilities.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct BoundaryCropOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `out_of_bounds_crop` is never used [INFO] [stdout] --> src/image_utilities.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn out_of_bounds_crop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GifAssistant` is never constructed [INFO] [stdout] --> src/image_utilities.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct GifAssistant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_gif` is never used [INFO] [stdout] --> src/image_utilities.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 292 | impl GifAssistant { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn create_gif( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate` is never used [INFO] [stdout] --> src/image_utilities.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub trait CustomRotation { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 359 | fn rotate(self, degrees: i32) -> DynamicImage; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.51s [INFO] running `Command { std: "docker" "inspect" "a34b63fb5a2f606791008d5512a56c7e224599d826d56d6744d4ee59e1f29666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34b63fb5a2f606791008d5512a56c7e224599d826d56d6744d4ee59e1f29666", kill_on_drop: false }` [INFO] [stdout] a34b63fb5a2f606791008d5512a56c7e224599d826d56d6744d4ee59e1f29666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 042acc167bc6a113d09557ed25a8bb3002d46cd5a28b293a3e189fd973b0eef3 [INFO] running `Command { std: "docker" "start" "-a" "042acc167bc6a113d09557ed25a8bb3002d46cd5a28b293a3e189fd973b0eef3", kill_on_drop: false }` [INFO] [stderr] Compiling image-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Delay`, `Frame`, `codecs::gif`, and `io::Reader as ImageReader` [INFO] [stdout] --> src/image_manipulation.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | codecs::gif, imageops::FilterType, io::Reader as ImageReader, Delay, DynamicImage, Frame, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage` and `RgbaImage` [INFO] [stdout] --> src/image_manipulation.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use image::{GenericImage, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomRotation`, `GifAssistant`, and `out_of_bounds_crop` [INFO] [stdout] --> src/image_manipulation.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | load_avatar_from_url, out_of_bounds_crop, resolve_asset_path, round_image, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | smallify_large_number, AlphaImplementations, CustomRotation, GifAssistant, PngAssistant, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy_with_blend` is never used [INFO] [stdout] --> src/image_utilities.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait AlphaImplementations: GenericImageView + GenericImage { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 67 | fn copy_with_blend(&mut self, other: &O, x: u32, y: u32, threshold: u8) -> ImageResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoundaryCropOutput` is never constructed [INFO] [stdout] --> src/image_utilities.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct BoundaryCropOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `out_of_bounds_crop` is never used [INFO] [stdout] --> src/image_utilities.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn out_of_bounds_crop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GifAssistant` is never constructed [INFO] [stdout] --> src/image_utilities.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct GifAssistant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_gif` is never used [INFO] [stdout] --> src/image_utilities.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 292 | impl GifAssistant { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn create_gif( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate` is never used [INFO] [stdout] --> src/image_utilities.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub trait CustomRotation { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 359 | fn rotate(self, degrees: i32) -> DynamicImage; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "042acc167bc6a113d09557ed25a8bb3002d46cd5a28b293a3e189fd973b0eef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "042acc167bc6a113d09557ed25a8bb3002d46cd5a28b293a3e189fd973b0eef3", kill_on_drop: false }` [INFO] [stdout] 042acc167bc6a113d09557ed25a8bb3002d46cd5a28b293a3e189fd973b0eef3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7dc5de383ac13345f27ff402445e0c6b0ff0f84174039d8f14e6b8004952c2f9 [INFO] running `Command { std: "docker" "start" "-a" "7dc5de383ac13345f27ff402445e0c6b0ff0f84174039d8f14e6b8004952c2f9", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Delay`, `Frame`, `codecs::gif`, and `io::Reader as ImageReader` [INFO] [stderr] --> src/image_manipulation.rs:19:2 [INFO] [stderr] | [INFO] [stderr] 19 | codecs::gif, imageops::FilterType, io::Reader as ImageReader, Delay, DynamicImage, Frame, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GenericImage` and `RgbaImage` [INFO] [stderr] --> src/image_manipulation.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use image::{GenericImage, RgbaImage}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CustomRotation`, `GifAssistant`, and `out_of_bounds_crop` [INFO] [stderr] --> src/image_manipulation.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | load_avatar_from_url, out_of_bounds_crop, resolve_asset_path, round_image, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | smallify_large_number, AlphaImplementations, CustomRotation, GifAssistant, PngAssistant, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `copy_with_blend` is never used [INFO] [stderr] --> src/image_utilities.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 40 | pub trait AlphaImplementations: GenericImageView + GenericImage { [INFO] [stderr] | -------------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 67 | fn copy_with_blend(&mut self, other: &O, x: u32, y: u32, threshold: u8) -> ImageResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `BoundaryCropOutput` is never constructed [INFO] [stderr] --> src/image_utilities.rs:205:12 [INFO] [stderr] | [INFO] [stderr] 205 | pub struct BoundaryCropOutput { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `out_of_bounds_crop` is never used [INFO] [stderr] --> src/image_utilities.rs:214:8 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn out_of_bounds_crop( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GifAssistant` is never constructed [INFO] [stderr] --> src/image_utilities.rs:288:12 [INFO] [stderr] | [INFO] [stderr] 288 | pub struct GifAssistant { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `create_gif` is never used [INFO] [stderr] --> src/image_utilities.rs:296:9 [INFO] [stderr] | [INFO] [stderr] 292 | impl GifAssistant { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 296 | pub fn create_gif( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `rotate` is never used [INFO] [stderr] --> src/image_utilities.rs:359:5 [INFO] [stderr] | [INFO] [stderr] 355 | pub trait CustomRotation { [INFO] [stderr] | -------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 359 | fn rotate(self, degrees: i32) -> DynamicImage; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `image-api` (bin "image-api" test) generated 9 warnings (run `cargo fix --bin "image-api" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/image_api-89e67240092e7642) [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" "7dc5de383ac13345f27ff402445e0c6b0ff0f84174039d8f14e6b8004952c2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc5de383ac13345f27ff402445e0c6b0ff0f84174039d8f14e6b8004952c2f9", kill_on_drop: false }` [INFO] [stdout] 7dc5de383ac13345f27ff402445e0c6b0ff0f84174039d8f14e6b8004952c2f9