[INFO] cloning repository https://github.com/Gelbpunkt/freeciv-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gelbpunkt/freeciv-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGelbpunkt%2Ffreeciv-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGelbpunkt%2Ffreeciv-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95c833f42e6c738019f35167a8789223fd87fc39 [INFO] testing Gelbpunkt/freeciv-rs 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%2FGelbpunkt%2Ffreeciv-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Gelbpunkt/freeciv-rs [INFO] finished tweaking git repo https://github.com/Gelbpunkt/freeciv-rs [INFO] tweaked toml for git repo https://github.com/Gelbpunkt/freeciv-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gelbpunkt/freeciv-rs 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/Gelbpunkt/freeciv-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" "+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] 83acddb3cb5f01c7a6f733ee1341afc96895d4bba69a8d2a73d5475ab9661c58 [INFO] running `Command { std: "docker" "start" "-a" "83acddb3cb5f01c7a6f733ee1341afc96895d4bba69a8d2a73d5475ab9661c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83acddb3cb5f01c7a6f733ee1341afc96895d4bba69a8d2a73d5475ab9661c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83acddb3cb5f01c7a6f733ee1341afc96895d4bba69a8d2a73d5475ab9661c58", kill_on_drop: false }` [INFO] [stdout] 83acddb3cb5f01c7a6f733ee1341afc96895d4bba69a8d2a73d5475ab9661c58 [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] 101209f1b1cfe98eacd0b51ca1d39127bd316c153bf571086a7c08ae12184647 [INFO] running `Command { std: "docker" "start" "-a" "101209f1b1cfe98eacd0b51ca1d39127bd316c153bf571086a7c08ae12184647", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling bitflags v2.0.2 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling noise v0.8.2 [INFO] [stderr] Compiling freeciv-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `north_east` [INFO] [stdout] --> src/tiles/tile.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | north_east: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_north_east` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `south_east` [INFO] [stdout] --> src/tiles/tile.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | south_east: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_south_east` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `south_west` [INFO] [stdout] --> src/tiles/tile.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | south_west: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_south_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `north_west` [INFO] [stdout] --> src/tiles/tile.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | north_west: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_north_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_technology_by_idx` is never used [INFO] [stdout] --> src/research/technologies.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_technology_by_idx(idx: usize) -> &'static Technology { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/tiles/tile.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 238 | impl Terrain { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 635 | pub(crate) fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `railroad` is never used [INFO] [stdout] --> src/tiles/tile.rs:671:10 [INFO] [stdout] | [INFO] [stdout] 671 | const fn railroad() -> TransformOutcome { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WorkerSkill` is never used [INFO] [stdout] --> src/tiles/tile.rs:931:10 [INFO] [stdout] | [INFO] [stdout] 931 | pub enum WorkerSkill { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tiles/images.rs:548:31 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn get_image(identifier: &'static str) -> &DynamicImage { [INFO] [stdout] | ^^^^^^^ ------------- the lifetime gets resolved as `'static` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 548 | pub fn get_image(identifier: &'static str) -> &'static DynamicImage { [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/rustcAQgLg4/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libfastrand-72d3ba1383de006c.rlib,librand-ab94f3bfe2c2ffc2.rlib,librand_chacha-edc44137f1655299.rlib,librand_core-b65259741df30b03.rlib,libgetrandom-ea7aecca9da11bf0.rlib,libnoise-5dbcb39b54ea457d.rlib,librand_xorshift-5a85134f088b42d9.rlib,librand-868372930ffcec95.rlib,librand_chacha-bd5dda83edc94756.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-76fa1d58525f9d41.rlib,libgetrandom-5a4fe0f76a692761.rlib,liblibc-585bbe0e9579e930.rlib,libbitflags-2363e68356c37bdb.rlib,libfixedbitset-c19b96a1394b5a01.rlib,libimage-ebefad2e0850a618.rlib,libbytemuck-071244002e0b1fbf.rlib,libcolor_quant-fd36927056f4d79f.rlib,libbyteorder-c7092f68299ac016.rlib,libpng-dd5a25fe38fbed38.rlib,libflate2-c0be16b6c241b39c.rlib,libminiz_oxide-2cafdf14c05ef334.rlib,libadler-b32dea79b2f05ffd.rlib,libcrc32fast-8f2d6020cd2aee51.rlib,libcfg_if-66d55f6b302e88c8.rlib,libbitflags-e274cd04b58a060d.rlib,libnum_rational-e11ba2b0b774c027.rlib,libnum_integer-4d89774bb0b448de.rlib,libnum_traits-3cb65ae8623d94f1.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/rustcAQgLg4/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/freeciv_rs-d718376e3bed0abf" "-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-ea7aecca9da11bf0.rlib(getrandom-ea7aecca9da11bf0.getrandom.9696f9f0acaa4413-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.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h8c53d9cb90ad6b51E+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 `freeciv-rs` (bin "freeciv-rs") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "101209f1b1cfe98eacd0b51ca1d39127bd316c153bf571086a7c08ae12184647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101209f1b1cfe98eacd0b51ca1d39127bd316c153bf571086a7c08ae12184647", kill_on_drop: false }` [INFO] [stdout] 101209f1b1cfe98eacd0b51ca1d39127bd316c153bf571086a7c08ae12184647