[INFO] cloning repository https://github.com/CDnEllen/mon-world [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CDnEllen/mon-world" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCDnEllen%2Fmon-world", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCDnEllen%2Fmon-world'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3dbecce737c9fc6c4700a7b539abff04fa7b49b [INFO] testing CDnEllen/mon-world 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%2FCDnEllen%2Fmon-world" "/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/CDnEllen/mon-world [INFO] finished tweaking git repo https://github.com/CDnEllen/mon-world [INFO] tweaked toml for git repo https://github.com/CDnEllen/mon-world written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CDnEllen/mon-world 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/CDnEllen/mon-world 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] cb438b4a10015bfcca2fc82f0ef846f617ccbc6eded86df1aea7bbbb12e71854 [INFO] running `Command { std: "docker" "start" "-a" "cb438b4a10015bfcca2fc82f0ef846f617ccbc6eded86df1aea7bbbb12e71854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb438b4a10015bfcca2fc82f0ef846f617ccbc6eded86df1aea7bbbb12e71854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb438b4a10015bfcca2fc82f0ef846f617ccbc6eded86df1aea7bbbb12e71854", kill_on_drop: false }` [INFO] [stdout] cb438b4a10015bfcca2fc82f0ef846f617ccbc6eded86df1aea7bbbb12e71854 [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] b746fda9e6499feb8a3c7a95e09d2ae1219b1809ae814651349b19bf3cf40e1d [INFO] running `Command { std: "docker" "start" "-a" "b746fda9e6499feb8a3c7a95e09d2ae1219b1809ae814651349b19bf3cf40e1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling mon_test v0.1.0 (/opt/rustwide/workdir/crates/mon_test) [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling mon_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `menu` is never used [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn menu(text: String, options: Vec) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `def`, `moves`, `lvl`, `exp`, and `cur_hp` are never read [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Mon { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 63 | def: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | moves: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | lvl: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | exp: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | cur_hp: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_team`, `active_player_mons`, `enemy_team`, and `active_enemy_mons` are never read [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Battle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | player_team: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 73 | active_player_mons: Box<[Option]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | enemy_team: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | active_enemy_mons: Box<[Option]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Battle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/game_def.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MonDef { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | species: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | abilities: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | evos: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | learnset: Vec<(i64, String)>, [INFO] [stdout] 11 | base_exp: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | weight: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `def`, `nickname`, `ability`, `level`, and `current_moves` are never read [INFO] [stdout] --> src/game_def.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct MonInstance { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 139 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 140 | def: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 141 | nickname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 142 | ability: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 143 | level: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 144 | current_moves: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonInstance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game_def.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct TypeChart(HashMap>); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TypeChart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `targets_self` and `target_type` are never read [INFO] [stdout] --> src/game_def.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct TargetType { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 257 | targets_self: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 258 | target_type: TargetTypeModSelf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TargetType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/game_def.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct MoveDef { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 275 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 276 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 277 | accuracy: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 278 | base_power: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 279 | category: Category, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 280 | priority: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 281 | target: TargetType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 282 | move_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 283 | [INFO] [stdout] 284 | atk_boost: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 285 | spatk_boost: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 286 | def_boost: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 287 | spdef_boost: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/rustc9x0P2b/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtoml-5009f09e978ac419.rlib,libserde-2c15afe036253a32.rlib,librand-a396299a8e3740c8.rlib,librand_chacha-8f570b5f1eb6a1c3.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-8ba64fbc8aa7c041.rlib,libgetrandom-7224e8d97ab31e34.rlib,liblibc-974998504e402399.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/rustc9x0P2b/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/mon_world-dd9005e6dc357f8f" "-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-7224e8d97ab31e34.rlib(getrandom-7224e8d97ab31e34.getrandom.4cc3d49ccad796da-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.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h73ca2a13d314abfbE+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 `mon_world` (bin "mon_world") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b746fda9e6499feb8a3c7a95e09d2ae1219b1809ae814651349b19bf3cf40e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b746fda9e6499feb8a3c7a95e09d2ae1219b1809ae814651349b19bf3cf40e1d", kill_on_drop: false }` [INFO] [stdout] b746fda9e6499feb8a3c7a95e09d2ae1219b1809ae814651349b19bf3cf40e1d