[INFO] cloning repository https://github.com/JustFiesta/carMaintenance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JustFiesta/carMaintenance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustFiesta%2FcarMaintenance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustFiesta%2FcarMaintenance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec45ac7ac43c3c5f72016c3912a3706ca2373611 [INFO] checking JustFiesta/carMaintenance/ec45ac7ac43c3c5f72016c3912a3706ca2373611 against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustFiesta%2FcarMaintenance" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JustFiesta/carMaintenance on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JustFiesta/carMaintenance [INFO] finished tweaking git repo https://github.com/JustFiesta/carMaintenance [INFO] tweaked toml for git repo https://github.com/JustFiesta/carMaintenance written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JustFiesta/carMaintenance 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" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.4.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2f576d4e1c094dcd4fdb6d915aec485ac220e8430fe1938a988ed5908ccfedb [INFO] running `Command { std: "docker" "start" "-a" "d2f576d4e1c094dcd4fdb6d915aec485ac220e8430fe1938a988ed5908ccfedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2f576d4e1c094dcd4fdb6d915aec485ac220e8430fe1938a988ed5908ccfedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f576d4e1c094dcd4fdb6d915aec485ac220e8430fe1938a988ed5908ccfedb", kill_on_drop: false }` [INFO] [stdout] d2f576d4e1c094dcd4fdb6d915aec485ac220e8430fe1938a988ed5908ccfedb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b454fbd69cc5113ae0278e554859a36a9239b21494f94ef1dea4f6962c4678a9 [INFO] running `Command { std: "docker" "start" "-a" "b454fbd69cc5113ae0278e554859a36a9239b21494f94ef1dea4f6962c4678a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking chrono v0.4.30 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rusqlite v0.29.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking car_maintenance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `vehicle` [INFO] [stdout] --> src/users/users.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn change_def_vehicle(&mut self, vehicle: &Vehicle) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vehicle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vehicle` [INFO] [stdout] --> src/users/users.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn change_def_vehicle(&mut self, vehicle: &Vehicle) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vehicle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/vehicles/vehicles.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vehicle{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | vehicle_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | make: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | year: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | mileage: u128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | engine_displacement: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fuel_type: FuelType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/vehicles/vehicles.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vehicle{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | vehicle_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | make: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | year: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | mileage: u128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | engine_displacement: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fuel_type: FuelType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Gasoline`, `Diesel`, `LPG`, `Hybrid`, and `Electric` are never constructed [INFO] [stdout] --> src/vehicles/vehicles.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum FuelType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | Gasoline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Diesel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | LPG, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Hybrid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Electric, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_out`, `sign_in`, and `change_def_vehicle` are never used [INFO] [stdout] --> src/users/users.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl User{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn log_out(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn sign_in(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn change_def_vehicle(&mut self, vehicle: &Vehicle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Gasoline`, `Diesel`, `LPG`, `Hybrid`, and `Electric` are never constructed [INFO] [stdout] --> src/vehicles/vehicles.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum FuelType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | Gasoline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Diesel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | LPG, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Hybrid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Electric, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `note` is never read [INFO] [stdout] --> src/users/notes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct UserNote { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 4 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_out`, `sign_in`, and `change_def_vehicle` are never used [INFO] [stdout] --> src/users/users.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl User{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn log_out(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn sign_in(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn change_def_vehicle(&mut self, vehicle: &Vehicle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicle_id`, `part`, `replacement_date`, `cost`, `place`, and `next_maintenance` are never read [INFO] [stdout] --> src/maintenance/maintenance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct Maintenance { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 4 | vehicle_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | part: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | replacement_date: chrono::NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | cost: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | place: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | next_maintenance: chrono::NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `note` is never read [INFO] [stdout] --> src/users/notes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct UserNote { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 4 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicle_id`, `part`, `replacement_date`, `cost`, `place`, and `next_maintenance` are never read [INFO] [stdout] --> src/maintenance/maintenance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct Maintenance { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 4 | vehicle_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | part: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | replacement_date: chrono::NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | cost: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | place: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | next_maintenance: chrono::NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `login_attempt` [INFO] [stdout] --> src/main.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | ... let login_attempt = get_user_input("login"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_login_attempt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `login_attempt` [INFO] [stdout] --> src/main.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | ... let login_attempt = get_user_input("login"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_login_attempt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password_attempt` [INFO] [stdout] --> src/main.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | ... let password_attempt = get_user_input("password"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password_attempt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password_attempt` [INFO] [stdout] --> src/main.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | ... let password_attempt = get_user_input("password"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password_attempt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logged_user` [INFO] [stdout] --> src/main.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | ... let logged_user: users::User = create_user_from_input(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logged_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logged_user` [INFO] [stdout] --> src/main.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | ... let logged_user: users::User = create_user_from_input(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logged_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "b454fbd69cc5113ae0278e554859a36a9239b21494f94ef1dea4f6962c4678a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b454fbd69cc5113ae0278e554859a36a9239b21494f94ef1dea4f6962c4678a9", kill_on_drop: false }` [INFO] [stdout] b454fbd69cc5113ae0278e554859a36a9239b21494f94ef1dea4f6962c4678a9