[INFO] cloning repository https://github.com/OleStrohm/JITGameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OleStrohm/JITGameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOleStrohm%2FJITGameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOleStrohm%2FJITGameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b96dc746ad7f4fa77a6cc3d8819cde2521372557 [INFO] checking OleStrohm/JITGameboy/b96dc746ad7f4fa77a6cc3d8819cde2521372557 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOleStrohm%2FJITGameboy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OleStrohm/JITGameboy on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OleStrohm/JITGameboy [INFO] finished tweaking git repo https://github.com/OleStrohm/JITGameboy [INFO] tweaked toml for git repo https://github.com/OleStrohm/JITGameboy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/OleStrohm/JITGameboy 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77edf7f18ae5baeebf1a640a770ef1244005f264dd6d202135a775340b9f0ee0 [INFO] running `Command { std: "docker" "start" "-a" "77edf7f18ae5baeebf1a640a770ef1244005f264dd6d202135a775340b9f0ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77edf7f18ae5baeebf1a640a770ef1244005f264dd6d202135a775340b9f0ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77edf7f18ae5baeebf1a640a770ef1244005f264dd6d202135a775340b9f0ee0", kill_on_drop: false }` [INFO] [stdout] 77edf7f18ae5baeebf1a640a770ef1244005f264dd6d202135a775340b9f0ee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f90cbfe546dbd28986e5c9684c383edad8f932514376202db7d1ae7455ad52 [INFO] running `Command { std: "docker" "start" "-a" "31f90cbfe546dbd28986e5c9684c383edad8f932514376202db7d1ae7455ad52", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Checking gbjit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice::from_raw_parts_mut` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice::from_raw_parts_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::from_raw_parts_mut` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice::from_raw_parts_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut c_void` does not permit being left uninitialized [INFO] [stdout] --> src/mem.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | mem = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 184 | / test! { [INFO] [stdout] 185 | | Op::Nop; [INFO] [stdout] 186 | | => [INFO] [stdout] 187 | | A: 0, F: 0, AF: 0, [INFO] [stdout] ... | [INFO] [stdout] 190 | | H: 0, L: 0, HL: 0, [INFO] [stdout] 191 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 196 | / test! { [INFO] [stdout] 197 | | Op::Nop; [INFO] [stdout] 198 | | Op::Nop; [INFO] [stdout] 199 | | Op::Nop; [INFO] [stdout] ... | [INFO] [stdout] 206 | | DE: 0, HL: 0, [INFO] [stdout] 207 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 212 | / test! { [INFO] [stdout] 213 | | Op::LdDN(Dest::A, 0x11); [INFO] [stdout] 214 | | Op::LdDN(Dest::B, 0x22); [INFO] [stdout] 215 | | Op::LdDN(Dest::C, 0x33); [INFO] [stdout] ... | [INFO] [stdout] 224 | | HL: 0x6677, [INFO] [stdout] 225 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 230 | / test! { [INFO] [stdout] 231 | | Op::LdRN(Reg::BC, 0x1122); [INFO] [stdout] 232 | | Op::LdRN(Reg::DE, 0x3344); [INFO] [stdout] 233 | | Op::LdRN(Reg::HL, 0x5566); [INFO] [stdout] ... | [INFO] [stdout] 236 | | DE: 0x3344, HL: 0x5566 [INFO] [stdout] 237 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 242 | / test! { [INFO] [stdout] 243 | | Op::LdRN(Reg::BC, 0xBBCC); [INFO] [stdout] 244 | | Op::LdRN(Reg::HL, 0x1234); [INFO] [stdout] 245 | | Op::LdRN(Reg::BC, 0xAAAA); [INFO] [stdout] ... | [INFO] [stdout] 253 | | DE: 0x98EE, HL: 0x1234 [INFO] [stdout] 254 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 259 | / test! { [INFO] [stdout] 260 | | Op::LdRN(Reg::BC, 0x1100); [INFO] [stdout] 261 | | Op::LdRN(Reg::DE, 0x0011); [INFO] [stdout] 262 | | Op::LdRN(Reg::HL, 0x2200); [INFO] [stdout] ... | [INFO] [stdout] 269 | | HL: 0x5544 [INFO] [stdout] 270 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 275 | / test! { [INFO] [stdout] 276 | | Op::IncR(Reg::BC); [INFO] [stdout] 277 | | Op::IncR(Reg::DE); [INFO] [stdout] 278 | | Op::IncR(Reg::HL); [INFO] [stdout] ... | [INFO] [stdout] 288 | | DE: 0x0102, HL: 0x0102, [INFO] [stdout] 289 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 294 | / test! { [INFO] [stdout] 295 | | Op::LdDN(Dest::A, 0xFF); [INFO] [stdout] 296 | | Op::LdRN(Reg::BC, 0xFFFF); [INFO] [stdout] 297 | | Op::LdRN(Reg::DE, 0xFFFF); [INFO] [stdout] ... | [INFO] [stdout] 311 | | DE: 0xFEFD, HL: 0xFEFD, [INFO] [stdout] 312 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 317 | / test! { [INFO] [stdout] 318 | | Op::LdDN(Dest::A, 0xF0); [INFO] [stdout] 319 | | Op::Rotate(Dir::Left, UseCarry::WithCarry); [INFO] [stdout] 320 | | => [INFO] [stdout] 321 | | A: 0xE0, [INFO] [stdout] 322 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 323 | / test! { [INFO] [stdout] 324 | | Op::LdDN(Dest::A, 0xF0); [INFO] [stdout] 325 | | Op::Rotate(Dir::Left, UseCarry::WithoutCarry); [INFO] [stdout] 326 | | => [INFO] [stdout] 327 | | A: 0xE1, [INFO] [stdout] 328 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 329 | / test! { [INFO] [stdout] 330 | | Op::LdDN(Dest::A, 0x0F); [INFO] [stdout] 331 | | Op::Rotate(Dir::Right, UseCarry::WithCarry); [INFO] [stdout] 332 | | => [INFO] [stdout] 333 | | A: 0x07, [INFO] [stdout] 334 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/op.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | fun(log.as_mut_ptr(), stub); [INFO] [stdout] | ^^^ ---- unexpected argument #2 of type `extern "C" fn(*mut u8) {stub}` [INFO] [stdout] ... [INFO] [stdout] 335 | / test! { [INFO] [stdout] 336 | | Op::LdDN(Dest::A, 0x0F); [INFO] [stdout] 337 | | Op::Rotate(Dir::Right, UseCarry::WithoutCarry); [INFO] [stdout] 338 | | => [INFO] [stdout] 339 | | A: 0x87, [INFO] [stdout] 340 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gbjit` (bin "gbjit" test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "31f90cbfe546dbd28986e5c9684c383edad8f932514376202db7d1ae7455ad52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f90cbfe546dbd28986e5c9684c383edad8f932514376202db7d1ae7455ad52", kill_on_drop: false }` [INFO] [stdout] 31f90cbfe546dbd28986e5c9684c383edad8f932514376202db7d1ae7455ad52