[INFO] cloning repository https://github.com/syedqutaiba/Q1_Assignment_3a [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syedqutaiba/Q1_Assignment_3a" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyedqutaiba%2FQ1_Assignment_3a", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyedqutaiba%2FQ1_Assignment_3a'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a4f98cbe11dc008f9a8993f2b307bfe7a6e3730 [INFO] testing syedqutaiba/Q1_Assignment_3a against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyedqutaiba%2FQ1_Assignment_3a" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syedqutaiba/Q1_Assignment_3a on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/syedqutaiba/Q1_Assignment_3a [INFO] finished tweaking git repo https://github.com/syedqutaiba/Q1_Assignment_3a [INFO] tweaked toml for git repo https://github.com/syedqutaiba/Q1_Assignment_3a written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/syedqutaiba/Q1_Assignment_3a already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 536696ded435033e05934fb0ae2ffa5a58cb17df0ac9afb0ab260cb7f05edb28 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "536696ded435033e05934fb0ae2ffa5a58cb17df0ac9afb0ab260cb7f05edb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "536696ded435033e05934fb0ae2ffa5a58cb17df0ac9afb0ab260cb7f05edb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536696ded435033e05934fb0ae2ffa5a58cb17df0ac9afb0ab260cb7f05edb28", kill_on_drop: false }` [INFO] [stdout] 536696ded435033e05934fb0ae2ffa5a58cb17df0ac9afb0ab260cb7f05edb28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d480edef1567ca349a166f4a5113c28d269fb3c3880d0806082d776cfc89f74c [INFO] running `Command { std: "docker" "start" "-a" "d480edef1567ca349a166f4a5113c28d269fb3c3880d0806082d776cfc89f74c", kill_on_drop: false }` [INFO] [stderr] Compiling assignment_3a v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `vehicle_types` should have an upper camel case name [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct vehicle_types { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VehicleTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_1000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Series_1000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series1000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_2000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | Series_2000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series2000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_3000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | Series_3000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series3000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_4000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Series_4000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series4000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_5000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Series_5000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series5000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_6000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Series_6000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series6000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `HP` is named the same as one of the variants of the type `Laptops` [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `Laptops::HP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Asus` is named the same as one of the variants of the type `Laptops` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `Laptops::Asus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Lenovo` is named the same as one of the variants of the type `Laptops` [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Laptops::Lenovo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 174 | Dell => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HP` [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_HP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Dell` [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | Dell => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Dell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Asus` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Asus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Lenovo` [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Lenovo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Cars` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Cars: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [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: `Trucks` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Trucks: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [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: `Bikes` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Bikes: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [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: `Trucks` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Trucks(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vehicles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug)] [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: `Dell` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Dell(Models), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laptops` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Debug)] [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: `Series_1000` [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Series_1000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_2000` [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | Series_2000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_3000` [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | Series_3000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_4000` [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Series_4000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_5000` [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Series_5000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_6000` [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Series_6000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: structure field `Cars` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Cars: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Trucks` should have a snake case name [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Trucks: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `trucks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Bikes` should have a snake case name [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Bikes: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `bikes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HP` should have a snake case name [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Dell` should have a snake case name [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | Dell => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Asus` should have a snake case name [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `asus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lenovo` should have a snake case name [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `lenovo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "d480edef1567ca349a166f4a5113c28d269fb3c3880d0806082d776cfc89f74c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d480edef1567ca349a166f4a5113c28d269fb3c3880d0806082d776cfc89f74c", kill_on_drop: false }` [INFO] [stdout] d480edef1567ca349a166f4a5113c28d269fb3c3880d0806082d776cfc89f74c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3ef15cf00b6be69da15240b80fe4f807adb16c05fecb58a7be5260ac5e1aee76 [INFO] running `Command { std: "docker" "start" "-a" "3ef15cf00b6be69da15240b80fe4f807adb16c05fecb58a7be5260ac5e1aee76", kill_on_drop: false }` [INFO] [stderr] Compiling assignment_3a v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `vehicle_types` should have an upper camel case name [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct vehicle_types { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VehicleTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_1000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Series_1000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series1000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_2000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | Series_2000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series2000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_3000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | Series_3000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series3000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_4000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Series_4000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series4000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_5000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Series_5000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series5000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Series_6000` should have an upper camel case name [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Series_6000, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series6000` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `HP` is named the same as one of the variants of the type `Laptops` [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `Laptops::HP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Asus` is named the same as one of the variants of the type `Laptops` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `Laptops::Asus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Lenovo` is named the same as one of the variants of the type `Laptops` [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Laptops::Lenovo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 174 | Dell => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HP` [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_HP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Dell` [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | Dell => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Dell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Asus` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Asus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Lenovo` [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Lenovo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Cars` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Cars: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [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: `Trucks` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Trucks: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [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: `Bikes` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Bikes: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [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: `Trucks` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Trucks(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vehicles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug)] [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: `Dell` [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Dell(Models), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laptops` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Debug)] [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: `Series_1000` [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Series_1000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_2000` [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | Series_2000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_3000` [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | Series_3000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_4000` [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Series_4000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_5000` [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Series_5000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: `Series_6000` [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Series_6000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug)] [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: structure field `Cars` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Cars: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Trucks` should have a snake case name [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Trucks: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `trucks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Bikes` should have a snake case name [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Bikes: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `bikes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HP` should have a snake case name [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | HP => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Dell` should have a snake case name [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | Dell => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Asus` should have a snake case name [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Asus => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `asus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lenovo` should have a snake case name [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Lenovo => { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `lenovo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.98s [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ef15cf00b6be69da15240b80fe4f807adb16c05fecb58a7be5260ac5e1aee76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ef15cf00b6be69da15240b80fe4f807adb16c05fecb58a7be5260ac5e1aee76", kill_on_drop: false }` [INFO] [stdout] 3ef15cf00b6be69da15240b80fe4f807adb16c05fecb58a7be5260ac5e1aee76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6473e4d28b81a5bbf87a62a8d8d3f7783974c48614acd13386fa5ecd08366d04 [INFO] running `Command { std: "docker" "start" "-a" "6473e4d28b81a5bbf87a62a8d8d3f7783974c48614acd13386fa5ecd08366d04", kill_on_drop: false }` [INFO] [stderr] warning: type `vehicle_types` should have an upper camel case name [INFO] [stderr] --> src/main.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | struct vehicle_types { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VehicleTypes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Series_1000` should have an upper camel case name [INFO] [stderr] --> src/main.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | Series_1000, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series1000` [INFO] [stderr] [INFO] [stderr] warning: variant `Series_2000` should have an upper camel case name [INFO] [stderr] --> src/main.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | Series_2000, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series2000` [INFO] [stderr] [INFO] [stderr] warning: variant `Series_3000` should have an upper camel case name [INFO] [stderr] --> src/main.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | Series_3000, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series3000` [INFO] [stderr] [INFO] [stderr] warning: variant `Series_4000` should have an upper camel case name [INFO] [stderr] --> src/main.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | Series_4000, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series4000` [INFO] [stderr] [INFO] [stderr] warning: variant `Series_5000` should have an upper camel case name [INFO] [stderr] --> src/main.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | Series_5000, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series5000` [INFO] [stderr] [INFO] [stderr] warning: variant `Series_6000` should have an upper camel case name [INFO] [stderr] --> src/main.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | Series_6000, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Series6000` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `HP` is named the same as one of the variants of the type `Laptops` [INFO] [stderr] --> src/main.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | HP => { [INFO] [stderr] | ^^ help: to match on the variant, qualify the path: `Laptops::HP` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `Asus` is named the same as one of the variants of the type `Laptops` [INFO] [stderr] --> src/main.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | Asus => { [INFO] [stderr] | ^^^^ help: to match on the variant, qualify the path: `Laptops::Asus` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `Lenovo` is named the same as one of the variants of the type `Laptops` [INFO] [stderr] --> src/main.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | Lenovo => { [INFO] [stderr] | ^^^^^^ help: to match on the variant, qualify the path: `Laptops::Lenovo` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 170 | HP => { [INFO] [stderr] | -- matches any value [INFO] [stderr] ... [INFO] [stderr] 174 | Dell => { [INFO] [stderr] | ^^^^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 170 | HP => { [INFO] [stderr] | -- matches any value [INFO] [stderr] ... [INFO] [stderr] 178 | Asus => { [INFO] [stderr] | ^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 170 | HP => { [INFO] [stderr] | -- matches any value [INFO] [stderr] ... [INFO] [stderr] 182 | Lenovo => { [INFO] [stderr] | ^^^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unused variable: `HP` [INFO] [stderr] --> src/main.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | HP => { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_HP` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Dell` [INFO] [stderr] --> src/main.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 174 | Dell => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Dell` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Asus` [INFO] [stderr] --> src/main.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | Asus => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Asus` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Lenovo` [INFO] [stderr] --> src/main.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | Lenovo => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Lenovo` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `Cars` [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | Cars: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `Trucks` [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | Trucks: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `Bikes` [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | Bikes: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `vehicle_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Trucks` [INFO] [stderr] --> src/main.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | Trucks(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Vehicles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dell` [INFO] [stderr] --> src/main.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | Dell(Models), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Laptops` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:144:10 [INFO] [stderr] | [INFO] [stderr] 144 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Series_1000` [INFO] [stderr] --> src/main.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | Series_1000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:154:10 [INFO] [stderr] | [INFO] [stderr] 154 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Series_2000` [INFO] [stderr] --> src/main.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | Series_2000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:154:10 [INFO] [stderr] | [INFO] [stderr] 154 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Series_3000` [INFO] [stderr] --> src/main.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | Series_3000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:154:10 [INFO] [stderr] | [INFO] [stderr] 154 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Series_4000` [INFO] [stderr] --> src/main.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | Series_4000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:154:10 [INFO] [stderr] | [INFO] [stderr] 154 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Series_5000` [INFO] [stderr] --> src/main.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | Series_5000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:154:10 [INFO] [stderr] | [INFO] [stderr] 154 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Series_6000` [INFO] [stderr] --> src/main.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | Series_6000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Models` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:154:10 [INFO] [stderr] | [INFO] [stderr] 154 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: structure field `Cars` should have a snake case name [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | Cars: String, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cars` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `Trucks` should have a snake case name [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | Trucks: String, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `trucks` [INFO] [stderr] [INFO] [stderr] warning: structure field `Bikes` should have a snake case name [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | Bikes: String, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `bikes` [INFO] [stderr] [INFO] [stderr] warning: variable `HP` should have a snake case name [INFO] [stderr] --> src/main.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | HP => { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `hp` [INFO] [stderr] [INFO] [stderr] warning: variable `Dell` should have a snake case name [INFO] [stderr] --> src/main.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 174 | Dell => { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `dell` [INFO] [stderr] [INFO] [stderr] warning: variable `Asus` should have a snake case name [INFO] [stderr] --> src/main.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | Asus => { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `asus` [INFO] [stderr] [INFO] [stderr] warning: variable `Lenovo` should have a snake case name [INFO] [stderr] --> src/main.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | Lenovo => { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `lenovo` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `assignment_3a` (bin "assignment_3a" test) generated 35 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/assignment_3a-81e67ef1f4b22cc7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6473e4d28b81a5bbf87a62a8d8d3f7783974c48614acd13386fa5ecd08366d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6473e4d28b81a5bbf87a62a8d8d3f7783974c48614acd13386fa5ecd08366d04", kill_on_drop: false }` [INFO] [stdout] 6473e4d28b81a5bbf87a62a8d8d3f7783974c48614acd13386fa5ecd08366d04