[INFO] cloning repository https://github.com/xh20220630/rust-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xh20220630/rust-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxh20220630%2Frust-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxh20220630%2Frust-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50fc862faef45dbf1cac9aa94155cd6c12768e75 [INFO] checking xh20220630/rust-project against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxh20220630%2Frust-project" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xh20220630/rust-project [INFO] finished tweaking git repo https://github.com/xh20220630/rust-project [INFO] tweaked toml for git repo https://github.com/xh20220630/rust-project written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xh20220630/rust-project on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xh20220630/rust-project already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e108a99af19ddc9de0cce1821ea20ab3d1af7da7a9fd43aba62bd88b6292ac1b [INFO] running `Command { std: "docker" "start" "-a" "e108a99af19ddc9de0cce1821ea20ab3d1af7da7a9fd43aba62bd88b6292ac1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e108a99af19ddc9de0cce1821ea20ab3d1af7da7a9fd43aba62bd88b6292ac1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e108a99af19ddc9de0cce1821ea20ab3d1af7da7a9fd43aba62bd88b6292ac1b", kill_on_drop: false }` [INFO] [stdout] e108a99af19ddc9de0cce1821ea20ab3d1af7da7a9fd43aba62bd88b6292ac1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3e54b582347ae9e604ef964ea6b892ce3db33ef366eb1d92740cb5f49bcf57 [INFO] running `Command { std: "docker" "start" "-a" "7d3e54b582347ae9e604ef964ea6b892ce3db33ef366eb1d92740cb5f49bcf57", kill_on_drop: false }` [INFO] [stderr] Checking world_hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `castCoin` should have an upper camel case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | castCoin(Coin), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CastCoin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `chanrgeCion` should have an upper camel case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | chanrgeCion(Coin), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ChanrgeCion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | let coin_value = value_in_cents(Coin::Quarter((UsState::Alabama))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - let coin_value = value_in_cents(Coin::Quarter((UsState::Alabama))); [INFO] [stdout] 55 + let coin_value = value_in_cents(Coin::Quarter(UsState::Alabama)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | user.actionCoin(CoinAction::chanrgeCion((Coin::Dime))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - user.actionCoin(CoinAction::chanrgeCion((Coin::Dime))); [INFO] [stdout] 63 + user.actionCoin(CoinAction::chanrgeCion(Coin::Dime)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] 65 + user.actionCoin(CoinAction::chanrgeCion(Coin::Quarter((UsState::Alaska)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:65:60 [INFO] [stdout] | [INFO] [stdout] 65 | user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] 65 + user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter(UsState::Alaska)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `castCoin` should have an upper camel case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | castCoin(Coin), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CastCoin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `chanrgeCion` should have an upper camel case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | chanrgeCion(Coin), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ChanrgeCion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | let coin_value = value_in_cents(Coin::Quarter((UsState::Alabama))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - let coin_value = value_in_cents(Coin::Quarter((UsState::Alabama))); [INFO] [stdout] 55 + let coin_value = value_in_cents(Coin::Quarter(UsState::Alabama)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | user.actionCoin(CoinAction::chanrgeCion((Coin::Dime))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - user.actionCoin(CoinAction::chanrgeCion((Coin::Dime))); [INFO] [stdout] 63 + user.actionCoin(CoinAction::chanrgeCion(Coin::Dime)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] 65 + user.actionCoin(CoinAction::chanrgeCion(Coin::Quarter((UsState::Alaska)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/composite_type/my_match/mod.rs:65:60 [INFO] [stdout] | [INFO] [stdout] 65 | user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter((UsState::Alaska))))); [INFO] [stdout] 65 + user.actionCoin(CoinAction::chanrgeCion((Coin::Quarter(UsState::Alaska)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> src/generic/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let integer = Point { x: 5, y: 10 }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> src/generic/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let float = Point { x: 1.0, y: 4.0 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/composite_type/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UsState` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoinAction` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum CoinAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/composite_type/my_match/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actionCoin` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl User{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 28 | fn actionCoin(&mut self ,action:CoinAction){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/methods/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Rect{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/methods/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Rect { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 7 | fn area(&self) -> u32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/methods/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/generic/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Point{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 31 | x:T, [INFO] [stdout] | ^ [INFO] [stdout] 32 | y:T [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actionCoin` should have a snake case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn actionCoin(&mut self ,action:CoinAction){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `action_coin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `coinsEnumArr` should have a snake case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let coinsEnumArr = [ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `coins_enum_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> src/generic/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let integer = Point { x: 5, y: 10 }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> src/generic/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let float = Point { x: 1.0, y: 4.0 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/composite_type/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UsState` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoinAction` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum CoinAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/composite_type/my_match/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actionCoin` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl User{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 28 | fn actionCoin(&mut self ,action:CoinAction){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/composite_type/my_match/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/methods/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Rect{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/methods/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Rect { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 7 | fn area(&self) -> u32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/methods/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/generic/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Point{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 31 | x:T, [INFO] [stdout] | ^ [INFO] [stdout] 32 | y:T [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actionCoin` should have a snake case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn actionCoin(&mut self ,action:CoinAction){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `action_coin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `coinsEnumArr` should have a snake case name [INFO] [stdout] --> src/composite_type/my_match/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let coinsEnumArr = [ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `coins_enum_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "7d3e54b582347ae9e604ef964ea6b892ce3db33ef366eb1d92740cb5f49bcf57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3e54b582347ae9e604ef964ea6b892ce3db33ef366eb1d92740cb5f49bcf57", kill_on_drop: false }` [INFO] [stdout] 7d3e54b582347ae9e604ef964ea6b892ce3db33ef366eb1d92740cb5f49bcf57