[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f09a2222162fe71439c03dbb7987859f1126b2a3 [INFO] testing kixelated/pokebot-crystal against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkixelated%2Fpokebot-crystal" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kixelated/pokebot-crystal on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/kixelated/pokebot-crystal already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53b291e0e61b1e2b087f744788f81341695a0939e52526d6cacae94a9313abea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "53b291e0e61b1e2b087f744788f81341695a0939e52526d6cacae94a9313abea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53b291e0e61b1e2b087f744788f81341695a0939e52526d6cacae94a9313abea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b291e0e61b1e2b087f744788f81341695a0939e52526d6cacae94a9313abea", kill_on_drop: false }` [INFO] [stdout] 53b291e0e61b1e2b087f744788f81341695a0939e52526d6cacae94a9313abea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0bd4da2687810cb87cb157c938c00e7ca1aa4dca5267ea1ce589c88a3242899 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c0bd4da2687810cb87cb157c938c00e7ca1aa4dca5267ea1ce589c88a3242899", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.31 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling pokebot-crystal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rand v0.3.17 [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: function is never used: `gambatte_work_ram` [INFO] [stdout] --> src/emulator.rs:28:5 [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `work_ram` [INFO] [stdout] --> src/emulator.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn work_ram(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.pokebot_crystal.bjqlhv7c-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275" "/opt/rustwide/target/debug/deps/pokebot_crystal-71d4a03fa2eb5275.2hndbqpv6at92uil.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "gambatte/libgambatte" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lgambatte" "-lstdc++" "-lz" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-ddce4075127f59aa.rlib" "/opt/rustwide/target/debug/deps/librand-99d1f265ba92d964.rlib" "/opt/rustwide/target/debug/deps/libc_vec-c1a3dd2128644df0.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-5000acfe4425c63b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d2ad12c0bdfd14cf.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7da7dd7cd19118c.rlib" "/opt/rustwide/target/debug/deps/libnum-a0bb9798c608f5b6.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-fa06138f597df683.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-1310333546839132.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-f0d166ce20dc31a1.rlib" "/opt/rustwide/target/debug/deps/liblibc-cd2a1354d7bb3d9b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgambatte [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pokebot-crystal`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c0bd4da2687810cb87cb157c938c00e7ca1aa4dca5267ea1ce589c88a3242899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0bd4da2687810cb87cb157c938c00e7ca1aa4dca5267ea1ce589c88a3242899", kill_on_drop: false }` [INFO] [stdout] c0bd4da2687810cb87cb157c938c00e7ca1aa4dca5267ea1ce589c88a3242899