[INFO] cloning repository https://github.com/kixelated/pokebot-crystal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kixelated/pokebot-crystal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkixelated%2Fpokebot-crystal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkixelated%2Fpokebot-crystal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f09a2222162fe71439c03dbb7987859f1126b2a3 [INFO] testing kixelated/pokebot-crystal against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkixelated%2Fpokebot-crystal" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kixelated/pokebot-crystal [INFO] finished tweaking git repo https://github.com/kixelated/pokebot-crystal [INFO] tweaked toml for git repo https://github.com/kixelated/pokebot-crystal written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kixelated/pokebot-crystal on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kixelated/pokebot-crystal 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded c_vec v1.0.12 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded rand v0.3.17 [INFO] [stderr] Downloaded num v0.1.40 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded libc v0.2.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2a5e7bfcc3095bac5841e39bbfb8c95c462e0ffc1dda49c732344303fbda065 [INFO] running `Command { std: "docker" "start" "-a" "d2a5e7bfcc3095bac5841e39bbfb8c95c462e0ffc1dda49c732344303fbda065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2a5e7bfcc3095bac5841e39bbfb8c95c462e0ffc1dda49c732344303fbda065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a5e7bfcc3095bac5841e39bbfb8c95c462e0ffc1dda49c732344303fbda065", kill_on_drop: false }` [INFO] [stdout] d2a5e7bfcc3095bac5841e39bbfb8c95c462e0ffc1dda49c732344303fbda065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 72746a88046e9e633e9d46889bb3844b19a4bc532ea2f99c27846e53788604bb [INFO] running `Command { std: "docker" "start" "-a" "72746a88046e9e633e9d46889bb3844b19a4bc532ea2f99c27846e53788604bb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling libc v0.2.31 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling pokebot-crystal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stdout] warning: unused variable: `audio` [INFO] [stdout] --> src/gfx.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn present(&mut self, video: [u8; 92160], audio: [u8; 148704]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_audio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `work_ram` is never used [INFO] [stdout] --> src/emulator.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Emulator { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn work_ram(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gambatte_work_ram` is never used [INFO] [stdout] --> src/emulator.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn gambatte_work_ram(gb: *mut Gambatte, data: *mut *const u8, size: *mut libc::size_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcuYj0Ax/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lgambatte" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "-lz" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libsdl2-6a93bdecb64225f2.rlib}.rlib" "-lSDL2_gfx" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-21ebf07d95857d32.rlib,libc_vec-67c2cf16b703cc9a.rlib,libsdl2_sys-f8554a9f1b83b259.rlib}.rlib" "-lSDL2" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbitflags-24a0d13aff84b1cf.rlib,liblazy_static-394186faf1b96e23.rlib,libnum-5533ac9352c5b81b.rlib,libnum_iter-d41434b4941f9b4b.rlib,libnum_integer-07e8e41f21f37556.rlib,libnum_traits-ebcc3b8b96f9d25c.rlib,liblibc-230808ac3d88e108.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcuYj0Ax/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "gambatte/libgambatte" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pokebot_crystal-e9e2c25d3ac7dfa8" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgambatte: No such file or directory [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_gfx: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pokebot-crystal` (bin "pokebot-crystal") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72746a88046e9e633e9d46889bb3844b19a4bc532ea2f99c27846e53788604bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72746a88046e9e633e9d46889bb3844b19a4bc532ea2f99c27846e53788604bb", kill_on_drop: false }` [INFO] [stdout] 72746a88046e9e633e9d46889bb3844b19a4bc532ea2f99c27846e53788604bb