[INFO] updating cached repository https://github.com/fjrobinson/rusty-gba [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 695a2fb082129c24c4884265cd111e3e4fb70f6b [INFO] testing fjrobinson/rusty-gba against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjrobinson%2Frusty-gba" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fjrobinson/rusty-gba on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fjrobinson/rusty-gba [INFO] finished tweaking git repo https://github.com/fjrobinson/rusty-gba [INFO] tweaked toml for git repo https://github.com/fjrobinson/rusty-gba written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/fjrobinson/rusty-gba already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f89d890d3347dbff6358f1c43d93b773466886264c77e14074e79bc83cbe051a [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" "f89d890d3347dbff6358f1c43d93b773466886264c77e14074e79bc83cbe051a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f89d890d3347dbff6358f1c43d93b773466886264c77e14074e79bc83cbe051a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89d890d3347dbff6358f1c43d93b773466886264c77e14074e79bc83cbe051a", kill_on_drop: false }` [INFO] [stdout] f89d890d3347dbff6358f1c43d93b773466886264c77e14074e79bc83cbe051a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3412910f2589ab464b343c3d6f30dbf15e33c93bc6d8c793b203b776938d1cf8 [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" "3412910f2589ab464b343c3d6f30dbf15e33c93bc6d8c793b203b776938d1cf8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling gba v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/gba_mem/../../roms/gba.bin: No such file or directory (os error 2) [INFO] [stdout] --> src/gba_mem/mod.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | sys_rom: SystemRom::create_from_array(include_bytes!("../../roms/gba.bin")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut file = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | new_mem_region!(SystemRom, 0x00000000, 0x0001FFFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let file_len = try!(file.metadata()).len() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | new_mem_region!(SystemRom, 0x00000000, 0x0001FFFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(file.read(ret.mem.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | new_mem_region!(SystemRom, 0x00000000, 0x0001FFFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut file = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | new_mem_region!(ExternRam, 0x02000000, 0x0203FFFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let file_len = try!(file.metadata()).len() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | new_mem_region!(ExternRam, 0x02000000, 0x0203FFFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(file.read(ret.mem.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | new_mem_region!(ExternRam, 0x02000000, 0x0203FFFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut file = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | new_mem_region!(InternRam, 0x03000000, 0x03007FFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let file_len = try!(file.metadata()).len() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | new_mem_region!(InternRam, 0x03000000, 0x03007FFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(file.read(ret.mem.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | new_mem_region!(InternRam, 0x03000000, 0x03007FFF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut file = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | new_mem_region!(PalettRam, 0x05000000, 0x050003FF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let file_len = try!(file.metadata()).len() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | new_mem_region!(PalettRam, 0x05000000, 0x050003FF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(file.read(ret.mem.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | new_mem_region!(PalettRam, 0x05000000, 0x050003FF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut file = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | new_mem_region!(VisualRam, 0x06000000, 0x06017FFF, BusWidth::BW16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let file_len = try!(file.metadata()).len() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | new_mem_region!(VisualRam, 0x06000000, 0x06017FFF, BusWidth::BW16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(file.read(ret.mem.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | new_mem_region!(VisualRam, 0x06000000, 0x06017FFF, BusWidth::BW16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut file = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | new_mem_region!(OAM, 0x07000000, 0x070003FF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let file_len = try!(file.metadata()).len() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | new_mem_region!(OAM, 0x07000000, 0x070003FF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(file.read(ret.mem.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | new_mem_region!(OAM, 0x07000000, 0x070003FF, BusWidth::BW32); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut file = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | new_mem_region!(PakRom, 0x08000000, 0x0FFFFFFF, BusWidth::BW16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let file_len = try!(file.metadata()).len() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | new_mem_region!(PakRom, 0x08000000, 0x0FFFFFFF, BusWidth::BW16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mem_regions.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(file.read(ret.mem.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | new_mem_region!(PakRom, 0x08000000, 0x0FFFFFFF, BusWidth::BW16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/gba_mem/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pak_rom: try!(PakRom::create_from_file(pak_filename)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/gba_cpu/arm_instr.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use gba_mem::{Address, Memory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gba`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3412910f2589ab464b343c3d6f30dbf15e33c93bc6d8c793b203b776938d1cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3412910f2589ab464b343c3d6f30dbf15e33c93bc6d8c793b203b776938d1cf8", kill_on_drop: false }` [INFO] [stdout] 3412910f2589ab464b343c3d6f30dbf15e33c93bc6d8c793b203b776938d1cf8