[INFO] cloning repository https://github.com/JoNil/mini-ui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoNil/mini-ui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoNil%2Fmini-ui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoNil%2Fmini-ui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3bb5ae92d0abe9299f307ac0186e7316513916 [INFO] checking JoNil/mini-ui/6b3bb5ae92d0abe9299f307ac0186e7316513916 against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoNil%2Fmini-ui" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoNil/mini-ui on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoNil/mini-ui [INFO] finished tweaking git repo https://github.com/JoNil/mini-ui [INFO] tweaked toml for git repo https://github.com/JoNil/mini-ui written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JoNil/mini-ui 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb3ad8b90751fd6a084712e490984490464f407f49e48c81f9351f04ece34a23 [INFO] running `Command { std: "docker" "start" "-a" "fb3ad8b90751fd6a084712e490984490464f407f49e48c81f9351f04ece34a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb3ad8b90751fd6a084712e490984490464f407f49e48c81f9351f04ece34a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3ad8b90751fd6a084712e490984490464f407f49e48c81f9351f04ece34a23", kill_on_drop: false }` [INFO] [stdout] fb3ad8b90751fd6a084712e490984490464f407f49e48c81f9351f04ece34a23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 451f0b95cdde4f1c26adb94f9fb9e53de884dd00f8bdba5eb49d9e4f75bade2e [INFO] running `Command { std: "docker" "start" "-a" "451f0b95cdde4f1c26adb94f9fb9e53de884dd00f8bdba5eb49d9e4f75bade2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking mini-ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stdout] warning: constant `OFFSET_MASK` is never used [INFO] [stdout] --> src/arena.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const OFFSET_MASK: u64 = 0x0000_ffff_ffff_ffff; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERATION_MASK` is never used [INFO] [stdout] --> src/arena.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const GENERATION_MASK: u64 = 0x00ff_0000_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARENA_ID_MASK` is never used [INFO] [stdout] --> src/arena.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const ARENA_ID_MASK: u64 = 0xff00_0000_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocationToken` is never constructed [INFO] [stdout] --> src/arena.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AllocationToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generation` and `arena_id` are never used [INFO] [stdout] --> src/arena.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl AllocationToken { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 14 | fn generation(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn arena_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocationArrayToken` is never constructed [INFO] [stdout] --> src/arena.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct AllocationArrayToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generation`, `arena_id`, and `len` are never used [INFO] [stdout] --> src/arena.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl AllocationArrayToken { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 30 | fn generation(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn arena_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryArena` is never constructed [INFO] [stdout] --> src/arena.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MemoryArena { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/arena.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl MemoryArena { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 52 | pub fn new(base: *mut u8, size: u64, arena_id: u8) -> MemoryArena { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn allocate(&mut self) -> AllocationToken { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn allocate_array(&mut self, size: usize) -> AllocationArrayToken { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn clean(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn borrow(&self, token: &AllocationToken) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn borrow_mut(&self, token: &mut AllocationToken) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn borrow_slice(&self, token: &AllocationArrayToken) -> &[T] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn borrow_slice_mut(&self, token: &mut AllocationArrayToken) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn try_borrow(&self, token: &AllocationToken) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn try_borrow_mut(&self, token: &mut AllocationToken) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn try_borrow_slice(&self, token: &AllocationArrayToken) -> Option<&[T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn try_borrow_slice_mut(&self, token: &mut AllocationArrayToken) -> Option<&mut [T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ui<'ctx, 'cmd> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 7 | ctx: &'ctx Context, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling minifb v0.25.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/minifb.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut buffer: Vec = vec![0; WIDTH * HEIGHT]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/arena.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl AllocationArrayToken { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_borrow_slice` and `try_borrow_slice_mut` are never used [INFO] [stdout] --> src/arena.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl MemoryArena { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn try_borrow_slice(&self, token: &AllocationArrayToken) -> Option<&[T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn try_borrow_slice_mut(&self, token: &mut AllocationArrayToken) -> Option<&mut [T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ui<'ctx, 'cmd> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 7 | ctx: &'ctx Context, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.31s [INFO] running `Command { std: "docker" "inspect" "451f0b95cdde4f1c26adb94f9fb9e53de884dd00f8bdba5eb49d9e4f75bade2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451f0b95cdde4f1c26adb94f9fb9e53de884dd00f8bdba5eb49d9e4f75bade2e", kill_on_drop: false }` [INFO] [stdout] 451f0b95cdde4f1c26adb94f9fb9e53de884dd00f8bdba5eb49d9e4f75bade2e