[INFO] cloning repository https://github.com/JulesVranckx/chip8rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JulesVranckx/chip8rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulesVranckx%2Fchip8rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulesVranckx%2Fchip8rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bea4101698bede60ee56ea70b0a332ba81905ed6 [INFO] testing JulesVranckx/chip8rs/bea4101698bede60ee56ea70b0a332ba81905ed6 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulesVranckx%2Fchip8rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JulesVranckx/chip8rs [INFO] finished tweaking git repo https://github.com/JulesVranckx/chip8rs [INFO] tweaked toml for git repo https://github.com/JulesVranckx/chip8rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JulesVranckx/chip8rs on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JulesVranckx/chip8rs 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing JulesVranckx/chip8rs/bea4101698bede60ee56ea70b0a332ba81905ed6 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulesVranckx%2Fchip8rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JulesVranckx/chip8rs [INFO] finished tweaking git repo https://github.com/JulesVranckx/chip8rs [INFO] tweaked toml for git repo https://github.com/JulesVranckx/chip8rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JulesVranckx/chip8rs on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JulesVranckx/chip8rs 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_vec v1.0.12 [INFO] [stderr] Downloaded clap_derive v3.0.6 [INFO] [stderr] Downloaded clap v3.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3eb0288c5ca7957ea7b3d8552357a7e607848d2ff9766b6973020a4799d08d60 [INFO] running `Command { std: "docker" "start" "-a" "3eb0288c5ca7957ea7b3d8552357a7e607848d2ff9766b6973020a4799d08d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eb0288c5ca7957ea7b3d8552357a7e607848d2ff9766b6973020a4799d08d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eb0288c5ca7957ea7b3d8552357a7e607848d2ff9766b6973020a4799d08d60", kill_on_drop: false }` [INFO] [stdout] 3eb0288c5ca7957ea7b3d8552357a7e607848d2ff9766b6973020a4799d08d60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ad9c9d041e7c4a0468a2101f5075d741687501f2eaf310318bdbdf190032e59 [INFO] running `Command { std: "docker" "start" "-a" "9ad9c9d041e7c4a0468a2101f5075d741687501f2eaf310318bdbdf190032e59", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling clap_derive v3.0.6 [INFO] [stderr] Compiling clap v3.0.7 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FRAME_BUFFER_HEIGHT`, `FRAME_BUFFER_LENGTH`, and `Instruction` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use cpu::{CPU, Instruction, FRAME_BUFFER_LENGTH, FRAME_BUFFER_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::input_driver::InputDriver` [INFO] [stdout] --> src/drivers/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::input_driver::InputDriver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::cartridge_driver::CartridgeDriver` [INFO] [stdout] --> src/drivers/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::cartridge_driver::CartridgeDriver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:837:25 [INFO] [stdout] | [INFO] [stdout] 837 | let mut x = self.v.read(*vx)?; [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/cpu.rs:838:25 [INFO] [stdout] | [INFO] [stdout] 838 | let mut y = self.v.read(*vy)?; [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/cpu.rs:857:25 [INFO] [stdout] | [INFO] [stdout] 857 | let mut x = self.v.read(*vx)?; [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/cpu.rs:858:25 [INFO] [stdout] | [INFO] [stdout] 858 | let mut y = self.v.read(*vy)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SYS` is never constructed [INFO] [stdout] --> src/cpu.rs:999:5 [INFO] [stdout] | [INFO] [stdout] 998 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 999 | SYS(Addr), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputDriver` is never constructed [INFO] [stdout] --> src/drivers/input_driver.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InputDriver { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `poll` are never used [INFO] [stdout] --> src/drivers/input_driver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl InputDriver { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(sdl_context: &sdl2::Sdl) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn poll(&mut self) -> Result<[bool; 16], ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CartridgeDriver` is never constructed [INFO] [stdout] --> src/drivers/cartridge_driver.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CartridgeDriver { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/drivers/cartridge_driver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CartridgeDriver { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcSc2xvs/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2-362fe752b65c1cfb.rlib,librand-1cfd14c525a955e8.rlib,librand-625d0953616d6474.rlib,libc_vec-2bdb67cf9162038e.rlib,libsdl2_sys-994f9d7f892e322b.rlib,libbitflags-ed87549ac517e209.rlib,liblazy_static-d8dece1d67af894f.rlib,libnum-369d7dad8e549284.rlib,libnum_iter-2a0841709e3fa094.rlib,libnum_integer-580fb94841e02c85.rlib,libnum_traits-dc078702aa771f49.rlib,librand-a177eaa39c316c80.rlib,librand_chacha-23208ed4f2016e81.rlib,libppv_lite86-8dae110e85681398.rlib,librand_core-062331210399fd3b.rlib,libgetrandom-7e14eb24ea618539.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libclap-00792b00aaadf200.rlib,libstrsim-d620f0ade87b0f1f.rlib,libatty-6c73c929517b2b69.rlib,liblibc-755964c2c80741c4.rlib,libtermcolor-95b90a5c4c516553.rlib,libtextwrap-2409967fb868553c.rlib,libindexmap-e15114f050f33ca9.rlib,libhashbrown-6be3a3b5258097e1.rlib,libos_str_bytes-f71be2f5efde708d.rlib,libmemchr-52a166a992efed94.rlib,libbitflags-e2b4db6c651223da.rlib,liblazy_static-2bb390fee0230a38.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcSc2xvs/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/chip8-b572341fb288f3d5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_gfx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8` (bin "chip8") due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9ad9c9d041e7c4a0468a2101f5075d741687501f2eaf310318bdbdf190032e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad9c9d041e7c4a0468a2101f5075d741687501f2eaf310318bdbdf190032e59", kill_on_drop: false }` [INFO] [stdout] 9ad9c9d041e7c4a0468a2101f5075d741687501f2eaf310318bdbdf190032e59