[INFO] cloning repository https://github.com/pondodev/chip8-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pondodev/chip8-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpondodev%2Fchip8-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpondodev%2Fchip8-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 807fe7174694fb563cb46f782d27b8e2df9dcf50 [INFO] testing pondodev/chip8-rust against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpondodev%2Fchip8-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pondodev/chip8-rust on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pondodev/chip8-rust [INFO] finished tweaking git repo https://github.com/pondodev/chip8-rust [INFO] tweaked toml for git repo https://github.com/pondodev/chip8-rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pondodev/chip8-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8b03e8a8974c0dfd43386f98b983e0d4d07299d352acd96bd721a4d6731309a3 [INFO] running `Command { std: "docker" "start" "-a" "8b03e8a8974c0dfd43386f98b983e0d4d07299d352acd96bd721a4d6731309a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b03e8a8974c0dfd43386f98b983e0d4d07299d352acd96bd721a4d6731309a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b03e8a8974c0dfd43386f98b983e0d4d07299d352acd96bd721a4d6731309a3", kill_on_drop: false }` [INFO] [stdout] 8b03e8a8974c0dfd43386f98b983e0d4d07299d352acd96bd721a4d6731309a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b713637684039a1a6c857189e79e64f491df07e8af4c99b25c73bf043f519b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b713637684039a1a6c857189e79e64f491df07e8af4c99b25c73bf043f519b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling draw_state v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling wayland-scanner v0.8.7 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling minifb v0.16.0 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Compiling wayland-client v0.8.7 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.25.0 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling glutin v0.8.1 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling wayland-commons v0.25.0 [INFO] [stderr] Compiling gfx_core v0.7.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling wayland-cursor v0.25.0 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.8.7 [INFO] [stderr] Compiling wayland-window v0.5.0 [INFO] [stderr] Compiling wayland-kbd v0.8.0 [INFO] [stderr] Compiling winit v0.6.4 [INFO] [stderr] Compiling gfx_device_gl v0.14.6 [INFO] [stderr] Compiling gfx v0.16.3 [INFO] [stderr] Compiling gfx_window_glutin v0.16.0 [INFO] [stderr] Compiling chip8-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let white = colour::Colour::new(255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_depth` [INFO] [stdout] --> src/main.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut vertices: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut indices: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let (vertex_buffer, mut slice) = factory.create_vertex_buffer_with_slice(&vertices, &*indices); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut data = pipe::Data { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `red` [INFO] [stdout] --> src/colour.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | red: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `green` [INFO] [stdout] --> src/colour.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | green: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blue` [INFO] [stdout] --> src/colour.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | blue: u8 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_array` [INFO] [stdout] --> src/colour.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn to_array(&self) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_width` [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | screen_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_height` [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | screen_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | buffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "2b713637684039a1a6c857189e79e64f491df07e8af4c99b25c73bf043f519b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b713637684039a1a6c857189e79e64f491df07e8af4c99b25c73bf043f519b0", kill_on_drop: false }` [INFO] [stdout] 2b713637684039a1a6c857189e79e64f491df07e8af4c99b25c73bf043f519b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] abd57fb70923821ea193661e46120810fb89647287c03d58efc8297ab04060f4 [INFO] running `Command { std: "docker" "start" "-a" "abd57fb70923821ea193661e46120810fb89647287c03d58efc8297ab04060f4", kill_on_drop: false }` [INFO] [stderr] Compiling chip8-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let white = colour::Colour::new(255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_depth` [INFO] [stdout] --> src/main.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut vertices: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut indices: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let (vertex_buffer, mut slice) = factory.create_vertex_buffer_with_slice(&vertices, &*indices); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut data = pipe::Data { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `red` [INFO] [stdout] --> src/colour.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | red: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `green` [INFO] [stdout] --> src/colour.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | green: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blue` [INFO] [stdout] --> src/colour.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | blue: u8 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_array` [INFO] [stdout] --> src/colour.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn to_array(&self) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_width` [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | screen_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_height` [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | screen_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | buffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "abd57fb70923821ea193661e46120810fb89647287c03d58efc8297ab04060f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd57fb70923821ea193661e46120810fb89647287c03d58efc8297ab04060f4", kill_on_drop: false }` [INFO] [stdout] abd57fb70923821ea193661e46120810fb89647287c03d58efc8297ab04060f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68d09bb1ca5b0e20c4ca2f60af1143676dd12cf528c2643a03f21d077fb65b04 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "68d09bb1ca5b0e20c4ca2f60af1143676dd12cf528c2643a03f21d077fb65b04", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `white` [INFO] [stderr] --> src/main.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | let white = colour::Colour::new(255, 255, 255); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `main_depth` [INFO] [stderr] --> src/main.rs:48:68 [INFO] [stderr] | [INFO] [stderr] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_depth` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:48:51 [INFO] [stderr] | [INFO] [stderr] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:48:68 [INFO] [stderr] | [INFO] [stderr] 48 | let (window, mut device, mut factory, mut main_colour, mut main_depth) = [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | let mut vertices: Vec = vec![]; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | let mut indices: Vec = vec![]; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:61:33 [INFO] [stderr] | [INFO] [stderr] 61 | let (vertex_buffer, mut slice) = factory.create_vertex_buffer_with_slice(&vertices, &*indices); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | let mut data = pipe::Data { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `red` [INFO] [stderr] --> src/colour.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | red: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `green` [INFO] [stderr] --> src/colour.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | green: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `blue` [INFO] [stderr] --> src/colour.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | blue: u8 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_array` [INFO] [stderr] --> src/colour.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn to_array(&self) -> [f32; 3] { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `screen_width` [INFO] [stderr] --> src/main.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | screen_width: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `screen_height` [INFO] [stderr] --> src/main.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | screen_height: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `buffer` [INFO] [stderr] --> src/main.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | buffer: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/chip8_rust-fa5dc4b87102675f [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68d09bb1ca5b0e20c4ca2f60af1143676dd12cf528c2643a03f21d077fb65b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d09bb1ca5b0e20c4ca2f60af1143676dd12cf528c2643a03f21d077fb65b04", kill_on_drop: false }` [INFO] [stdout] 68d09bb1ca5b0e20c4ca2f60af1143676dd12cf528c2643a03f21d077fb65b04