[INFO] cloning repository https://github.com/Evergreenn/Itemgenerator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Evergreenn/Itemgenerator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvergreenn%2FItemgenerator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvergreenn%2FItemgenerator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ab9038cee1bc1fe9cf1daf34896af20c40eef62 [INFO] testing Evergreenn/Itemgenerator 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%2FEvergreenn%2FItemgenerator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Evergreenn/Itemgenerator [INFO] finished tweaking git repo https://github.com/Evergreenn/Itemgenerator [INFO] tweaked toml for git repo https://github.com/Evergreenn/Itemgenerator written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Evergreenn/Itemgenerator 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/Evergreenn/Itemgenerator 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 62611cc38a83a95b09e9f67105aa33f3c95da22127524f77434db3961863dd3a [INFO] running `Command { std: "docker" "start" "-a" "62611cc38a83a95b09e9f67105aa33f3c95da22127524f77434db3961863dd3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62611cc38a83a95b09e9f67105aa33f3c95da22127524f77434db3961863dd3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62611cc38a83a95b09e9f67105aa33f3c95da22127524f77434db3961863dd3a", kill_on_drop: false }` [INFO] [stdout] 62611cc38a83a95b09e9f67105aa33f3c95da22127524f77434db3961863dd3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] db58d4a5ffb7aadbee6c271496437828dddbf349e0a2d31f2f084d2c2fe04666 [INFO] running `Command { std: "docker" "start" "-a" "db58d4a5ffb7aadbee6c271496437828dddbf349e0a2d31f2f084d2c2fe04666", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling itemgenerator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `None`, `Fire`, `Water`, `Earth`, `Light`, and `Dark` are never constructed [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | enum WpnElement { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 24 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | Fire, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Water, //A weapon can come with a status effect. Weapons can only have one status effect enabled. [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Earth, //The success rate of landing an effect is determined by the suffix in the item name. [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | Dark [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WpnElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LeftHand` and `Chest` are never constructed [INFO] [stdout] --> src/main.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 161 | enum Slot { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 162 | RightHand, [INFO] [stdout] 163 | LeftHand, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | Chest [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slot` 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: enum `ItemType` is never used [INFO] [stdout] --> src/main.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 168 | enum ItemType{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | struct Object { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 211 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 212 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 213 | ilevel: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 214 | rarity: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 215 | pub equipement: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | pub caracteristics_augmentation: Option<(String, u8)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub special: Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` 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 `slot`, `type_equip`, `equipped`, `weapon`, and `armor` are never read [INFO] [stdout] --> src/main.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct Equipment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 223 | slot: Slot, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | type_equip: TypeEquip, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 225 | equipped: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 226 | pub weapon: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 227 | pub armor: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Equipment` 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: fields `min_damage`, `max_damage`, `element`, and `ailment` are never read [INFO] [stdout] --> src/main.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | struct Weapon { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 233 | pub min_damage: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 234 | pub max_damage: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 235 | pub element: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 236 | pub ailment: Option<(WpnAilment, u8)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weapon` 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 `heal` is never read [INFO] [stdout] --> src/main.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 240 | struct Special { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 241 | pub heal: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Special` 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: fields `armor` and `resistances` are never read [INFO] [stdout] --> src/main.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 245 | struct Armor { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 246 | armor: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 247 | resistances: u8 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Armor` has derived impls for the traits `Debug` and `Clone`, but these are 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/rustclNJCkV/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-8704c166a4ea7ff9.rlib,librand_chacha-42f99a7354e34d2c.rlib,libppv_lite86-fe4748cb9a4a903e.rlib,librand_core-20b4b23967ce8507.rlib,libgetrandom-992505fc8a3580a9.rlib,liblibc-6e967958c3170a8f.rlib,libcfg_if-2d17986ae484e939.rlib,libstrum-47a076f3a44d22ff.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/rustclNJCkV/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/itemgenerator-8de5e146a19c8a01" "-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-992505fc8a3580a9.rlib(getrandom-992505fc8a3580a9.getrandom.dd1329186be7f076-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.1.15/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17hc1ae206e1a7e2041E+0x79): 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 `itemgenerator` (bin "itemgenerator") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db58d4a5ffb7aadbee6c271496437828dddbf349e0a2d31f2f084d2c2fe04666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db58d4a5ffb7aadbee6c271496437828dddbf349e0a2d31f2f084d2c2fe04666", kill_on_drop: false }` [INFO] [stdout] db58d4a5ffb7aadbee6c271496437828dddbf349e0a2d31f2f084d2c2fe04666