[INFO] fetching crate pixelpwnr-render 0.0.1... [INFO] testing pixelpwnr-render-0.0.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate pixelpwnr-render 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate pixelpwnr-render 0.0.1 [INFO] finished tweaking crates.io crate pixelpwnr-render 0.0.1 [INFO] tweaked toml for crates.io crate pixelpwnr-render 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pixelpwnr-render 0.0.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pixelpwnr-render 0.0.1 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-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da0b5be6dfb7d1a36207d3b999d37bdc79c4cb999662f7811d56864b5182c55f [INFO] running `Command { std: "docker" "start" "-a" "da0b5be6dfb7d1a36207d3b999d37bdc79c4cb999662f7811d56864b5182c55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da0b5be6dfb7d1a36207d3b999d37bdc79c4cb999662f7811d56864b5182c55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0b5be6dfb7d1a36207d3b999d37bdc79c4cb999662f7811d56864b5182c55f", kill_on_drop: false }` [INFO] [stdout] da0b5be6dfb7d1a36207d3b999d37bdc79c4cb999662f7811d56864b5182c55f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf05880445a591b674e77fecc7a71badab3ace9251f6384e730a213154cd2e8b [INFO] running `Command { std: "docker" "start" "-a" "cf05880445a591b674e77fecc7a71badab3ace9251f6384e730a213154cd2e8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling freetype-sys v0.15.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling freetype-rs v0.29.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling gfx_text v0.29.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling old_school_gfx_glutin_ext v0.28.0 [INFO] [stderr] Compiling pixelpwnr-render v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/pixmap.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 117 | let pixel_ptr: *mut u32 = (&map[i] as *const u32) as *mut u32; [INFO] [stdout] | ----------------------------------- casting happened here [INFO] [stdout] ... [INFO] [stdout] 120 | ptr::write(pixel_ptr, raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "cf05880445a591b674e77fecc7a71badab3ace9251f6384e730a213154cd2e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf05880445a591b674e77fecc7a71badab3ace9251f6384e730a213154cd2e8b", kill_on_drop: false }` [INFO] [stdout] cf05880445a591b674e77fecc7a71badab3ace9251f6384e730a213154cd2e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c6e2b821460f0653ef0a4da32ead8477d25e5b229cf6c0b9a50248eda71ab66 [INFO] running `Command { std: "docker" "start" "-a" "1c6e2b821460f0653ef0a4da32ead8477d25e5b229cf6c0b9a50248eda71ab66", kill_on_drop: false }` [INFO] [stderr] Compiling pixelpwnr-render v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/pixmap.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 117 | let pixel_ptr: *mut u32 = (&map[i] as *const u32) as *mut u32; [INFO] [stdout] | ----------------------------------- casting happened here [INFO] [stdout] ... [INFO] [stdout] 120 | ptr::write(pixel_ptr, raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/pixmap.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 117 | let pixel_ptr: *mut u32 = (&map[i] as *const u32) as *mut u32; [INFO] [stdout] | ----------------------------------- casting happened here [INFO] [stdout] ... [INFO] [stdout] 120 | ptr::write(pixel_ptr, raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pixmap.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "1c6e2b821460f0653ef0a4da32ead8477d25e5b229cf6c0b9a50248eda71ab66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6e2b821460f0653ef0a4da32ead8477d25e5b229cf6c0b9a50248eda71ab66", kill_on_drop: false }` [INFO] [stdout] 1c6e2b821460f0653ef0a4da32ead8477d25e5b229cf6c0b9a50248eda71ab66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a13e355bdb27f6252562805b132bdca5176cfa3f95976c1b2dc62ed65938013 [INFO] running `Command { std: "docker" "start" "-a" "8a13e355bdb27f6252562805b132bdca5176cfa3f95976c1b2dc62ed65938013", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pixmap.rs:75:18 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pixmap.rs:80:22 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn pixel_raw(&self, x: usize, y: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pixmap.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn set_pixel(&self, x: usize, y: usize, color: Color) -> Result<(), PixmapErr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pixmap.rs:92:26 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | pub fn set_pixel_raw(&self, x: usize, y: usize, raw: u32) -> Result<(), PixmapErr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stderr] --> src/pixmap.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 117 | let pixel_ptr: *mut u32 = (&map[i] as *const u32) as *mut u32; [INFO] [stderr] | ----------------------------------- casting happened here [INFO] [stderr] ... [INFO] [stderr] 120 | ptr::write(pixel_ptr, raw); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, visit [INFO] [stderr] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pixmap.rs:124:20 [INFO] [stderr] | [INFO] [stderr] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pixelpwnr-render` (lib) generated 6 warnings (run `cargo fix --lib -p pixelpwnr-render` to apply 5 suggestions) [INFO] [stderr] warning: `pixelpwnr-render` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test color::from_hex_raw ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pixelpwnr_render-5e890cf48b840f3b) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pixelpwnr_render-8ad4826497bd6ce8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests pixelpwnr_render [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] [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" "8a13e355bdb27f6252562805b132bdca5176cfa3f95976c1b2dc62ed65938013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a13e355bdb27f6252562805b132bdca5176cfa3f95976c1b2dc62ed65938013", kill_on_drop: false }` [INFO] [stdout] 8a13e355bdb27f6252562805b132bdca5176cfa3f95976c1b2dc62ed65938013