[INFO] cloning repository https://github.com/wyhhh/snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wyhhh/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhhh%2Fsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhhh%2Fsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11f56dd02d38f264bbd71b77bbac42345b6b3f3e [INFO] testing wyhhh/snake against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhhh%2Fsnake" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wyhhh/snake [INFO] finished tweaking git repo https://github.com/wyhhh/snake [INFO] tweaked toml for git repo https://github.com/wyhhh/snake written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wyhhh/snake on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wyhhh/snake 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cce6b19d8e8ce4b157f993dd9b5b4ec6c315f684acfe3196c11905cf5863fbe [INFO] running `Command { std: "docker" "start" "-a" "2cce6b19d8e8ce4b157f993dd9b5b4ec6c315f684acfe3196c11905cf5863fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cce6b19d8e8ce4b157f993dd9b5b4ec6c315f684acfe3196c11905cf5863fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cce6b19d8e8ce4b157f993dd9b5b4ec6c315f684acfe3196c11905cf5863fbe", kill_on_drop: false }` [INFO] [stdout] 2cce6b19d8e8ce4b157f993dd9b5b4ec6c315f684acfe3196c11905cf5863fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4797b6107a251b8361fe8d82ca650964f03f9d92328de51e0abb2af0d1961dd1 [INFO] running `Command { std: "docker" "start" "-a" "4797b6107a251b8361fe8d82ca650964f03f9d92328de51e0abb2af0d1961dd1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_list v0.1.0 (https://github.com/wyhhh/vec_list#e9373438) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.23.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling wutil v0.1.0 (https://github.com/wyhhh/wutil.git#cfb80506) [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | write!(f, "N/A") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "N/A" }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("N/A"))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | / write!( [INFO] [stdout] 64 | | f, [INFO] [stdout] 65 | | "{:.width$?}%", [INFO] [stdout] 66 | | self.0.rate(self.1), [INFO] [stdout] 67 | | width = self.2 as usize [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:.width$?}%", self.0.rate(self.1), width = self.2 as usize }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{:.width$?}%", self.0.rate(self.1), width = self.2 as usize))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | write!(f, "{:?}", self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:?}", self }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("{:?}", self))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | write!(f, "N/A") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "N/A" }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("N/A"))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | / write!( [INFO] [stdout] 93 | | f, [INFO] [stdout] 94 | | "{:.width$?}%", [INFO] [stdout] 95 | | 100.0 - self.0.rate(self.1), [INFO] [stdout] 96 | | width = self.2 as usize [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:.width$?}%", 100.0 - self.0.rate(self.1), width = self.2 as usize }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{:.width$?}%", 100.0 - self.0.rate(self.1), width = self.2 as usize))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | write!(f, "{:?}", self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:?}", self }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("{:?}", self))` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | init_static_array!(Snake::zerod(), size_of::(), SNAKES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `init_static_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:58:72 [INFO] [stdout] | [INFO] [stdout] 58 | pub static mut BOARD: [[Tiers; WIDTH as usize]; HEIGHT as usize] = init_static_array!( [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 59 | | Tiers { tiers: vec_list![] }, [INFO] [stdout] 60 | | size_of::(), [INFO] [stdout] 61 | | HEIGHT as usize * WIDTH as usize [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `init_static_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let mut flower_tier = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_laugh_head` is never used [INFO] [stdout] --> src/main.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl Tier { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | fn is_laugh_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / crossterm::execute! { [INFO] [stdout] 17 | | stdout(), [INFO] [stdout] 18 | | cursor::Hide, [INFO] [stdout] 19 | | }; [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] = note: this warning originates in the macro `crossterm::execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:354:29 [INFO] [stdout] | [INFO] [stdout] 354 | for row in unsafe { board::BOARD.iter() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / BOARD [INFO] [stdout] 69 | | .get_unchecked_mut(y as usize) [INFO] [stdout] | |__________________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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/rustcf6mvk1/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libwutil-5cdf03ea5075b42e.rlib,libnum-b34c2c6cc3191c03.rlib,libnum_iter-f12e31ed340d7a5b.rlib,libnum_rational-c41fb550c57429b5.rlib,libnum_complex-5c3f97684f0ae2d6.rlib,libnum_bigint-675f07e3b7427771.rlib,libnum_integer-3927c5e0a39bf70d.rlib,libnum_traits-eb6ece54d46cb3ff.rlib,librand-f23ac5cc62032fd6.rlib,librand_chacha-7131bcb70d83fbcf.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-27f2a86d37e7ae78.rlib,libgetrandom-eb5aad9aed0ff7b4.rlib,libvec_list-c6bd018bdfeeca17.rlib,libcrossterm-8e5427cace2ef223.rlib,libsignal_hook_mio-df0c2a541de63d7a.rlib,libsignal_hook-932236cefc537c21.rlib,libsignal_hook_registry-0da101a9dac4de15.rlib,libmio-dc215062bc9ed036.rlib,liblog-78d7cfce7b82a11c.rlib,libparking_lot-c3d39191b2200121.rlib,libparking_lot_core-63c5c589bf1dbbfd.rlib,liblibc-7099ee7e20e1711d.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-39c23b8b078c47c3.rlib,liblock_api-05ccfdad17814006.rlib,libscopeguard-73056285f12cb829.rlib,libbitflags-e274cd04b58a060d.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/rustcf6mvk1/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/snake-2a2c7686eaa4357a" "-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: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-eb5aad9aed0ff7b4.rlib(getrandom-eb5aad9aed0ff7b4.getrandom.29acd5007a5fde13-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.6/src/util_libc.rs:117:(.text._ZN9getrandom9util_libc13open_readonly17h74cefcc37a589d08E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: 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#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` (bin "snake") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4797b6107a251b8361fe8d82ca650964f03f9d92328de51e0abb2af0d1961dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4797b6107a251b8361fe8d82ca650964f03f9d92328de51e0abb2af0d1961dd1", kill_on_drop: false }` [INFO] [stdout] 4797b6107a251b8361fe8d82ca650964f03f9d92328de51e0abb2af0d1961dd1