[INFO] cloning repository https://github.com/JuanOpizzi/rust-airline-system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JuanOpizzi/rust-airline-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanOpizzi%2Frust-airline-system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanOpizzi%2Frust-airline-system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77619683a11409dd1f5f615ca93498d8ecd70fc2 [INFO] testing JuanOpizzi/rust-airline-system 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%2FJuanOpizzi%2Frust-airline-system" "/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/JuanOpizzi/rust-airline-system [INFO] finished tweaking git repo https://github.com/JuanOpizzi/rust-airline-system [INFO] tweaked toml for git repo https://github.com/JuanOpizzi/rust-airline-system written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JuanOpizzi/rust-airline-system 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/JuanOpizzi/rust-airline-system 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] 9f13590c926274e69f4c7d394b906a3a711606e23a76f83669d6aa4d113a08a2 [INFO] running `Command { std: "docker" "start" "-a" "9f13590c926274e69f4c7d394b906a3a711606e23a76f83669d6aa4d113a08a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f13590c926274e69f4c7d394b906a3a711606e23a76f83669d6aa4d113a08a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f13590c926274e69f4c7d394b906a3a711606e23a76f83669d6aa4d113a08a2", kill_on_drop: false }` [INFO] [stdout] 9f13590c926274e69f4c7d394b906a3a711606e23a76f83669d6aa4d113a08a2 [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] 5d0ae34f84449f1d46d93daf4bd952de4882c776c3c76962252646d406d90f1c [INFO] running `Command { std: "docker" "start" "-a" "5d0ae34f84449f1d46d93daf4bd952de4882c776c3c76962252646d406d90f1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling airline v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Occupied`, `Free`, and `Disabled` are never constructed [INFO] [stdout] --> src/classes/seat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum SeatState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Occupied, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | Free, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Disabled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SeatState` 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: fields `state` and `class` are never read [INFO] [stdout] --> src/classes/seat.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Seat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | position: String, [INFO] [stdout] 26 | state: SeatState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | class: SeatClass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_state`, `get_class`, and `change_state` are never used [INFO] [stdout] --> src/classes/seat.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Seat { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(position: String, state: SeatState, class: SeatClass) -> Seat { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_state(&self) -> SeatState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_class(&self) -> SeatClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn change_state(&mut self, new_state: SeatState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `id`, `state`, and `nro_rows` are never read [INFO] [stdout] --> src/classes/airplane.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Airplane { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub state: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub seats: HashMap, [INFO] [stdout] 10 | pub nro_rows: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `number_of_seats`, and `number_of_rows` are never used [INFO] [stdout] --> src/classes/airplane.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Airplane { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(name: String, id: String, state: String, seats: HashMap, nro_rows: u32) -> Airplane { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn number_of_seats(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn number_of_rows(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AirplaneBuilder` is never constructed [INFO] [stdout] --> src/classes/airplane_builder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AirplaneBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build`, `with_seats`, and `add_seat` are never used [INFO] [stdout] --> src/classes/airplane_builder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AirplaneBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn build(self) -> Airplane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn with_seats(mut self, rows_ends: u32, cols: u32, seat_state: SeatState, seat_class: SeatClass) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn add_seat(&mut self, seat: Seat) { [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/rustctzzqzx/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-132c6b8bad0485c4.rlib,librand_chacha-22dc16d05199386b.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-f856064dc3afdab3.rlib,libgetrandom-7d16a119a5ff43f6.rlib,liblibc-87b2de850ab80bfd.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/rustctzzqzx/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/airline-fd3e99bcc4288a34" "-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-7d16a119a5ff43f6.rlib(getrandom-7d16a119a5ff43f6.getrandom.c8aa96a73883e17f-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.6/src/util_libc.rs:117:(.text._ZN9getrandom9util_libc13open_readonly17h335012ba05e09739E+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 `airline` (bin "airline") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5d0ae34f84449f1d46d93daf4bd952de4882c776c3c76962252646d406d90f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0ae34f84449f1d46d93daf4bd952de4882c776c3c76962252646d406d90f1c", kill_on_drop: false }` [INFO] [stdout] 5d0ae34f84449f1d46d93daf4bd952de4882c776c3c76962252646d406d90f1c