[INFO] cloning repository https://github.com/seandewar/memetendo-unsafe-boy-advance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seandewar/memetendo-unsafe-boy-advance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseandewar%2Fmemetendo-unsafe-boy-advance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseandewar%2Fmemetendo-unsafe-boy-advance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5584ddc8fbfc4639c20aa25a75dc7c78c1ddafa8 [INFO] checking seandewar/memetendo-unsafe-boy-advance against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseandewar%2Fmemetendo-unsafe-boy-advance" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seandewar/memetendo-unsafe-boy-advance on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seandewar/memetendo-unsafe-boy-advance [INFO] finished tweaking git repo https://github.com/seandewar/memetendo-unsafe-boy-advance [INFO] tweaked toml for git repo https://github.com/seandewar/memetendo-unsafe-boy-advance written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/seandewar/memetendo-unsafe-boy-advance 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7ee34a17647ab339d767bfabeff27c82f117a92839f8f1bdaf51fd866c2dc15 [INFO] running `Command { std: "docker" "start" "-a" "e7ee34a17647ab339d767bfabeff27c82f117a92839f8f1bdaf51fd866c2dc15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7ee34a17647ab339d767bfabeff27c82f117a92839f8f1bdaf51fd866c2dc15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ee34a17647ab339d767bfabeff27c82f117a92839f8f1bdaf51fd866c2dc15", kill_on_drop: false }` [INFO] [stdout] e7ee34a17647ab339d767bfabeff27c82f117a92839f8f1bdaf51fd866c2dc15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56c66dfaa765a71ac3bab18803dc5d3160c1e8e3f7319fa8d19e24bacb8b5363 [INFO] running `Command { std: "docker" "start" "-a" "56c66dfaa765a71ac3bab18803dc5d3160c1e8e3f7319fa8d19e24bacb8b5363", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking intbits v0.2.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling boolean_expression v0.3.11 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling bitmatch v0.1.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking libmemetendo v0.1.0 (/opt/rustwide/workdir/libmemetendo) [INFO] [stdout] error[E0499]: cannot borrow `self.irq` as mutable more than once at a time [INFO] [stdout] --> libmemetendo/src/gba.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(do_transfer) = self.dma.step(&mut self.irq, &mut self.cart, 3) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] 115 | do_transfer(&mut bus!(self)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] 116 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Option Fn(&'a mut gba::Bus<'_>)>` [INFO] [stdout] ... [INFO] [stdout] 145 | irq: &mut $gba.irq, [INFO] [stdout] | ^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.dma` as mutable more than once at a time [INFO] [stdout] --> libmemetendo/src/gba.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(do_transfer) = self.dma.step(&mut self.irq, &mut self.cart, 3) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] 115 | do_transfer(&mut bus!(self)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] 116 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Option Fn(&'a mut gba::Bus<'_>)>` [INFO] [stdout] ... [INFO] [stdout] 148 | dma: &mut $gba.dma, [INFO] [stdout] | ^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.cart` as mutable more than once at a time [INFO] [stdout] --> libmemetendo/src/gba.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(do_transfer) = self.dma.step(&mut self.irq, &mut self.cart, 3) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] 115 | do_transfer(&mut bus!(self)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] 116 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Option Fn(&'a mut gba::Bus<'_>)>` [INFO] [stdout] ... [INFO] [stdout] 154 | cart: &mut $gba.cart, [INFO] [stdout] | ^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libmemetendo` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0499]: cannot borrow `self.irq` as mutable more than once at a time [INFO] [stdout] --> libmemetendo/src/gba.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(do_transfer) = self.dma.step(&mut self.irq, &mut self.cart, 3) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] 115 | do_transfer(&mut bus!(self)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] 116 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Option Fn(&'a mut gba::Bus<'_>)>` [INFO] [stdout] ... [INFO] [stdout] 145 | irq: &mut $gba.irq, [INFO] [stdout] | ^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.dma` as mutable more than once at a time [INFO] [stdout] --> libmemetendo/src/gba.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(do_transfer) = self.dma.step(&mut self.irq, &mut self.cart, 3) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] 115 | do_transfer(&mut bus!(self)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] 116 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Option Fn(&'a mut gba::Bus<'_>)>` [INFO] [stdout] ... [INFO] [stdout] 148 | dma: &mut $gba.dma, [INFO] [stdout] | ^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.cart` as mutable more than once at a time [INFO] [stdout] --> libmemetendo/src/gba.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(do_transfer) = self.dma.step(&mut self.irq, &mut self.cart, 3) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] 115 | do_transfer(&mut bus!(self)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] 116 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `Option Fn(&'a mut gba::Bus<'_>)>` [INFO] [stdout] ... [INFO] [stdout] 154 | cart: &mut $gba.cart, [INFO] [stdout] | ^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libmemetendo` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "56c66dfaa765a71ac3bab18803dc5d3160c1e8e3f7319fa8d19e24bacb8b5363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c66dfaa765a71ac3bab18803dc5d3160c1e8e3f7319fa8d19e24bacb8b5363", kill_on_drop: false }` [INFO] [stdout] 56c66dfaa765a71ac3bab18803dc5d3160c1e8e3f7319fa8d19e24bacb8b5363