[INFO] cloning repository https://github.com/paulosergiolima/trabalho_pdi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulosergiolima/trabalho_pdi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulosergiolima%2Ftrabalho_pdi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulosergiolima%2Ftrabalho_pdi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0372c95a5f4aebe2fe80c57c2bbda952b624b4f [INFO] testing paulosergiolima/trabalho_pdi against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulosergiolima%2Ftrabalho_pdi" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/paulosergiolima/trabalho_pdi [INFO] finished tweaking git repo https://github.com/paulosergiolima/trabalho_pdi [INFO] tweaked toml for git repo https://github.com/paulosergiolima/trabalho_pdi written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paulosergiolima/trabalho_pdi 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 git repo https://github.com/paulosergiolima/trabalho_pdi 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded easy_color v0.1.13 [INFO] [stderr] Downloaded wayland-backend v0.3.9 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.7 [INFO] [stderr] Downloaded wayland-cursor v0.31.9 [INFO] [stderr] Downloaded rfd v0.13.0 [INFO] [stderr] Downloaded wayland-client v0.31.9 [INFO] [stderr] Downloaded wayland-protocols v0.32.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 461b165e1da82bfe46d480ed50a00bbe7ce0221e8d437160e486fefab9c8919c [INFO] running `Command { std: "docker" "start" "-a" "461b165e1da82bfe46d480ed50a00bbe7ce0221e8d437160e486fefab9c8919c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "461b165e1da82bfe46d480ed50a00bbe7ce0221e8d437160e486fefab9c8919c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461b165e1da82bfe46d480ed50a00bbe7ce0221e8d437160e486fefab9c8919c", kill_on_drop: false }` [INFO] [stdout] 461b165e1da82bfe46d480ed50a00bbe7ce0221e8d437160e486fefab9c8919c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5117b64d606970acea84482aca6faba84ff15f19aef07b9d16426a764e6d88f2 [INFO] running `Command { std: "docker" "start" "-a" "5117b64d606970acea84482aca6faba84ff15f19aef07b9d16426a764e6d88f2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.9 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling wayland-backend v0.3.9 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling accesskit v0.12.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling accesskit_consumer v0.16.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling rfd v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling easy_color v0.1.13 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.9 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling wayland-protocols v0.32.7 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling arboard v3.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ecolor v0.26.2 [INFO] [stderr] Compiling emath v0.26.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling epaint v0.26.2 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling egui v0.26.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling sctk-adwaita v0.8.3 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling egui_glow v0.26.2 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling atspi-common v0.3.0 [INFO] [stderr] Compiling atspi-proxies v0.3.0 [INFO] [stderr] Compiling atspi-connection v0.3.0 [INFO] [stderr] Compiling atspi v0.19.0 [INFO] [stderr] Compiling accesskit_unix v0.6.2 [INFO] [stderr] Compiling accesskit_winit v0.16.1 [INFO] [stderr] Compiling egui-winit v0.26.2 [INFO] [stderr] Compiling eframe v0.26.2 [INFO] [stderr] Compiling trabalho v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/main.rs:2:64 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{open, DynamicImage, GenericImageView, ImageBuffer, Pixel, Rgba}; [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 variable: `pixel` [INFO] [stdout] --> src/main.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let pixel = img.get_pixel(x, y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut buf = ImageBuffer::new(w,h); [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: variants `EdgeDetect` and `Negative` are never constructed [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Algorithm { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | EdgeDetect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | Negative, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Algorithm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `equalize_colors` is never used [INFO] [stdout] --> src/main.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn equalize_colors(img: &DynamicImage) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "5117b64d606970acea84482aca6faba84ff15f19aef07b9d16426a764e6d88f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5117b64d606970acea84482aca6faba84ff15f19aef07b9d16426a764e6d88f2", kill_on_drop: false }` [INFO] [stdout] 5117b64d606970acea84482aca6faba84ff15f19aef07b9d16426a764e6d88f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a9301bb227f393818a43c5cbb558b79df5c45a67d7f7caa07897bcf2c64062d [INFO] running `Command { std: "docker" "start" "-a" "0a9301bb227f393818a43c5cbb558b79df5c45a67d7f7caa07897bcf2c64062d", kill_on_drop: false }` [INFO] [stderr] Compiling trabalho v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/main.rs:2:64 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{open, DynamicImage, GenericImageView, ImageBuffer, Pixel, Rgba}; [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 variable: `pixel` [INFO] [stdout] --> src/main.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let pixel = img.get_pixel(x, y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut buf = ImageBuffer::new(w,h); [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: variants `EdgeDetect` and `Negative` are never constructed [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Algorithm { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | EdgeDetect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | Negative, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Algorithm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `equalize_colors` is never used [INFO] [stdout] --> src/main.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn equalize_colors(img: &DynamicImage) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "0a9301bb227f393818a43c5cbb558b79df5c45a67d7f7caa07897bcf2c64062d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a9301bb227f393818a43c5cbb558b79df5c45a67d7f7caa07897bcf2c64062d", kill_on_drop: false }` [INFO] [stdout] 0a9301bb227f393818a43c5cbb558b79df5c45a67d7f7caa07897bcf2c64062d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 464680bc10fd34087f0890c5567d33b4fa1f93f5f38f912c769d5ec03f53b435 [INFO] running `Command { std: "docker" "start" "-a" "464680bc10fd34087f0890c5567d33b4fa1f93f5f38f912c769d5ec03f53b435", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/main.rs:159:19 [INFO] [stderr] | [INFO] [stderr] 159 | let mut rng = thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Pixel` [INFO] [stderr] --> src/main.rs:2:64 [INFO] [stderr] | [INFO] [stderr] 2 | use image::{open, DynamicImage, GenericImageView, ImageBuffer, Pixel, Rgba}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pixel` [INFO] [stderr] --> src/main.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | let pixel = img.get_pixel(x, y); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:239:9 [INFO] [stderr] | [INFO] [stderr] 239 | let mut buf = ImageBuffer::new(w,h); [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: variants `EdgeDetect` and `Negative` are never constructed [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 11 | enum Algorithm { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 14 | EdgeDetect, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | Negative, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Algorithm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `equalize_colors` is never used [INFO] [stderr] --> src/main.rs:237:4 [INFO] [stderr] | [INFO] [stderr] 237 | fn equalize_colors(img: &DynamicImage) -> DynamicImage { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trabalho` (bin "trabalho" test) generated 7 warnings (run `cargo fix --bin "trabalho" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trabalho-039e7ed719b23d6b) [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" "464680bc10fd34087f0890c5567d33b4fa1f93f5f38f912c769d5ec03f53b435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464680bc10fd34087f0890c5567d33b4fa1f93f5f38f912c769d5ec03f53b435", kill_on_drop: false }` [INFO] [stdout] 464680bc10fd34087f0890c5567d33b4fa1f93f5f38f912c769d5ec03f53b435