[INFO] cloning repository https://github.com/Rootlou/CHIP-8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rootlou/CHIP-8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootlou%2FCHIP-8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootlou%2FCHIP-8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28435f4d6240926e24c1550a1d062443df695d72 [INFO] checking Rootlou/CHIP-8 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootlou%2FCHIP-8" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rootlou/CHIP-8 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rootlou/CHIP-8 [INFO] finished tweaking git repo https://github.com/Rootlou/CHIP-8 [INFO] tweaked toml for git repo https://github.com/Rootlou/CHIP-8 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rootlou/CHIP-8 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.77.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39294d029bd62d8ff628080c1946c06e8f5167e3bb306ab3e417a544502735d0 [INFO] running `Command { std: "docker" "start" "-a" "39294d029bd62d8ff628080c1946c06e8f5167e3bb306ab3e417a544502735d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39294d029bd62d8ff628080c1946c06e8f5167e3bb306ab3e417a544502735d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39294d029bd62d8ff628080c1946c06e8f5167e3bb306ab3e417a544502735d0", kill_on_drop: false }` [INFO] [stdout] 39294d029bd62d8ff628080c1946c06e8f5167e3bb306ab3e417a544502735d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d0b33dab6d239501e6d47dd2fbe5afeb6a42d8975756862625c56348ddf5221 [INFO] running `Command { std: "docker" "start" "-a" "9d0b33dab6d239501e6d47dd2fbe5afeb6a42d8975756862625c56348ddf5221", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking piston-graphics_api_version v1.0.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking piston2d-graphics v0.39.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking piston2d-opengl_graphics v0.77.0 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking pistoncore-window v0.47.0 [INFO] [stderr] Checking pistoncore-event_loop v0.52.0 [INFO] [stderr] Checking piston v0.52.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.68.2 [INFO] [stderr] Checking CHIP8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: cannot call non-const fn `Box::<[[u8; 64]; 32]>::new` in statics [INFO] [stdout] --> src/Drivers/display.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | pub static mut framebuffer: Box = Box::new([ [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 31 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 32 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 33 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] ... | [INFO] [stdout] 62 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] [INFO] [stdout] 63 | | ]); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Box::<[[u8; 64]; 32]>::new` in statics [INFO] [stdout] --> src/Drivers/display.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | pub static mut framebuffer: Box = Box::new([ [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 31 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 32 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 33 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] ... | [INFO] [stdout] 62 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] [INFO] [stdout] 63 | | ]); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Box::<[[u8; 64]; 32]>::new` in statics [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | pub static mut framebuffer: Box = Box::new([ [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 31 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 32 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 33 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] ... | [INFO] [stdout] 62 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] [INFO] [stdout] 63 | | ]); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Box::<[[u8; 64]; 32]>::new` in statics [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | pub static mut framebuffer: Box = Box::new([ [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 31 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 32 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] 33 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [INFO] [stdout] ... | [INFO] [stdout] 62 | | [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] [INFO] [stdout] 63 | | ]); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Drivers/display.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: framebuffer [INFO] [stdout] | ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: *framebuffer [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Drivers/display.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: framebuffer [INFO] [stdout] | ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: *framebuffer [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Drivers/display.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = framebuffer; [INFO] [stdout] | -------------------- ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = *framebuffer; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Drivers/display.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = framebuffer; [INFO] [stdout] | -------------------- ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = *framebuffer; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: framebuffer [INFO] [stdout] | ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: *framebuffer [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: framebuffer [INFO] [stdout] | ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 92 | current_fbuffer: *framebuffer [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = framebuffer; [INFO] [stdout] | -------------------- ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = *framebuffer; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = framebuffer; [INFO] [stdout] | -------------------- ^^^^^^^^^^^ expected `[[u8; 64]; 32]`, found `Box<[[u8; 64]; 32]>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[u8; 64]; 32]` [INFO] [stdout] found struct `Box<[[u8; 64]; 32]>` [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 155 | self.current_fbuffer = *framebuffer; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> src/Drivers/display.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ^^^^ ----------------------------------------------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Drivers::display::Display`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Drivers::display::Display::translate_framebuffer` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/Drivers/display.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | fn translate_framebuffer(self, fbuffer: FBuffer, length: u16) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> src/Drivers/display.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ^^^^ ----------------------------------------------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Drivers::display::Display`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Drivers::display::Display::translate_framebuffer` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/Drivers/display.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | fn translate_framebuffer(self, fbuffer: FBuffer, length: u16) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/Drivers/display.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 132 | fn render(&mut self, args: &RenderArgs) { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 140 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ------- ---- ^^^^^^^ move out of `self` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `self.gl` occurs here [INFO] [stdout] ... [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ---- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/Drivers/display.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 132 | fn render(&mut self, args: &RenderArgs) { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 140 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ------- ---- ^^^^^^^ move out of `self` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `self.gl` occurs here [INFO] [stdout] ... [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ---- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ^^^^ ----------------------------------------------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `opcode::display::Display`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `opcode::display::Display::translate_framebuffer` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | fn translate_framebuffer(self, fbuffer: FBuffer, length: u16) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ^^^^ ----------------------------------------------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `opcode::display::Display`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `opcode::display::Display::translate_framebuffer` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | fn translate_framebuffer(self, fbuffer: FBuffer, length: u16) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 132 | fn render(&mut self, args: &RenderArgs) { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 140 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ------- ---- ^^^^^^^ move out of `self` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `self.gl` occurs here [INFO] [stdout] ... [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ---- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/Interpreter/../Drivers/display.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 132 | fn render(&mut self, args: &RenderArgs) { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 140 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ------- ---- ^^^^^^^ move out of `self` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `self.gl` occurs here [INFO] [stdout] ... [INFO] [stdout] 145 | for pixel_loc in self.translate_framebuffer(self.current_fbuffer, 10) { [INFO] [stdout] | ---- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0505, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0505, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `CHIP8` (bin "CHIP8") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `CHIP8` (bin "CHIP8" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "9d0b33dab6d239501e6d47dd2fbe5afeb6a42d8975756862625c56348ddf5221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0b33dab6d239501e6d47dd2fbe5afeb6a42d8975756862625c56348ddf5221", kill_on_drop: false }` [INFO] [stdout] 9d0b33dab6d239501e6d47dd2fbe5afeb6a42d8975756862625c56348ddf5221