[INFO] cloning repository https://github.com/grgr-dkrk/Rust_GBA_Game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grgr-dkrk/Rust_GBA_Game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrgr-dkrk%2FRust_GBA_Game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrgr-dkrk%2FRust_GBA_Game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca6333da9dd1be8f06bfa53344684bf777476421 [INFO] testing grgr-dkrk/Rust_GBA_Game against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrgr-dkrk%2FRust_GBA_Game" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grgr-dkrk/Rust_GBA_Game on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grgr-dkrk/Rust_GBA_Game [INFO] finished tweaking git repo https://github.com/grgr-dkrk/Rust_GBA_Game [INFO] tweaked toml for git repo https://github.com/grgr-dkrk/Rust_GBA_Game written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/grgr-dkrk/Rust_GBA_Game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b194285e14863ab2018490d1cca9239fd1e334430625dd9cc5735016cab83b [INFO] running `Command { std: "docker" "start" "-a" "84b194285e14863ab2018490d1cca9239fd1e334430625dd9cc5735016cab83b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b194285e14863ab2018490d1cca9239fd1e334430625dd9cc5735016cab83b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b194285e14863ab2018490d1cca9239fd1e334430625dd9cc5735016cab83b", kill_on_drop: false }` [INFO] [stdout] 84b194285e14863ab2018490d1cca9239fd1e334430625dd9cc5735016cab83b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd25bd5f6fe5bd5da684dc3aa8d9d49e9c435a00069abe672c7dfca1f3c83579 [INFO] running `Command { std: "docker" "start" "-a" "bd25bd5f6fe5bd5da684dc3aa8d9d49e9c435a00069abe672c7dfca1f3c83579", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-gba-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `screen_mode4_init` [INFO] [stdout] --> src/io.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn screen_mode4_init(&self) { [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: `draw_dot` [INFO] [stdout] --> src/vram.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn draw_dot(&self, x: u16, y: u16, color: &RGB) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_box` [INFO] [stdout] --> src/vram.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn draw_box(&self, x: u16, y: u16, width: u16, height: u16, color: &RGB) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_circle` [INFO] [stdout] --> src/vram.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw_circle(&self, center_x: u16, center_y: u16, r: u16, color: &RGB) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paint_all` [INFO] [stdout] --> src/vram.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn paint_all(&self, color: &RGB) { [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/rust_gba_game-2345637f38f4d1d9.rust_gba_game.aa20ad56-cgu.7.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_gba_game-2345637f38f4d1d9" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': [INFO] [stdout] (.text+0x16): undefined reference to `__libc_csu_fini' [INFO] [stdout] /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init' [INFO] [stdout] /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rust_gba_game-2345637f38f4d1d9.rust_gba_game.aa20ad56-cgu.7.rcgu.o: in function `rust_gba_game::main': [INFO] [stdout] /rustc/8262275854dc0e5381c9d42d56257d94932c5a87//library/core/src/ptr/mut_ptr.rs:242: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rust_gba_game-2345637f38f4d1d9.rust_gba_game.aa20ad56-cgu.7.rcgu.o: in function `core::fmt::num::imp::fmt_u64': [INFO] [stdout] /rustc/8262275854dc0e5381c9d42d56257d94932c5a87//library/core/src/num/bignum.rs:247: undefined reference to `memset' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-gba-game` due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd25bd5f6fe5bd5da684dc3aa8d9d49e9c435a00069abe672c7dfca1f3c83579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd25bd5f6fe5bd5da684dc3aa8d9d49e9c435a00069abe672c7dfca1f3c83579", kill_on_drop: false }` [INFO] [stdout] bd25bd5f6fe5bd5da684dc3aa8d9d49e9c435a00069abe672c7dfca1f3c83579