[INFO] cloning repository https://github.com/gf7560913/learnRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gf7560913/learnRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgf7560913%2FlearnRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgf7560913%2FlearnRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a3e22833292c506a905eae9243dadc368bb7f92 [INFO] checking gf7560913/learnRust against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgf7560913%2FlearnRust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gf7560913/learnRust [INFO] finished tweaking git repo https://github.com/gf7560913/learnRust [INFO] tweaked toml for git repo https://github.com/gf7560913/learnRust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gf7560913/learnRust on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gf7560913/learnRust 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d20e19d88fb070f0caff720fbe65248651c06fa4b208305e502d6ea995bc60d3 [INFO] running `Command { std: "docker" "start" "-a" "d20e19d88fb070f0caff720fbe65248651c06fa4b208305e502d6ea995bc60d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d20e19d88fb070f0caff720fbe65248651c06fa4b208305e502d6ea995bc60d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d20e19d88fb070f0caff720fbe65248651c06fa4b208305e502d6ea995bc60d3", kill_on_drop: false }` [INFO] [stdout] d20e19d88fb070f0caff720fbe65248651c06fa4b208305e502d6ea995bc60d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4515c2d2bd79cbfc44ebe2664faa2358b41657e448a43d679a6f6da52a90d3b9 [INFO] running `Command { std: "docker" "start" "-a" "4515c2d2bd79cbfc44ebe2664faa2358b41657e448a43d679a6f6da52a90d3b9", kill_on_drop: false }` [INFO] [stderr] Checking learnRust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::traits::action` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `action` should have an upper camel case name [INFO] [stdout] --> src/traits.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait action { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `human` should have an upper camel case name [INFO] [stdout] --> src/traits.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct human {} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Human` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dog` should have an upper camel case name [INFO] [stdout] --> src/traits.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct dog {} [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::action` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `action` should have an upper camel case name [INFO] [stdout] --> src/traits.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait action { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `human` should have an upper camel case name [INFO] [stdout] --> src/traits.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct human {} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Human` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dog` should have an upper camel case name [INFO] [stdout] --> src/traits.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct dog {} [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `else_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn else_flow() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `else_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn else_flow() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `else_flow1` is never used [INFO] [stdout] --> src/contraller_flow.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn else_flow1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn loop_flow() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn while_flow() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `else_flow1` is never used [INFO] [stdout] --> src/contraller_flow.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn else_flow1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn for_flow() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn loop_flow() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_map` is never used [INFO] [stdout] --> src/hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_map() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn while_flow() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_map` is never used [INFO] [stdout] --> src/hashmap.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn vec_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_flow` is never used [INFO] [stdout] --> src/contraller_flow.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn for_flow() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map` is never used [INFO] [stdout] --> src/hashmap.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_map` is never used [INFO] [stdout] --> src/hashmap.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn for_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_map` is never used [INFO] [stdout] --> src/hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_map() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/matchs.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_map` is never used [INFO] [stdout] --> src/hashmap.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn vec_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map` is never used [INFO] [stdout] --> src/hashmap.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Usstate` is never used [INFO] [stdout] --> src/matchs.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Usstate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_center` is never used [INFO] [stdout] --> src/matchs.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn value_in_center(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_map` is never used [INFO] [stdout] --> src/hashmap.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn for_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice` is never used [INFO] [stdout] --> src/slice.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn slice() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/matchs.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string` is never used [INFO] [stdout] --> src/string.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn get_string() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Usstate` is never used [INFO] [stdout] --> src/matchs.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Usstate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_string` is never used [INFO] [stdout] --> src/string.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn split_string() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_center` is never used [INFO] [stdout] --> src/matchs.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn value_in_center(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice` is never used [INFO] [stdout] --> src/slice.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn slice() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `area` is never used [INFO] [stdout] --> src/structs.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn area() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string` is never used [INFO] [stdout] --> src/string.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn get_string() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/structs.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_string` is never used [INFO] [stdout] --> src/string.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn split_string() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `area` and `new` are never used [INFO] [stdout] --> src/structs.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Circle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 26 | pub fn area(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new(r: u32) -> Circle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `area` is never used [INFO] [stdout] --> src/structs.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn area() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/structs.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `walk` are never used [INFO] [stdout] --> src/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait action { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 4 | fn run(&self) -> String; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn walk(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `human` is never constructed [INFO] [stdout] --> src/traits.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct human {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_trait` is never used [INFO] [stdout] --> src/traits.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_trait(item: impl action) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `area` and `new` are never used [INFO] [stdout] --> src/structs.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Circle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 26 | pub fn area(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new(r: u32) -> Circle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_trait1` is never used [INFO] [stdout] --> src/traits.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_trait1(item: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify` is never used [INFO] [stdout] --> src/traits.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn notify() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `walk` are never used [INFO] [stdout] --> src/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait action { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 4 | fn run(&self) -> String; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn walk(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify2` is never used [INFO] [stdout] --> src/traits.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn notify2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `human` is never constructed [INFO] [stdout] --> src/traits.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct human {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify3` is never used [INFO] [stdout] --> src/traits.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn notify3() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_trait` is never used [INFO] [stdout] --> src/traits.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_trait(item: impl action) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_type` is never used [INFO] [stdout] --> src/variables.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn data_type() -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_trait1` is never used [INFO] [stdout] --> src/traits.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_trait1(item: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_type` is never used [INFO] [stdout] --> src/variables.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn constant_type() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify` is never used [INFO] [stdout] --> src/traits.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn notify() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shadow` is never used [INFO] [stdout] --> src/variables.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn shadow() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify2` is never used [INFO] [stdout] --> src/traits.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn notify2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Radius` should have a snake case name [INFO] [stdout] --> src/structs.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Radius: u32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `radius` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify3` is never used [INFO] [stdout] --> src/traits.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn notify3() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_type` is never used [INFO] [stdout] --> src/variables.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn data_type() -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_type` is never used [INFO] [stdout] --> src/variables.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn constant_type() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shadow` is never used [INFO] [stdout] --> src/variables.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn shadow() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Radius` should have a snake case name [INFO] [stdout] --> src/structs.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Radius: u32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `radius` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "4515c2d2bd79cbfc44ebe2664faa2358b41657e448a43d679a6f6da52a90d3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4515c2d2bd79cbfc44ebe2664faa2358b41657e448a43d679a6f6da52a90d3b9", kill_on_drop: false }` [INFO] [stdout] 4515c2d2bd79cbfc44ebe2664faa2358b41657e448a43d679a6f6da52a90d3b9