[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#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanOpizzi%2Frust-airline-system" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JuanOpizzi/rust-airline-system on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0bb45cb0a82c66b1e44883598185e180acec8dd818ce65883ecf190ef4456e7 [INFO] running `Command { std: "docker" "start" "-a" "a0bb45cb0a82c66b1e44883598185e180acec8dd818ce65883ecf190ef4456e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0bb45cb0a82c66b1e44883598185e180acec8dd818ce65883ecf190ef4456e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0bb45cb0a82c66b1e44883598185e180acec8dd818ce65883ecf190ef4456e7", kill_on_drop: false }` [INFO] [stdout] a0bb45cb0a82c66b1e44883598185e180acec8dd818ce65883ecf190ef4456e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e3aef58f793d86a59e2a83074c1a59d3c18bde776097d9b1a0e09f5578a8a434 [INFO] running `Command { std: "docker" "start" "-a" "e3aef58f793d86a59e2a83074c1a59d3c18bde776097d9b1a0e09f5578a8a434", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "e3aef58f793d86a59e2a83074c1a59d3c18bde776097d9b1a0e09f5578a8a434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3aef58f793d86a59e2a83074c1a59d3c18bde776097d9b1a0e09f5578a8a434", kill_on_drop: false }` [INFO] [stdout] e3aef58f793d86a59e2a83074c1a59d3c18bde776097d9b1a0e09f5578a8a434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e770a736e1333998ee08c019ad689c1195424394f1892c70874e3316768c2dd0 [INFO] running `Command { std: "docker" "start" "-a" "e770a736e1333998ee08c019ad689c1195424394f1892c70874e3316768c2dd0", kill_on_drop: false }` [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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "e770a736e1333998ee08c019ad689c1195424394f1892c70874e3316768c2dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e770a736e1333998ee08c019ad689c1195424394f1892c70874e3316768c2dd0", kill_on_drop: false }` [INFO] [stdout] e770a736e1333998ee08c019ad689c1195424394f1892c70874e3316768c2dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] db805e9a5ba03b65a83b4a2f288ce6fe895a81de731fc496cc4017d69f2ef1b0 [INFO] running `Command { std: "docker" "start" "-a" "db805e9a5ba03b65a83b4a2f288ce6fe895a81de731fc496cc4017d69f2ef1b0", kill_on_drop: false }` [INFO] [stderr] warning: variants `Occupied`, `Free`, and `Disabled` are never constructed [INFO] [stderr] --> src/classes/seat.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum SeatState { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 5 | Occupied, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 6 | Free, [INFO] [stderr] | ^^^^ [INFO] [stderr] 7 | Disabled, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SeatState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `state` and `class` are never read [INFO] [stderr] --> src/classes/seat.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Seat { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 25 | position: String, [INFO] [stderr] 26 | state: SeatState, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | class: SeatClass, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_state`, `get_class`, and `change_state` are never used [INFO] [stderr] --> src/classes/seat.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Seat { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stdout] [INFO] [stderr] 32 | pub fn new(position: String, state: SeatState, class: SeatClass) -> Seat { [INFO] [stdout] running 1 test [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn get_state(&self) -> SeatState { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn get_class(&self) -> SeatClass { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn change_state(&mut self, new_state: SeatState) { [INFO] [stdout] test classes::tickets_generator::tests::test_generate_different_cities ... ok [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: fields `name`, `id`, `state`, and `nro_rows` are never read [INFO] [stdout] [INFO] [stderr] --> src/classes/airplane.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Airplane { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 6 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 7 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 8 | pub state: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 9 | pub seats: HashMap, [INFO] [stderr] 10 | pub nro_rows: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `number_of_seats`, and `number_of_rows` are never used [INFO] [stderr] --> src/classes/airplane.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Airplane { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(name: String, id: String, state: String, seats: HashMap, nro_rows: u32) -> Airplane { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn number_of_seats(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn number_of_rows(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AirplaneBuilder` is never constructed [INFO] [stderr] --> src/classes/airplane_builder.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct AirplaneBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `build`, `with_seats`, and `add_seat` are never used [INFO] [stderr] --> src/classes/airplane_builder.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl AirplaneBuilder { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 16 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn build(self) -> Airplane { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn with_seats(mut self, rows_ends: u32, cols: u32, seat_state: SeatState, seat_class: SeatClass) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn add_seat(&mut self, seat: Seat) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `airline` (bin "airline" test) generated 7 warnings [INFO] [stderr] warning: `airline` (bin "airline") generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/airline-ea1a641be17da8c2) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/airline-e385be0216704daf) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test classes::tickets_generator::tests::test_generate_different_cities ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/airplane_builder_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/airplane_builder_tests-af19035910c5213e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_airplane_has_50_rows ... ok [INFO] [stdout] test test_create_airplane_builder_with_200_seats ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/seat_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/seat_tests-bbce9e8f19dca3c1) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_change_seat_to_occupied ... ok [INFO] [stdout] test test_change_seat_to_disabled ... ok [INFO] [stdout] test test_create_economic_seat ... ok [INFO] [stdout] test test_create_free_seat ... ok [INFO] [stdout] test test_create_premium_seat ... ok [INFO] [stdout] test test_valid_second_seat ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db805e9a5ba03b65a83b4a2f288ce6fe895a81de731fc496cc4017d69f2ef1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db805e9a5ba03b65a83b4a2f288ce6fe895a81de731fc496cc4017d69f2ef1b0", kill_on_drop: false }` [INFO] [stdout] db805e9a5ba03b65a83b4a2f288ce6fe895a81de731fc496cc4017d69f2ef1b0