[INFO] fetching crate fast_cellular_automata 0.1.0... [INFO] checking fast_cellular_automata-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate fast_cellular_automata 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate fast_cellular_automata 0.1.0 [INFO] finished tweaking crates.io crate fast_cellular_automata 0.1.0 [INFO] tweaked toml for crates.io crate fast_cellular_automata 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fast_cellular_automata 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding gif v0.12.0 (available: v0.13.3) [INFO] [stderr] Adding image v0.24.9 (available: v0.25.6) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be7e4f4618eae65ea8ed7c46309327993e7735a8dccd3ce5566078b2b5927ca0 [INFO] running `Command { std: "docker" "start" "-a" "be7e4f4618eae65ea8ed7c46309327993e7735a8dccd3ce5566078b2b5927ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be7e4f4618eae65ea8ed7c46309327993e7735a8dccd3ce5566078b2b5927ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7e4f4618eae65ea8ed7c46309327993e7735a8dccd3ce5566078b2b5927ca0", kill_on_drop: false }` [INFO] [stdout] be7e4f4618eae65ea8ed7c46309327993e7735a8dccd3ce5566078b2b5927ca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbff2d0aec16fc8033485bf68cdca78cf4314ac6404b46859a84bfb5128e8d89 [INFO] running `Command { std: "docker" "start" "-a" "cbff2d0aec16fc8033485bf68cdca78cf4314ac6404b46859a84bfb5128e8d89", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fast_cellular_automata v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn as_gif_frame(&self, scale_y : u16, scale_x : u16, delay : u16) -> gif::Frame { [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] 242 | pub fn as_gif_frame(&self, scale_y : u16, scale_x : u16, delay : u16) -> gif::Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | ... (*mraw)[get_flat_index(x_size as usize, x * scale_x as usize + x_add as usize, y * scale_y as usize + y_add as usize)] = state as u8; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/lib.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | ... (*mraw)[get_flat_index(x_size as usize, x * scale_x as usize + x_add as usize, y * scale_y as usize + y_add as usize)] = state as u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 262 | (&mut (*mraw))[get_flat_index(x_size as usize, x * scale_x as usize + x_add as usize, y * scale_y as usize + y_add as usize)] = state as u8; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/lib.rs:339:25 [INFO] [stdout] | [INFO] [stdout] 333 | let force_mutable : *mut usize = transmute(const_pointer); [INFO] [stdout] | ------------------------ casting happened here [INFO] [stdout] ... [INFO] [stdout] 339 | (*force_mutable) = result; [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] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/lib.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 373 | let force_mutable : *mut usize = transmute(const_pointer); [INFO] [stdout] | ------------------------ casting happened here [INFO] [stdout] ... [INFO] [stdout] 379 | (*force_mutable) = result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn as_gif_frame(&self, scale_y : u16, scale_x : u16, delay : u16) -> gif::Frame { [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] 242 | pub fn as_gif_frame(&self, scale_y : u16, scale_x : u16, delay : u16) -> gif::Frame<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast_cellular_automata` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | ... (*mraw)[get_flat_index(x_size as usize, x * scale_x as usize + x_add as usize, y * scale_y as usize + y_add as usize)] = state as u8; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/lib.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | ... (*mraw)[get_flat_index(x_size as usize, x * scale_x as usize + x_add as usize, y * scale_y as usize + y_add as usize)] = state as u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 262 | (&mut (*mraw))[get_flat_index(x_size as usize, x * scale_x as usize + x_add as usize, y * scale_y as usize + y_add as usize)] = state as u8; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/lib.rs:339:25 [INFO] [stdout] | [INFO] [stdout] 333 | let force_mutable : *mut usize = transmute(const_pointer); [INFO] [stdout] | ------------------------ casting happened here [INFO] [stdout] ... [INFO] [stdout] 339 | (*force_mutable) = result; [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] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/lib.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 373 | let force_mutable : *mut usize = transmute(const_pointer); [INFO] [stdout] | ------------------------ casting happened here [INFO] [stdout] ... [INFO] [stdout] 379 | (*force_mutable) = result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast_cellular_automata` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cbff2d0aec16fc8033485bf68cdca78cf4314ac6404b46859a84bfb5128e8d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbff2d0aec16fc8033485bf68cdca78cf4314ac6404b46859a84bfb5128e8d89", kill_on_drop: false }` [INFO] [stdout] cbff2d0aec16fc8033485bf68cdca78cf4314ac6404b46859a84bfb5128e8d89