[INFO] cloning repository https://github.com/HuixingWong/RustLearning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HuixingWong/RustLearning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuixingWong%2FRustLearning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuixingWong%2FRustLearning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d2c20c096b2584fcdf437df51ff59d387b59def [INFO] checking HuixingWong/RustLearning against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuixingWong%2FRustLearning" "/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/HuixingWong/RustLearning on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HuixingWong/RustLearning [INFO] finished tweaking git repo https://github.com/HuixingWong/RustLearning [INFO] tweaked toml for git repo https://github.com/HuixingWong/RustLearning written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/HuixingWong/RustLearning already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 267877b0d9c104b464bf2e12fe4840366d429b784493a773c7289571fbfb1509 [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" "267877b0d9c104b464bf2e12fe4840366d429b784493a773c7289571fbfb1509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "267877b0d9c104b464bf2e12fe4840366d429b784493a773c7289571fbfb1509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267877b0d9c104b464bf2e12fe4840366d429b784493a773c7289571fbfb1509", kill_on_drop: false }` [INFO] [stdout] 267877b0d9c104b464bf2e12fe4840366d429b784493a773c7289571fbfb1509 [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=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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c5e5d6ae304167dc77cc87c99658c10e205974405060331739089fe81f4940 [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" "10c5e5d6ae304167dc77cc87c99658c10e205974405060331739089fe81f4940", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking RustLearning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ownership::owner_ship` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ownership::owner_ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ownership::owner_ship` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ownership::owner_ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/variables.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/variables.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let y = 10; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/variables.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let y = 20; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/variables.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let f = 100; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/variables.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut e = 100; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/data_type.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | let (x, y, z, f) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/data_type.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let (x, y, z, f) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/data_type.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/data_type.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/function.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ownership.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let s = String::from("hello"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/variables.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut e = 100; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/variables.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/variables.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let y = 10; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/variables.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let y = 20; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/variables.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let f = 100; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/variables.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut e = 100; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/data_type.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | let (x, y, z, f) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/data_type.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let (x, y, z, f) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/data_type.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/data_type.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/function.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ownership.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let s = String::from("hello"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/variables.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut e = 100; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `variables` [INFO] [stdout] --> src/variables.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `variables` [INFO] [stdout] --> src/variables.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess_number` [INFO] [stdout] --> src/guess_number.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn guess_number() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `data_type` [INFO] [stdout] --> src/data_type.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn data_type() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function_test` [INFO] [stdout] --> src/function.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn function_test() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `owner_ship` [INFO] [stdout] --> src/ownership.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn owner_ship() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_1` [INFO] [stdout] --> src/ownership.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_2` [INFO] [stdout] --> src/ownership.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn test_2() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cal_length` [INFO] [stdout] --> src/ownership.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal_length(str: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_3` [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn test_3() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cal_length2` [INFO] [stdout] --> src/ownership.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn cal_length2(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess_number` [INFO] [stdout] --> src/guess_number.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn guess_number() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `data_type` [INFO] [stdout] --> src/data_type.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn data_type() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function_test` [INFO] [stdout] --> src/function.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn function_test() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `owner_ship` [INFO] [stdout] --> src/ownership.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn owner_ship() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_1` [INFO] [stdout] --> src/ownership.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_2` [INFO] [stdout] --> src/ownership.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn test_2() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cal_length` [INFO] [stdout] --> src/ownership.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal_length(str: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_3` [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn test_3() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cal_length2` [INFO] [stdout] --> src/ownership.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn cal_length2(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustLearning` 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: `rust_learning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `z` should have an upper case name [INFO] [stdout] --> src/variables.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | const z: i32 = 100; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `Z` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustLearning` 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: `rust_learning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `z` should have an upper case name [INFO] [stdout] --> src/variables.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | const z: i32 = 100; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `Z` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "10c5e5d6ae304167dc77cc87c99658c10e205974405060331739089fe81f4940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c5e5d6ae304167dc77cc87c99658c10e205974405060331739089fe81f4940", kill_on_drop: false }` [INFO] [stdout] 10c5e5d6ae304167dc77cc87c99658c10e205974405060331739089fe81f4940