[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#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkixelated%2Fpokebot-crystal" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kixelated/pokebot-crystal on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e751e3ac8b39a302136a115e4f8a8a974bf94902b74e7ede3f6c1d01e5a96394 [INFO] running `Command { std: "docker" "start" "-a" "e751e3ac8b39a302136a115e4f8a8a974bf94902b74e7ede3f6c1d01e5a96394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e751e3ac8b39a302136a115e4f8a8a974bf94902b74e7ede3f6c1d01e5a96394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e751e3ac8b39a302136a115e4f8a8a974bf94902b74e7ede3f6c1d01e5a96394", kill_on_drop: false }` [INFO] [stdout] e751e3ac8b39a302136a115e4f8a8a974bf94902b74e7ede3f6c1d01e5a96394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cd4eefaef7b70c58a9688dc8e52b5053624a6e3c199e6518c271c48818a34b0 [INFO] running `Command { std: "docker" "start" "-a" "7cd4eefaef7b70c58a9688dc8e52b5053624a6e3c199e6518c271c48818a34b0", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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 pokebot-crystal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling rand v0.3.17 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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" "/opt/rustwide/target/debug/deps/rustcQKsmQv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lgambatte" "-lstdc++" "-lz" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2-7c49e57834865c58,librand-c2a4854136930449,libc_vec-2bdb67cf9162038e,libsdl2_sys-57bc5926c2993982,libbitflags-ed87549ac517e209,liblazy_static-f334220e17759e36,libnum-2b67f54544ef01e4,libnum_iter-73052439509c476c,libnum_integer-d439f7b4fb72a8e7,libnum_traits-0c0a13e99e766966,liblibc-d946582cc258fd00}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcQKsmQv/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "gambatte/libgambatte" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/pokebot_crystal-1e76407493fb9c31" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lgambatte [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_gfx [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" "7cd4eefaef7b70c58a9688dc8e52b5053624a6e3c199e6518c271c48818a34b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd4eefaef7b70c58a9688dc8e52b5053624a6e3c199e6518c271c48818a34b0", kill_on_drop: false }` [INFO] [stdout] 7cd4eefaef7b70c58a9688dc8e52b5053624a6e3c199e6518c271c48818a34b0