[INFO] fetching crate pixelpwnr-render 0.0.1... [INFO] checking pixelpwnr-render-0.0.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate pixelpwnr-render 0.0.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pixelpwnr-render 0.0.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded old_school_gfx_glutin_ext v0.28.0 [INFO] [stderr] Downloaded x11-dl v2.20.0 [INFO] [stderr] Downloaded freetype-rs v0.29.1 [INFO] [stderr] Downloaded gfx_text v0.29.0 [INFO] [stderr] Downloaded freetype-sys v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe28abb3f71dd711582adda300dc5b0fb4dbef27f4320ac5da60e9959af2b8c8 [INFO] running `Command { std: "docker" "start" "-a" "fe28abb3f71dd711582adda300dc5b0fb4dbef27f4320ac5da60e9959af2b8c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe28abb3f71dd711582adda300dc5b0fb4dbef27f4320ac5da60e9959af2b8c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe28abb3f71dd711582adda300dc5b0fb4dbef27f4320ac5da60e9959af2b8c8", kill_on_drop: false }` [INFO] [stdout] fe28abb3f71dd711582adda300dc5b0fb4dbef27f4320ac5da60e9959af2b8c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea75dcfe7f5e6a131f9f1807cf187b419dafad12db39a8aa9d2505f395331412 [INFO] running `Command { std: "docker" "start" "-a" "ea75dcfe7f5e6a131f9f1807cf187b419dafad12db39a8aa9d2505f395331412", 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 log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [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] Checking gfx_core v0.9.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling freetype-sys v0.15.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking freetype-rs v0.29.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking gfx_text v0.29.0 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking wayland-egl v0.29.4 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking old_school_gfx_glutin_ext v0.28.0 [INFO] [stderr] Checking pixelpwnr-render v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pixmap.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] error: 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: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pixmap.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pixelpwnr-render` (lib) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pixmap.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pixel(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] error: 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: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pixmap.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn pixel_index(&self, x: usize, y: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pixelpwnr-render` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea75dcfe7f5e6a131f9f1807cf187b419dafad12db39a8aa9d2505f395331412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea75dcfe7f5e6a131f9f1807cf187b419dafad12db39a8aa9d2505f395331412", kill_on_drop: false }` [INFO] [stdout] ea75dcfe7f5e6a131f9f1807cf187b419dafad12db39a8aa9d2505f395331412