[INFO] cloning repository https://github.com/ytg32/rust_exam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ytg32/rust_exam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytg32%2Frust_exam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytg32%2Frust_exam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63a9e3341ded881cfe346b0aff9310da0593a862 [INFO] testing ytg32/rust_exam against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytg32%2Frust_exam" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ytg32/rust_exam [INFO] finished tweaking git repo https://github.com/ytg32/rust_exam [INFO] tweaked toml for git repo https://github.com/ytg32/rust_exam written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ytg32/rust_exam on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ytg32/rust_exam 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 text_io v0.1.12 [INFO] [stderr] Downloaded wgpu-types v0.13.2 [INFO] [stderr] Downloaded show-image-macros v0.12.3 [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded ravif v0.11.5 [INFO] [stderr] Downloaded csscolorparser v0.6.2 [INFO] [stderr] Downloaded core-text v20.1.0 [INFO] [stderr] Downloaded core-graphics v0.23.1 [INFO] [stderr] Downloaded bitstream-io v2.2.0 [INFO] [stderr] Downloaded colorgrad v0.6.2 [INFO] [stderr] Downloaded system-deps v6.2.1 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded cfg-expr v0.15.7 [INFO] [stderr] Downloaded image-webp v0.1.0 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded toml v0.8.11 [INFO] [stderr] Downloaded show-image v0.13.1 [INFO] [stderr] Downloaded toml_edit v0.22.7 [INFO] [stderr] Downloaded wgpu v0.13.1 [INFO] [stderr] Downloaded wgpu-hal v0.13.2 [INFO] [stderr] Downloaded wgpu-core v0.13.2 [INFO] [stderr] Downloaded winnow v0.6.5 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded naga v0.9.0 [INFO] [stderr] Downloaded image v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88fcd7fbb892c14b94cb54c9a2ae5ab001aa65a937c2179d38d51962073426d5 [INFO] running `Command { std: "docker" "start" "-a" "88fcd7fbb892c14b94cb54c9a2ae5ab001aa65a937c2179d38d51962073426d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88fcd7fbb892c14b94cb54c9a2ae5ab001aa65a937c2179d38d51962073426d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88fcd7fbb892c14b94cb54c9a2ae5ab001aa65a937c2179d38d51962073426d5", kill_on_drop: false }` [INFO] [stdout] 88fcd7fbb892c14b94cb54c9a2ae5ab001aa65a937c2179d38d51962073426d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c02fe81c45136086cf1e4ad153ed6d36fdc17053fb3822dd0e82e3d0245a97dd [INFO] running `Command { std: "docker" "start" "-a" "c02fe81c45136086cf1e4ad153ed6d36fdc17053fb3822dd0e82e3d0245a97dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wgpu-types v0.13.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling show-image v0.13.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling csscolorparser v0.6.2 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling colorgrad v0.6.2 [INFO] [stderr] Compiling text_io v0.1.12 [INFO] [stderr] Compiling naga v0.9.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling image-webp v0.1.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling show-image-macros v0.12.3 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling wgpu-hal v0.13.2 [INFO] [stderr] Compiling image v0.25.0 [INFO] [stderr] Compiling wgpu v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling final_exercice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_max_iterations` is never used [INFO] [stdout] --> src/mandelbrot.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ColorMap { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 7 | fn color(&self, i: u32) -> image::Rgb; [INFO] [stdout] 8 | fn get_max_iterations(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn to_showable_image(image: &RgbImage) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | pub fn to_showable_image(image: &RgbImage) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "c02fe81c45136086cf1e4ad153ed6d36fdc17053fb3822dd0e82e3d0245a97dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c02fe81c45136086cf1e4ad153ed6d36fdc17053fb3822dd0e82e3d0245a97dd", kill_on_drop: false }` [INFO] [stdout] c02fe81c45136086cf1e4ad153ed6d36fdc17053fb3822dd0e82e3d0245a97dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb8d88d3dede8e39707199f0e995695431cfc3a7bff274644cb3593074971c30 [INFO] running `Command { std: "docker" "start" "-a" "bb8d88d3dede8e39707199f0e995695431cfc3a7bff274644cb3593074971c30", kill_on_drop: false }` [INFO] [stderr] Compiling final_exercice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_max_iterations` is never used [INFO] [stdout] --> src/mandelbrot.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ColorMap { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 7 | fn color(&self, i: u32) -> image::Rgb; [INFO] [stdout] 8 | fn get_max_iterations(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn to_showable_image(image: &RgbImage) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | pub fn to_showable_image(image: &RgbImage) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "bb8d88d3dede8e39707199f0e995695431cfc3a7bff274644cb3593074971c30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8d88d3dede8e39707199f0e995695431cfc3a7bff274644cb3593074971c30", kill_on_drop: false }` [INFO] [stdout] bb8d88d3dede8e39707199f0e995695431cfc3a7bff274644cb3593074971c30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4729fb7f081908f93b361d86f655aa2181aeb0e092223bfdc4fd1525b3f15226 [INFO] running `Command { std: "docker" "start" "-a" "4729fb7f081908f93b361d86f655aa2181aeb0e092223bfdc4fd1525b3f15226", kill_on_drop: false }` [INFO] [stderr] warning: method `get_max_iterations` is never used [INFO] [stderr] --> src/mandelbrot.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait ColorMap { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] 7 | fn color(&self, i: u32) -> image::Rgb; [INFO] [stderr] 8 | fn get_max_iterations(&self) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util.rs:7:33 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn to_showable_image(image: &RgbImage) -> show_image::ImageView { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 7 | pub fn to_showable_image(image: &RgbImage) -> show_image::ImageView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `final_exercice` (bin "final_exercice" test) generated 2 warnings (run `cargo fix --bin "final_exercice" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/final_exercice-6e2bc4d016ad24ed) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_get_board_color_40by40 ... ok [INFO] [stdout] test tests::test_get_board_color_8by8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4729fb7f081908f93b361d86f655aa2181aeb0e092223bfdc4fd1525b3f15226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4729fb7f081908f93b361d86f655aa2181aeb0e092223bfdc4fd1525b3f15226", kill_on_drop: false }` [INFO] [stdout] 4729fb7f081908f93b361d86f655aa2181aeb0e092223bfdc4fd1525b3f15226