[INFO] cloning repository https://github.com/filisko/rust-night-provler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/filisko/rust-night-provler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffilisko%2Frust-night-provler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffilisko%2Frust-night-provler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c252e34e3275208c7a8cee548941ea91ecd04ac9 [INFO] checking filisko/rust-night-provler against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffilisko%2Frust-night-provler" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/filisko/rust-night-provler on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/filisko/rust-night-provler [INFO] finished tweaking git repo https://github.com/filisko/rust-night-provler [INFO] tweaked toml for git repo https://github.com/filisko/rust-night-provler written to /workspace/builds/worker-93/source/Cargo.toml [INFO] crate git repo https://github.com/filisko/rust-night-provler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be148035495f67dace064c5617471d965a52a1c79f955ae4615eec06345d2cc7 [INFO] running `Command { std: "docker" "start" "-a" "be148035495f67dace064c5617471d965a52a1c79f955ae4615eec06345d2cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be148035495f67dace064c5617471d965a52a1c79f955ae4615eec06345d2cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be148035495f67dace064c5617471d965a52a1c79f955ae4615eec06345d2cc7", kill_on_drop: false }` [INFO] [stdout] be148035495f67dace064c5617471d965a52a1c79f955ae4615eec06345d2cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7045fb7c87831ef7f40c28bd8051aa2e15b89d0b0a558617ceca0caaa7455c7c [INFO] running `Command { std: "docker" "start" "-a" "7045fb7c87831ef7f40c28bd8051aa2e15b89d0b0a558617ceca0caaa7455c7c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking app v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/mainUT.rs from 2018 edition to 2021 [INFO] [stdout] warning: crate `mainUT` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `main_ut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aTest` should have a snake case name [INFO] [stdout] --> tests/mainUT.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn aTest() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / pub struct Parking { [INFO] [stdout] 76 | | vehicles: Vec>, [INFO] [stdout] 77 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [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: method `createCars` should have a snake case name [INFO] [stdout] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn createCars() -> (Car, Car, Car) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_cars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aDefaultCar` should have a snake case name [INFO] [stdout] --> src/main.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let aDefaultCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `a_default_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let aSmallCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let aMediumCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let aBigCar: Car = Car { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `parkingSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | parkingSlot: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parking_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `freeSlots` should have a snake case name [INFO] [stdout] --> src/main.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn freeSlots(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `free_slots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `putAVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn putAVehcileIntoSlot(vehicle: T) -> Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `put_avehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | fn randomNumber() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let mut aVehcileIntoSlot = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_vehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallParkingForCars` should have a snake case name [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let aSmallParkingForCars: ParkingForCars = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_small_parking_for_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printCats` should have a snake case name [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn printCats() -> (char, char, char) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_cats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / pub struct Parking { [INFO] [stdout] 76 | | vehicles: Vec>, [INFO] [stdout] 77 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [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: `Blue` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `createCars` should have a snake case name [INFO] [stdout] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn createCars() -> (Car, Car, Car) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_cars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aDefaultCar` should have a snake case name [INFO] [stdout] --> src/main.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let aDefaultCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `a_default_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let aSmallCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let aMediumCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let aBigCar: Car = Car { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `parkingSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | parkingSlot: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parking_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `freeSlots` should have a snake case name [INFO] [stdout] --> src/main.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn freeSlots(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `free_slots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `putAVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn putAVehcileIntoSlot(vehicle: T) -> Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `put_avehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | fn randomNumber() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let mut aVehcileIntoSlot = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_vehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallParkingForCars` should have a snake case name [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let aSmallParkingForCars: ParkingForCars = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_small_parking_for_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printCats` should have a snake case name [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn printCats() -> (char, char, char) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_cats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.97s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking app v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `mainUT` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `main_ut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aTest` should have a snake case name [INFO] [stdout] --> tests/mainUT.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn aTest() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / pub struct Parking { [INFO] [stdout] 76 | | vehicles: Vec>, [INFO] [stdout] 77 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / pub struct Parking { [INFO] [stdout] 76 | | vehicles: Vec>, [INFO] [stdout] 77 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [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: `Blue` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `createCars` should have a snake case name [INFO] [stdout] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn createCars() -> (Car, Car, Car) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_cars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aDefaultCar` should have a snake case name [INFO] [stdout] --> src/main.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let aDefaultCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `a_default_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let aSmallCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let aMediumCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let aBigCar: Car = Car { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `parkingSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | parkingSlot: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parking_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `freeSlots` should have a snake case name [INFO] [stdout] --> src/main.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn freeSlots(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `free_slots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `putAVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn putAVehcileIntoSlot(vehicle: T) -> Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `put_avehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | fn randomNumber() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let mut aVehcileIntoSlot = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_vehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallParkingForCars` should have a snake case name [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let aSmallParkingForCars: ParkingForCars = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_small_parking_for_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printCats` should have a snake case name [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn printCats() -> (char, char, char) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_cats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Vehicle` in public interface (error E0445) [INFO] [stdout] --> src/main.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [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: method `createCars` should have a snake case name [INFO] [stdout] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn createCars() -> (Car, Car, Car) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_cars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aDefaultCar` should have a snake case name [INFO] [stdout] --> src/main.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let aDefaultCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `a_default_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let aSmallCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let aMediumCar: Car = Car { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let aBigCar: Car = Car { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `parkingSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | parkingSlot: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parking_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `freeSlots` should have a snake case name [INFO] [stdout] --> src/main.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn freeSlots(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `free_slots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `putAVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn putAVehcileIntoSlot(vehicle: T) -> Slot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `put_avehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | fn randomNumber() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aVehcileIntoSlot` should have a snake case name [INFO] [stdout] --> src/main.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let mut aVehcileIntoSlot = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_vehcile_into_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `a_small_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aMediumCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `a_medium_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aBigCar` should have a snake case name [INFO] [stdout] --> src/main.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | let (aSmallCar, aMediumCar, aBigCar) = Car::createCars(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_big_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aSmallParkingForCars` should have a snake case name [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let aSmallParkingForCars: ParkingForCars = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `a_small_parking_for_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printCats` should have a snake case name [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn printCats() -> (char, char, char) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_cats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.19s [INFO] running `Command { std: "docker" "inspect" "7045fb7c87831ef7f40c28bd8051aa2e15b89d0b0a558617ceca0caaa7455c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7045fb7c87831ef7f40c28bd8051aa2e15b89d0b0a558617ceca0caaa7455c7c", kill_on_drop: false }` [INFO] [stdout] 7045fb7c87831ef7f40c28bd8051aa2e15b89d0b0a558617ceca0caaa7455c7c