[INFO] cloning repository https://github.com/MichaelBurge/nes-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichaelBurge/nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelBurge%2Fnes-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelBurge%2Fnes-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4ae4af6e8a9b126c5440385411c3f8917846c00 [INFO] testing MichaelBurge/nes-emulator against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelBurge%2Fnes-emulator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MichaelBurge/nes-emulator on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/MichaelBurge/nes-emulator [INFO] finished tweaking git repo https://github.com/MichaelBurge/nes-emulator [INFO] tweaked toml for git repo https://github.com/MichaelBurge/nes-emulator written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MichaelBurge/nes-emulator 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/headless.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `headless` [INFO] [stderr] * `example` target `headless` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67f5bb767819357cc71c257c4589310489fb818b474dc8c90d0fc5516d32c44a [INFO] running `Command { std: "docker" "start" "-a" "67f5bb767819357cc71c257c4589310489fb818b474dc8c90d0fc5516d32c44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67f5bb767819357cc71c257c4589310489fb818b474dc8c90d0fc5516d32c44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f5bb767819357cc71c257c4589310489fb818b474dc8c90d0fc5516d32c44a", kill_on_drop: false }` [INFO] [stdout] 67f5bb767819357cc71c257c4589310489fb818b474dc8c90d0fc5516d32c44a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20744d9afb10a16714b47666160e259f8ddb536ea81cfd1ecd27e88c87cd9e23 [INFO] running `Command { std: "docker" "start" "-a" "20744d9afb10a16714b47666160e259f8ddb536ea81cfd1ecd27e88c87cd9e23", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/headless.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `headless` [INFO] [stderr] * `example` target `headless` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling nes-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/headless_protocol.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::OsStr` [INFO] [stdout] --> src/headless_protocol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/headless_protocol.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut fh = &mut BufWriter::new(fh); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueHint` [INFO] [stdout] --> examples/headless.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Parser, ValueHint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Read`, `TcpStream`, `UnixStream` [INFO] [stdout] --> examples/headless.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | io::{BufWriter, Read, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] 20 | net::{TcpListener, TcpStream}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | net::{UnixListener, UnixStream}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcdBYgUq/symbols.o" "/opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0.nes_emulator.e315fb6605934250-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0.nes_emulator.e315fb6605934250-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0.nes_emulator.e315fb6605934250-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0.nes_emulator.e315fb6605934250-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0.nes_emulator.e315fb6605934250-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0.31fgtvjotpi8su3y.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-a40fd18a995ed954.rlib" "/opt/rustwide/target/debug/deps/librand-2bfa7c00952c4665.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-041d556dec0bef5d.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-e3f7e4ea904c4b94.rlib" "/opt/rustwide/target/debug/deps/librand_hc-51953b5da40bed4a.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-1b7dcec5ef65f19f.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-429ee353957f1c58.rlib" "/opt/rustwide/target/debug/deps/librand_core-a175e9fc6400cca4.rlib" "/opt/rustwide/target/debug/deps/librand_os-cfdd32d08d7d85a8.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-255a061e820ae3c7.rlib" "/opt/rustwide/target/debug/deps/librand_core-36c3ce436cfb7b28.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-65b9ebe595dda4c8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-f223d469458bfa8a.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-d8ef76936e73bd76.rlib" "/opt/rustwide/target/debug/deps/liblibc-4f6243ce3ffe9664.rlib" "/opt/rustwide/target/debug/deps/libnum-4724ab5724318c6a.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-f9de9d84929be371.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ddce38bfb55909db.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-06aece6adbb776d4.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-320ebc7037fb8f95.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5c5363659220970d.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-bec15aa2c4312c4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-fe71d6e60bf77974.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-0f5608a77595bf7e.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-b8b7c25fe3bad107.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-0f75b33b546e9dfc.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2c2d79a7fce0ec84.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d29140320fecac62.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-9274a8eb44eefdb5.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4c1e8c7ac02fe45d.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0f62d6b334d8a8b9.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-56f5161b8051bb71.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-659f33ab33d4b7a0.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-194ca45e594e82cf.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8de8e7171366ad5b.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-dd54ac19f2116694.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-7466f872aeeff38e.rlib" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9886ca42a5954174.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/nes_emulator-df1f508aa2a609b0.nes_emulator.e315fb6605934250-cgu.4.rcgu.o: in function `nes_emulator::main': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:173: undefined reference to `emscripten_set_main_loop' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nes-emulator` (bin "nes-emulator") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20744d9afb10a16714b47666160e259f8ddb536ea81cfd1ecd27e88c87cd9e23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20744d9afb10a16714b47666160e259f8ddb536ea81cfd1ecd27e88c87cd9e23", kill_on_drop: false }` [INFO] [stdout] 20744d9afb10a16714b47666160e259f8ddb536ea81cfd1ecd27e88c87cd9e23