[INFO] updating cached repository https://github.com/mahimahi42/chip8 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ddcc343350edc312dd72c7f281d208571307a1ae [INFO] testing mahimahi42/chip8 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahimahi42%2Fchip8" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mahimahi42/chip8 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mahimahi42/chip8 [INFO] finished tweaking git repo https://github.com/mahimahi42/chip8 [INFO] tweaked toml for git repo https://github.com/mahimahi42/chip8 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/mahimahi42/chip8 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 88d7ba9098b2dc770dec839353d642354024e50be38c0cb29371a404209014b4 [INFO] running `"docker" "start" "-a" "88d7ba9098b2dc770dec839353d642354024e50be38c0cb29371a404209014b4"` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling c_vec v1.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling getrandom v0.1.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [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 textwrap v0.11.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `opcode` [INFO] [stderr] --> src/chip8cpu.rs:291:30 [INFO] [stderr] | [INFO] [stderr] 291 | fn opcode_0xE(&mut self, opcode: Opcode) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `opcode_0xE` [INFO] [stderr] --> src/chip8cpu.rs:291:5 [INFO] [stderr] | [INFO] [stderr] 291 | fn opcode_0xE(&mut self, opcode: Opcode) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.chip8.accnzsze-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02" "/opt/rustwide/target/debug/deps/chip8-a89a4ddf93e44a02.7ofvcn1457840pf.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-411c2bc1ec9de257.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-376af2ac228992dc.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-f90173abd9f0b80c.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-d705ca36b11e1acb.rlib" "/opt/rustwide/target/debug/deps/librand_core-3238b2911255afb5.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-fc8af3b1c892bbf7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-d205a30746c5635c.rlib" "/opt/rustwide/target/debug/deps/libsdl2-37023d266f347cd0.rlib" "/opt/rustwide/target/debug/deps/librand-c1ab9863208b53c7.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-b89e9be76dd5ebdb.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-ab0b567953105ee9.rlib" "/opt/rustwide/target/debug/deps/librand_hc-458e9d01f330c516.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-7e36ce096575b248.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-383ffb82adde40d9.rlib" "/opt/rustwide/target/debug/deps/librand_core-e860bcf581bc8c7b.rlib" "/opt/rustwide/target/debug/deps/librand_os-11862e8538c1bb5a.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-d1abb610e359825d.rlib" "/opt/rustwide/target/debug/deps/librand_core-efb9f61e179ac79b.rlib" "/opt/rustwide/target/debug/deps/libc_vec-2b595ca6af7ace39.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-8dfb9b992fc84d00.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-871db668c04919c0.rlib" "/opt/rustwide/target/debug/deps/libnum-5266b5eb172db361.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-9f3dbe71a2cca020.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-30dbb78a37a9a769.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-3b7e3d0cba1906cb.rlib" "/opt/rustwide/target/debug/deps/libclap-48fe334beb38237c.rlib" "/opt/rustwide/target/debug/deps/libvec_map-0124ff4ac8afcced.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-c20578fd29b6b6fe.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-f78fbbd60dd7eb4c.rlib" "/opt/rustwide/target/debug/deps/libstrsim-b32b1c93e6d2d890.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e19ca9f68a0a4995.rlib" "/opt/rustwide/target/debug/deps/libatty-44ba1f21c87a478a.rlib" "/opt/rustwide/target/debug/deps/liblibc-e607f26e97ca91c6.rlib" "/opt/rustwide/target/debug/deps/libansi_term-0d3bacace01cab89.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dac1a412c98f50d.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b7841fd014bf83a1.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-338c0763450dca22.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5f2e5d11836e0967.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-81a9070bd3553adf.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-e297830377b95af4.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b38b87f2dd197fa0.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-601015f2e15e7e26.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-439f3a589bd88586.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-57ab7e6ac23ce11f.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3aec7f88778e912a.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b6806800b307d4b9.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e49d7651b12f7563.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8266574e26adcc3.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_gfx" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `chip8`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "88d7ba9098b2dc770dec839353d642354024e50be38c0cb29371a404209014b4"` [INFO] running `"docker" "rm" "-f" "88d7ba9098b2dc770dec839353d642354024e50be38c0cb29371a404209014b4"` [INFO] [stdout] 88d7ba9098b2dc770dec839353d642354024e50be38c0cb29371a404209014b4