[INFO] cloning repository https://github.com/Pawel82S/text_adv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pawel82S/text_adv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPawel82S%2Ftext_adv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPawel82S%2Ftext_adv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 628301e5f903b0637e080af6bba62b35f47f3580 [INFO] testing Pawel82S/text_adv 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%2FPawel82S%2Ftext_adv" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Pawel82S/text_adv [INFO] finished tweaking git repo https://github.com/Pawel82S/text_adv [INFO] tweaked toml for git repo https://github.com/Pawel82S/text_adv written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Pawel82S/text_adv 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/Pawel82S/text_adv 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] de2fb2379cc34ec5fd0e7cdc1525ee38fd221954aedb2edeb165c1da15bbfd10 [INFO] running `Command { std: "docker" "start" "-a" "de2fb2379cc34ec5fd0e7cdc1525ee38fd221954aedb2edeb165c1da15bbfd10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de2fb2379cc34ec5fd0e7cdc1525ee38fd221954aedb2edeb165c1da15bbfd10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2fb2379cc34ec5fd0e7cdc1525ee38fd221954aedb2edeb165c1da15bbfd10", kill_on_drop: false }` [INFO] [stdout] de2fb2379cc34ec5fd0e7cdc1525ee38fd221954aedb2edeb165c1da15bbfd10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6f2fd0421244ff4e39fa142cf884915fe4215dcc447f67e64bb8344a3c502698 [INFO] running `Command { std: "docker" "start" "-a" "6f2fd0421244ff4e39fa142cf884915fe4215dcc447f67e64bb8344a3c502698", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling console_engine v1.5.1 [INFO] [stderr] Compiling text_adv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/map.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/map.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | fn save_to_file(&self, file_name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/map.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | fn load_from_reader(reader: &mut BufReader) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/map.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | fn save_to_writer(&self, writer: &mut BufWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hit_by` and `is_dead` are never used [INFO] [stdout] --> src/enemy.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Enemy { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn hit_by(&mut self, attack: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_type` is never read [INFO] [stdout] --> src/event.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | event_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_progress` is never used [INFO] [stdout] --> src/event.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Event { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn in_progress(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inventory` is never constructed [INFO] [stdout] --> src/game.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `item_event_render` and `enemy_event_renderer` are never used [INFO] [stdout] --> src/game.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | fn item_event_render(&mut self, item: &Item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn enemy_event_renderer(&mut self, enemy: &Enemy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Chest`, `Leg`, `Arm`, `Foot`, and `Hand` are never constructed [INFO] [stdout] --> src/item.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Location { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Head, [INFO] [stdout] 7 | Chest, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Leg, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Arm, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Foot, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Hand, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `details` is never read [INFO] [stdout] --> src/map.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | details: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tile`, `set_tile`, and `details` are never used [INFO] [stdout] --> src/map.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_tile(&self, x: usize, y: usize) -> Option<&MapTile> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_tile(&mut self, x: usize, y: usize, tile: MapTile) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn details(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/player.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn turn(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn hit_by(&mut self, attack: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn head(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn chest(&self) -> &Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn legs(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn arms(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | pub fn foots(&self) -> &Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn left_hand(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn right_hand(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn inventory(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn remove_from_inventory(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save_to_file`, `load_from_reader`, and `save_to_writer` are never used [INFO] [stdout] --> src/serialize.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Serialize { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 7 | fn load_from_file(file_name: &str) -> io::Result; [INFO] [stdout] 8 | fn save_to_file(&self, file_name: &str) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | fn load_from_reader(reader: &mut BufReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn save_to_writer(&self, writer: &mut BufWriter); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextScr` is never constructed [INFO] [stdout] --> src/ui/text_scr.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TextScr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `screen`, `set_contents`, and `render` are never used [INFO] [stdout] --> src/ui/text_scr.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TextScr { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(width: u32, height: u32, contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn screen(&self) -> &Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_contents(&mut self, contents: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn render(&mut self) { [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/rustc4lz5Ty/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libconsole_engine-085169b54fcae6c2.rlib,libunicode_width-a8c49d31449f9404.rlib,libcrossterm-4cd82c8320cd1ebf.rlib,libsignal_hook-d100d71b0261830b.rlib,libsignal_hook_registry-e73e9c0195cb92c6.rlib,libmio-72f435085b72c559.rlib,liblog-2fa663e3959e676f.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libbitflags-561a4f1321538a32.rlib,libparking_lot-c7b7dd35a1969f74.rlib,libparking_lot_core-8809f7591d75a891.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-af890da9d7f9d1ee.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-96e83b871cb6a3bd.rlib,librand-04bdc0b2354be51a.rlib,librand_chacha-afb5b3d3c24be091.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-6c4fc9ccbd7ae0bb.rlib,libgetrandom-eaf6e2f1b6acd797.rlib,liblibc-4d7b145f3080a37b.rlib,libcfg_if-66d55f6b302e88c8.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/rustc4lz5Ty/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/text_adv-c1e55d6c4d4f3997" "-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-eaf6e2f1b6acd797.rlib(getrandom-eaf6e2f1b6acd797.getrandom.83987fef130a5163-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.2/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hc5a20fa54412be1bE+0xb6): 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 `text_adv` (bin "text_adv") due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f2fd0421244ff4e39fa142cf884915fe4215dcc447f67e64bb8344a3c502698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2fd0421244ff4e39fa142cf884915fe4215dcc447f67e64bb8344a3c502698", kill_on_drop: false }` [INFO] [stdout] 6f2fd0421244ff4e39fa142cf884915fe4215dcc447f67e64bb8344a3c502698