[INFO] cloning repository https://github.com/thanhtong89/arcade-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thanhtong89/arcade-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dda96088fc67673eac38d7ef151e9d48d7359ec [INFO] testing thanhtong89/arcade-rs 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%2Fthanhtong89%2Farcade-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thanhtong89/arcade-rs [INFO] finished tweaking git repo https://github.com/thanhtong89/arcade-rs [INFO] tweaked toml for git repo https://github.com/thanhtong89/arcade-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thanhtong89/arcade-rs 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/thanhtong89/arcade-rs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] [stderr] Downloaded sdl2_image v0.25.0 [INFO] [stderr] Downloaded libc v0.2.22 [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 24f70a5dc1f83fa65f310d36bd07645f5d709ce4181813955a981d9f7021afde [INFO] running `Command { std: "docker" "start" "-a" "24f70a5dc1f83fa65f310d36bd07645f5d709ce4181813955a981d9f7021afde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24f70a5dc1f83fa65f310d36bd07645f5d709ce4181813955a981d9f7021afde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f70a5dc1f83fa65f310d36bd07645f5d709ce4181813955a981d9f7021afde", kill_on_drop: false }` [INFO] [stdout] 24f70a5dc1f83fa65f310d36bd07645f5d709ce4181813955a981d9f7021afde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3459ebac235ae6316d0527ab9d41a8c07de4302336c26d62d7e096fddc24866e [INFO] running `Command { std: "docker" "start" "-a" "3459ebac235ae6316d0527ab9d41a8c07de4302336c26d62d7e096fddc24866e", 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.37 [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling sdl2 v0.25.0 [INFO] [stderr] Compiling sdl2_image v0.25.0 [INFO] [stderr] Compiling arcade-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | ChangeView(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | ChangeView(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | where F: Fn(&mut Phi) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | where F: Fn(&mut Phi) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/phi/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn spawn(title: &str, init: F) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/views/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(phi: &mut Phi) -> ShipView { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ChangeView` is never constructed [INFO] [stdout] --> src/phi/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ViewAction { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 54 | ChangeView(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `overlaps` are never used [INFO] [stdout] --> src/phi/data.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn contains(&self, rect: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn overlaps(&self, other: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap()); [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/rustcnbUelB/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libsdl2_image-a8b837d4041b8f86.rlib}.rlib" "-lSDL2_image" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbitflags-24a0d13aff84b1cf.rlib,libsdl2-9454e08a3a044636.rlib,librand-4a52a82892fcb2c7.rlib,libsdl2_sys-10347726494a436b.rlib}.rlib" "-lSDL2" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbitflags-a0101f747072a726.rlib,liblazy_static-1934ef5b92f1b90d.rlib,liblibc-b74544378a5c233a.rlib,libnum-1e7a81eabc39ad24.rlib,libnum_iter-817e4c526536a32f.rlib,libnum_integer-2f64d972d0f4b5f2.rlib,libnum_traits-0f6bb0e894a029f4.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/rustcnbUelB/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-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/arcade_rs-ccab8f9214f062c3" "-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 -lSDL2_image: 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 `arcade-rs` (bin "arcade-rs") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3459ebac235ae6316d0527ab9d41a8c07de4302336c26d62d7e096fddc24866e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3459ebac235ae6316d0527ab9d41a8c07de4302336c26d62d7e096fddc24866e", kill_on_drop: false }` [INFO] [stdout] 3459ebac235ae6316d0527ab9d41a8c07de4302336c26d62d7e096fddc24866e