[INFO] updating cached repository Thomas-Neill/rsnes
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/Thomas-Neill/rsnes
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/Thomas-Neill/rsnes" "work/ex/beta-1.37-6/sources/1.36.0/gh/Thomas-Neill/rsnes"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/Thomas-Neill/rsnes'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/Thomas-Neill/rsnes" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Thomas-Neill/rsnes"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Thomas-Neill/rsnes'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 1787e217bd5d739a5bfe83e4b7c75d3bd5119a1f
[INFO] sha for GitHub repo Thomas-Neill/rsnes: 1787e217bd5d739a5bfe83e4b7c75d3bd5119a1f
[INFO] validating manifest of Thomas-Neill/rsnes on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of Thomas-Neill/rsnes on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing Thomas-Neill/rsnes
[INFO] finished frobbing Thomas-Neill/rsnes
[INFO] frobbed toml for Thomas-Neill/rsnes written to work/ex/beta-1.37-6/sources/1.36.0/gh/Thomas-Neill/rsnes/Cargo.toml
[INFO] started frobbing Thomas-Neill/rsnes
[INFO] finished frobbing Thomas-Neill/rsnes
[INFO] frobbed toml for Thomas-Neill/rsnes written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Thomas-Neill/rsnes/Cargo.toml
[INFO] crate Thomas-Neill/rsnes already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing Thomas-Neill/rsnes against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/Thomas-Neill/rsnes:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 74caa2bc0cb59bdfa86f070ebeab56e0ca024e35b847b652cd9abf67bfb05aad
[INFO] running `"docker" "start" "-a" "74caa2bc0cb59bdfa86f070ebeab56e0ca024e35b847b652cd9abf67bfb05aad"`
[INFO] [stderr]    Compiling rsnes v0.1.0 (/opt/crater/workdir)
[INFO] [stderr]    Compiling c_vec v1.3.0
[INFO] [stderr]    Compiling num-integer v0.1.36
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]    Compiling bincode v1.0.1
[INFO] [stderr]    Compiling num-iter v0.1.35
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling sdl2 v0.31.0
[INFO] [stderr] warning: type `CPU_Serial` should have an upper camel case name
[INFO] [stderr]   --> src/cpu.rs:75:8
[INFO] [stderr]    |
[INFO] [stderr] 75 | struct CPU_Serial { //no refcells
[INFO] [stderr]    |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `CpuSerial`
[INFO] [stderr]    |
[INFO] [stderr]    = note: #[warn(non_camel_case_types)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `PPU_Serial` should have an upper camel case name
[INFO] [stderr]   --> src/ppu.rs:92:12
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub struct PPU_Serial { //PPU w/o one reference.... kms
[INFO] [stderr]    |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `PpuSerial`
[INFO] [stderr] 
[INFO] [stderr] warning: type `NROM_Serial` should have an upper camel case name
[INFO] [stderr]   --> src/mappers.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct NROM_Serial {
[INFO] [stderr]    |        ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NromSerial`
[INFO] [stderr] 
[INFO] [stderr] warning: type `MMC1_Serial` should have an upper camel case name
[INFO] [stderr]    --> src/mappers.rs:128:8
[INFO] [stderr]     |
[INFO] [stderr] 128 | struct MMC1_Serial {
[INFO] [stderr]     |        ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mmc1Serial`
[INFO] [stderr] 
[INFO] [stderr] warning: type `MMC3_Serial` should have an upper camel case name
[INFO] [stderr]    --> src/mappers.rs:339:8
[INFO] [stderr]     |
[INFO] [stderr] 339 | struct MMC3_Serial {
[INFO] [stderr]     |        ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mmc3Serial`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::audio::*`
[INFO] [stderr]   --> src/nes.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | use sdl2::audio::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `NES_State` should have an upper camel case name
[INFO] [stderr]   --> src/nes.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 47 | struct NES_State {
[INFO] [stderr]    |        ^^^^^^^^^ help: convert the identifier to upper camel case: `NesState`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]     --> src/instruction.rs:1414:9
[INFO] [stderr]      |
[INFO] [stderr] 1414 |         _ => panic!("Should never happen..."),
[INFO] [stderr]      |         ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: #[warn(unreachable_patterns)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/cpu.rs:218:13
[INFO] [stderr]     |
[INFO] [stderr] 218 |             _ => panic!("DNE")
[INFO] [stderr]     |             ^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/cpu.rs:249:13
[INFO] [stderr]     |
[INFO] [stderr] 249 |             _ => panic!("DNE")
[INFO] [stderr]     |             ^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/nes.rs:195:21
[INFO] [stderr]     |
[INFO] [stderr] 195 |                     Event::KeyDown {scancode:Some(Scancode::Num8),..} => {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/nes.rs:198:21
[INFO] [stderr]     |
[INFO] [stderr] 198 |                     Event::KeyDown {scancode:Some(Scancode::F8),..} => {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/mappers.rs:553:19
[INFO] [stderr]     |
[INFO] [stderr] 553 | pub fn get_mapper(mut ines:INES) -> Rc<RefCell<Mapper>> {
[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: foreign function is never used: `apureset`
[INFO] [stderr]  --> src/apu.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     fn apureset();
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(dead_code)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `apu_reset`
[INFO] [stderr]   --> src/apu.rs:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn apu_reset() {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` block uses type `cpu::CPU` which is not FFI-safe: this struct has unspecified layout
[INFO] [stderr]  --> src/apu.rs:6:26
[INFO] [stderr]   |
[INFO] [stderr] 6 |     fn apuinit(read_mem: extern fn(cpu:*mut CPU,c: u32) -> i32,cpu:*mut CPU);
[INFO] [stderr]   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(improper_ctypes)] on by default
[INFO] [stderr]   = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
[INFO] [stderr] note: type defined here
[INFO] [stderr]  --> src/cpu.rs:51:1
[INFO] [stderr]   |
[INFO] [stderr] 51| / pub struct CPU {
[INFO] [stderr] 52| |     SP: u8,
[INFO] [stderr] 53| |     P: u8,
[INFO] [stderr] 54| |     A: u8,
[INFO] [stderr] ... |
[INFO] [stderr] 69| |     pub elapsed: i32
[INFO] [stderr] 70| | }
[INFO] [stderr]   | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` block uses type `cpu::CPU` which is not FFI-safe: this struct has unspecified layout
[INFO] [stderr]  --> src/apu.rs:6:68
[INFO] [stderr]   |
[INFO] [stderr] 6 |     fn apuinit(read_mem: extern fn(cpu:*mut CPU,c: u32) -> i32,cpu:*mut CPU);
[INFO] [stderr]   |                                                                    ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
[INFO] [stderr] note: type defined here
[INFO] [stderr]  --> src/cpu.rs:51:1
[INFO] [stderr]   |
[INFO] [stderr] 51| / pub struct CPU {
[INFO] [stderr] 52| |     SP: u8,
[INFO] [stderr] 53| |     P: u8,
[INFO] [stderr] 54| |     A: u8,
[INFO] [stderr] ... |
[INFO] [stderr] 69| |     pub elapsed: i32
[INFO] [stderr] 70| | }
[INFO] [stderr]   | |_^
[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/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.rsnes.48sbuv5v-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc" "/opt/crater/target/debug/deps/rsnes-8845fdb1ff325cbc.4iaojqhfg9byqkan.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "./libraries" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lapu" "-lstdc++" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libbincode-8065610224c598d8.rlib" "/opt/crater/target/debug/deps/libserde-2ce008457d4783d1.rlib" "/opt/crater/target/debug/deps/libbyteorder-91484a073c47d330.rlib" "/opt/crater/target/debug/deps/libsdl2-984192c814cdeac2.rlib" "/opt/crater/target/debug/deps/librand-8f0a32ccf9cf4819.rlib" "/opt/crater/target/debug/deps/librand-03c23d22d3e9361a.rlib" "/opt/crater/target/debug/deps/libc_vec-6a81bd8ed2e6a808.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-9ab70eb93ef3ca05.rlib" "/opt/crater/target/debug/deps/libbitflags-df219a1ec24cdf3b.rlib" "/opt/crater/target/debug/deps/liblazy_static-318544a807a94655.rlib" "/opt/crater/target/debug/deps/liblibc-69fb33ee0a761606.rlib" "/opt/crater/target/debug/deps/libnum-6eafce8a2d158592.rlib" "/opt/crater/target/debug/deps/libnum_iter-413fc8aed7a29cdd.rlib" "/opt/crater/target/debug/deps/libnum_integer-c211a6b345647b2f.rlib" "/opt/crater/target/debug/deps/libnum_traits-f6e389a0e412a9fa.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-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
[INFO] [stderr] 
[INFO] [stderr] error: Could not compile `rsnes`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "74caa2bc0cb59bdfa86f070ebeab56e0ca024e35b847b652cd9abf67bfb05aad"`
[INFO] running `"docker" "rm" "-f" "74caa2bc0cb59bdfa86f070ebeab56e0ca024e35b847b652cd9abf67bfb05aad"`
[INFO] [stdout] 74caa2bc0cb59bdfa86f070ebeab56e0ca024e35b847b652cd9abf67bfb05aad
