[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] checking JuanOpizzi/rust-airline-system against try#89681135fd92d7dee32c3e562b052ee82f97008c for pr-97086 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanOpizzi%2Frust-airline-system" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JuanOpizzi/rust-airline-system on toolchain 89681135fd92d7dee32c3e562b052ee82f97008c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+89681135fd92d7dee32c3e562b052ee82f97008c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-15/source/Cargo.toml [INFO] crate git repo https://github.com/JuanOpizzi/rust-airline-system already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+89681135fd92d7dee32c3e562b052ee82f97008c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+89681135fd92d7dee32c3e562b052ee82f97008c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c500757795c85edb6b45cb2601b4a975d46c15e2103a0674dbe198083d432145 [INFO] running `Command { std: "docker" "start" "-a" "c500757795c85edb6b45cb2601b4a975d46c15e2103a0674dbe198083d432145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c500757795c85edb6b45cb2601b4a975d46c15e2103a0674dbe198083d432145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c500757795c85edb6b45cb2601b4a975d46c15e2103a0674dbe198083d432145", kill_on_drop: false }` [INFO] [stdout] c500757795c85edb6b45cb2601b4a975d46c15e2103a0674dbe198083d432145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+89681135fd92d7dee32c3e562b052ee82f97008c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00065be5aec73b975402c951b286793190cc2b1701d0e2ac3d3244751efe1867 [INFO] running `Command { std: "docker" "start" "-a" "00065be5aec73b975402c951b286793190cc2b1701d0e2ac3d3244751efe1867", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking airline v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Occupied` [INFO] [stdout] --> src/classes/seat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Occupied, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SeatState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classes/seat.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Occupied` [INFO] [stdout] --> src/classes/seat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Occupied, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SeatState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classes/seat.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Free` [INFO] [stdout] --> src/classes/seat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Free, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SeatState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classes/seat.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Disabled` [INFO] [stdout] --> src/classes/seat.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Disabled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SeatState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classes/seat.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/classes/seat.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | state: SeatState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class` [INFO] [stdout] --> src/classes/seat.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | class: SeatClass, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/classes/seat.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(position: String, state: SeatState, class: SeatClass) -> Seat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_state` [INFO] [stdout] --> src/classes/seat.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_state(&self) -> SeatState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_class` [INFO] [stdout] --> src/classes/seat.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_class(&self) -> SeatClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_state` [INFO] [stdout] --> src/classes/seat.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn change_state(&mut self, new_state: SeatState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/classes/airplane.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(name: String, id: String, state: String, seats: HashMap, nro_rows: u32) -> Airplane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_seats` [INFO] [stdout] --> src/classes/airplane.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn number_of_seats(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_rows` [INFO] [stdout] --> src/classes/airplane.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn number_of_rows(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AirplaneBuilder` [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 function is never used: `new` [INFO] [stdout] --> src/classes/airplane_builder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/classes/airplane_builder.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn build(self) -> Airplane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_seats` [INFO] [stdout] --> src/classes/airplane_builder.rs:30:12 [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] [INFO] [stdout] warning: associated function is never used: `add_seat` [INFO] [stdout] --> src/classes/airplane_builder.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add_seat(&mut self, seat: Seat) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Free` [INFO] [stdout] --> src/classes/seat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Free, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SeatState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classes/seat.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Disabled` [INFO] [stdout] --> src/classes/seat.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Disabled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SeatState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classes/seat.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/classes/seat.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | state: SeatState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class` [INFO] [stdout] --> src/classes/seat.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | class: SeatClass, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/classes/seat.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(position: String, state: SeatState, class: SeatClass) -> Seat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_state` [INFO] [stdout] --> src/classes/seat.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_state(&self) -> SeatState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_class` [INFO] [stdout] --> src/classes/seat.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_class(&self) -> SeatClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_state` [INFO] [stdout] --> src/classes/seat.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn change_state(&mut self, new_state: SeatState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/classes/airplane.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(name: String, id: String, state: String, seats: HashMap, nro_rows: u32) -> Airplane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_seats` [INFO] [stdout] --> src/classes/airplane.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn number_of_seats(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_rows` [INFO] [stdout] --> src/classes/airplane.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn number_of_rows(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AirplaneBuilder` [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 function is never used: `new` [INFO] [stdout] --> src/classes/airplane_builder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/classes/airplane_builder.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn build(self) -> Airplane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_seats` [INFO] [stdout] --> src/classes/airplane_builder.rs:30:12 [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] [INFO] [stdout] warning: associated function is never used: `add_seat` [INFO] [stdout] --> src/classes/airplane_builder.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add_seat(&mut self, seat: Seat) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.01s [INFO] running `Command { std: "docker" "inspect" "00065be5aec73b975402c951b286793190cc2b1701d0e2ac3d3244751efe1867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00065be5aec73b975402c951b286793190cc2b1701d0e2ac3d3244751efe1867", kill_on_drop: false }` [INFO] [stdout] 00065be5aec73b975402c951b286793190cc2b1701d0e2ac3d3244751efe1867