[INFO] cloning repository https://github.com/willemsh/star-trek-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willemsh/star-trek-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemsh%2Fstar-trek-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemsh%2Fstar-trek-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2794d7d95c76ace4e1fdf104134f33704447acf0 [INFO] testing willemsh/star-trek-cli 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%2Fwillemsh%2Fstar-trek-cli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/willemsh/star-trek-cli [INFO] finished tweaking git repo https://github.com/willemsh/star-trek-cli [INFO] tweaked toml for git repo https://github.com/willemsh/star-trek-cli written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/willemsh/star-trek-cli 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/willemsh/star-trek-cli 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7d5c6904c72678f2fdbddadb4563055fcb3ead1e6d836ce416e05e94d47ba163 [INFO] running `Command { std: "docker" "start" "-a" "7d5c6904c72678f2fdbddadb4563055fcb3ead1e6d836ce416e05e94d47ba163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d5c6904c72678f2fdbddadb4563055fcb3ead1e6d836ce416e05e94d47ba163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d5c6904c72678f2fdbddadb4563055fcb3ead1e6d836ce416e05e94d47ba163", kill_on_drop: false }` [INFO] [stdout] 7d5c6904c72678f2fdbddadb4563055fcb3ead1e6d836ce416e05e94d47ba163 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 985518561e91d3f454d4f54b5c14864587f8b12f3cbe3e7f6986a35da867e44c [INFO] running `Command { std: "docker" "start" "-a" "985518561e91d3f454d4f54b5c14864587f8b12f3cbe3e7f6986a35da867e44c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling newline-converter v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling dyn-clone v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling inquire v0.3.0 [INFO] [stderr] Compiling startrek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/startrek.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/startrek.rs:1882:21 [INFO] [stdout] | [INFO] [stdout] 1882 | pub fn dirdist_calc(game: &Game) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/startrek.rs:1913:19 [INFO] [stdout] | [INFO] [stdout] 1913 | pub fn galaxy_map(game: &Game) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/startrek.rs:1954:23 [INFO] [stdout] | [INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/startrek.rs:1954:34 [INFO] [stdout] | [INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/startrek.rs:2003:9 [INFO] [stdout] | [INFO] [stdout] 2003 | let mut tmp_current_quadrant = game.get_mut_current_quadrant(); [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: constant `MAXROW` is never used [INFO] [stdout] --> src/startrek.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MAXROW: u8 = 24; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXCOL` is never used [INFO] [stdout] --> src/startrek.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MAXCOL: u8 = 80; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUADRANT_WIDTH` is never used [INFO] [stdout] --> src/startrek.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const QUADRANT_WIDTH: u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUADRANT_HEIGHT` is never used [INFO] [stdout] --> src/startrek.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const QUADRANT_HEIGHT: u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GM_1` is never used [INFO] [stdout] --> src/startrek.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const GM_1: &str = " ----- ----- ----- ----- ----- ----- ----- -----"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIST_1` is never used [INFO] [stdout] --> src/startrek.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DIST_1: &str = " DISTANCE = %s\n\n"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `destroyed` is never read [INFO] [stdout] --> src/startrek.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Ship { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 199 | pub destroyed: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ship` 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 `position` is never read [INFO] [stdout] --> src/startrek.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct Quadrant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 318 | pub position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quadrant` 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 `position` is never read [INFO] [stdout] --> src/startrek.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct Sector { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 341 | pub position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sector` 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 `total_starbases` and `total_klingons` are never read [INFO] [stdout] --> src/startrek.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | pub total_starbases: u32, /* Total Starbases at start */ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | pub total_klingons: u32, /* Klingons at start */ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/startrek.rs:1235:5 [INFO] [stdout] | [INFO] [stdout] 1235 | drop(current_quadrant); [INFO] [stdout] | ^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Quadrant` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1235 - drop(current_quadrant); [INFO] [stdout] 1235 + let _ = current_quadrant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/startrek.rs:1457:9 [INFO] [stdout] | [INFO] [stdout] 1457 | drop(current_quadrant); [INFO] [stdout] | ^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Quadrant` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1457 - drop(current_quadrant); [INFO] [stdout] 1457 + let _ = current_quadrant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/startrek.rs:2005:5 [INFO] [stdout] | [INFO] [stdout] 2005 | drop(tmp_current_quadrant); [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Quadrant` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 2005 - drop(tmp_current_quadrant); [INFO] [stdout] 2005 + let _ = tmp_current_quadrant; [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/rustcfMXGlv/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-316111c6ab3b9eb3.rlib,librand_chacha-3bc7766870bec45d.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-ef50ccf3e049e9e8.rlib,libgetrandom-ab0d0cb09cde2ae6.rlib,libinquire-2c43da3820d42532.rlib,libnewline_converter-d16b47ab5b929314.rlib,libdyn_clone-89dd14a537057ebb.rlib,libunicode_width-2222409b5ba3ddc6.rlib,libcrossterm-9e8227adc878db50.rlib,libsignal_hook_mio-0ce2600aa9ab8233.rlib,libsignal_hook-427cd83a5ce68e4e.rlib,libsignal_hook_registry-36b5c01b76053658.rlib,libmio-3aea7ff8e1ab5f1c.rlib,liblog-fc4b0167ad2190de.rlib,libparking_lot-e20bf371e6e78274.rlib,libparking_lot_core-8b0a141a8c1c0294.rlib,liblibc-3f8d2de98931db0f.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-cccb44d9dce4cf27.rlib,liblock_api-b0aaef6bf175c0ff.rlib,libscopeguard-73056285f12cb829.rlib,libbitflags-e274cd04b58a060d.rlib,libunicode_segmentation-3334e91806fdcd11.rlib,libthiserror-d9bc61398e9c1c01.rlib,liblazy_static-4b136fc9bfbd2c4b.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/rustcfMXGlv/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/startrek-b5048cf7b55d1c2a" "-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-ab0d0cb09cde2ae6.rlib(getrandom-ab0d0cb09cde2ae6.getrandom.8e3b46e6322defcf-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.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h5fb53077793b99dbE+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 `startrek` (bin "startrek") due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "985518561e91d3f454d4f54b5c14864587f8b12f3cbe3e7f6986a35da867e44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985518561e91d3f454d4f54b5c14864587f8b12f3cbe3e7f6986a35da867e44c", kill_on_drop: false }` [INFO] [stdout] 985518561e91d3f454d4f54b5c14864587f8b12f3cbe3e7f6986a35da867e44c