[INFO] cloning repository https://github.com/Elizabevil/RustLearn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Elizabevil/RustLearn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElizabevil%2FRustLearn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElizabevil%2FRustLearn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 141b2a880155cd327eeb277a182e340b9c481575 [INFO] checking Elizabevil/RustLearn against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElizabevil%2FRustLearn" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Elizabevil/RustLearn on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Elizabevil/RustLearn [INFO] finished tweaking git repo https://github.com/Elizabevil/RustLearn [INFO] tweaked toml for git repo https://github.com/Elizabevil/RustLearn written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Elizabevil/RustLearn 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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb3a8c09abe653a1f82405b89c3de68798d134a13603245ca6027c444ef36f04 [INFO] running `Command { std: "docker" "start" "-a" "cb3a8c09abe653a1f82405b89c3de68798d134a13603245ca6027c444ef36f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb3a8c09abe653a1f82405b89c3de68798d134a13603245ca6027c444ef36f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb3a8c09abe653a1f82405b89c3de68798d134a13603245ca6027c444ef36f04", kill_on_drop: false }` [INFO] [stdout] cb3a8c09abe653a1f82405b89c3de68798d134a13603245ca6027c444ef36f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b01b769ea26c930d00d916ddfcfa2c2a87aa0b67619f99593fff7c059a379d41 [INFO] running `Command { std: "docker" "start" "-a" "b01b769ea26c930d00d916ddfcfa2c2a87aa0b67619f99593fff7c059a379d41", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking rust_learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `content::base::cc` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use content::base::cc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rarray`, `rstruct`, `self`, `string`, and `tup` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use content::composite::{self, rarray, rstruct, string, tup}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `content::martch` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use content::martch; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::content::composite::rstruct::User` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::content::composite::rstruct::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concat` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use concat; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `content::base::cc` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use content::base::cc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rarray`, `rstruct`, `self`, `string`, and `tup` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use content::composite::{self, rarray, rstruct, string, tup}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `content::martch` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use content::martch; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::content::composite::rstruct::User` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::content::composite::rstruct::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concat` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use concat; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/content/composite/string.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let hello = &s[0..5]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/content/composite/string.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let world = &s[6..11]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/content/composite/tup.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = 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/content/composite/tup.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = 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/content/composite/rarray.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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: `i` [INFO] [stdout] --> src/content/composite/rarray.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | let array: [String; 8] = core::array::from_fn(|i| String::from("rust is good!")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/content/base/var.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let y = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/content/base/var.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | x = 6; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spaces` [INFO] [stdout] --> src/content/base/var.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let spaces = spaces.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/content/base/cc.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let c = 'z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/content/base/cc.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let z = 'ℤ'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/content/base/cc.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let g = '国'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/content/composite/string.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let hello = &s[0..5]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/content/contain/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let v: Vec = Vec::new(); // new 创建并指定是数据类型 (泛型) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/content/composite/string.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let world = &s[6..11]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/content/composite/tup.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = 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/content/composite/tup.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/content/contain/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v = vec![1, 2, 3]; // 宏创建 [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 `slice` is never used [INFO] [stdout] --> src/content/composite/string.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn slice() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdf` is never used [INFO] [stdout] --> src/content/composite/string.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn sdf() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/content/composite/string.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn first_word(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operate` is never used [INFO] [stdout] --> src/content/composite/string.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn operate() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tup` is never used [INFO] [stdout] --> src/content/composite/tup.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn tup() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returnStr` is never used [INFO] [stdout] --> src/content/composite/tup.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn returnStr() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_length` is never used [INFO] [stdout] --> src/content/composite/tup.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn calculate_length(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_array` is never used [INFO] [stdout] --> src/content/composite/rarray.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn create_array() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_test` is never used [INFO] [stdout] --> src/content/composite/rarray.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn array_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_with_extra` is never used [INFO] [stdout] --> src/content/base/fun.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn add_with_extra(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sss` is never used [INFO] [stdout] --> src/content/base/fun.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn sss() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/content/base/fun.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn add(i: i32, j: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dead_end` is never used [INFO] [stdout] --> src/content/base/fun.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn dead_end() -> ! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `var` is never used [INFO] [stdout] --> src/content/base/var.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn var() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Struct` is never constructed [INFO] [stdout] --> src/content/base/var.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variable_deconstruction` is never used [INFO] [stdout] --> src/content/base/var.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn variable_deconstruction() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant` is never used [INFO] [stdout] --> src/content/base/var.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn constant() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shadowing` is never used [INFO] [stdout] --> src/content/base/var.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn shadowing() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `range` is never used [INFO] [stdout] --> src/content/base/cc.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn range() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_complex` is never used [INFO] [stdout] --> src/content/base/cc.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn num_complex() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char` is never used [INFO] [stdout] --> src/content/base/cc.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn char() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `report` is never used [INFO] [stdout] --> src/content/base/cc.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn report(item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/content/composite/rarray.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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: function `clear` is never used [INFO] [stdout] --> src/content/base/cc.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn clear(text: &mut String) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/content/martch/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/martch/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_direction` is never used [INFO] [stdout] --> src/content/martch/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn value_in_direction(direction: Direction) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/content/martch/mod.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `action_test` is never used [INFO] [stdout] --> src/content/martch/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn action_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asds` is never used [INFO] [stdout] --> src/content/martch/full.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn asds() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/content/composite/rarray.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | let array: [String; 8] = core::array::from_fn(|i| String::from("rust is good!")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `area`, `new`, and `width` are never used [INFO] [stdout] --> src/content/rstruct/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl method::Rectangle { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 4 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/content/rstruct/mod.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/content/rstruct/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 32 | fn call(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/rstruct/mod.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/content/rstruct/method.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/content/rstruct/method.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 10 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/content/generics/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn add>(a: T, b: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/content/generics/emue.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `x` is never used [INFO] [stdout] --> src/content/generics/emue.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Point { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 7 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> src/content/generics/emue.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Point { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 14 | fn distance_from_origin(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/generics/emue.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_array` is never used [INFO] [stdout] --> src/content/generics/rcont.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn display_array(arr: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_array2` is never used [INFO] [stdout] --> src/content/generics/rcont.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn display_array2(arr: [T; N]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/generics/rcont.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returnStr` should have a snake case name [INFO] [stdout] --> src/content/composite/tup.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn returnStr() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `return_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/content/base/var.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let y = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/content/base/var.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | x = 6; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spaces` [INFO] [stdout] --> src/content/base/var.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let spaces = spaces.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/content/base/cc.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let c = 'z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/content/base/cc.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let z = 'ℤ'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/content/base/cc.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let g = '国'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/content/contain/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let v: Vec = Vec::new(); // new 创建并指定是数据类型 (泛型) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/content/contain/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v = vec![1, 2, 3]; // 宏创建 [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 `slice` is never used [INFO] [stdout] --> src/content/composite/string.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn slice() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdf` is never used [INFO] [stdout] --> src/content/composite/string.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn sdf() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/content/composite/string.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn first_word(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operate` is never used [INFO] [stdout] --> src/content/composite/string.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn operate() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tup` is never used [INFO] [stdout] --> src/content/composite/tup.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn tup() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returnStr` is never used [INFO] [stdout] --> src/content/composite/tup.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn returnStr() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_length` is never used [INFO] [stdout] --> src/content/composite/tup.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn calculate_length(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_array` is never used [INFO] [stdout] --> src/content/composite/rarray.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn create_array() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_test` is never used [INFO] [stdout] --> src/content/composite/rarray.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn array_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_with_extra` is never used [INFO] [stdout] --> src/content/base/fun.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn add_with_extra(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sss` is never used [INFO] [stdout] --> src/content/base/fun.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn sss() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/content/base/fun.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn add(i: i32, j: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dead_end` is never used [INFO] [stdout] --> src/content/base/fun.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn dead_end() -> ! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `var` is never used [INFO] [stdout] --> src/content/base/var.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn var() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Struct` is never constructed [INFO] [stdout] --> src/content/base/var.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variable_deconstruction` is never used [INFO] [stdout] --> src/content/base/var.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn variable_deconstruction() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant` is never used [INFO] [stdout] --> src/content/base/var.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn constant() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shadowing` is never used [INFO] [stdout] --> src/content/base/var.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn shadowing() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `range` is never used [INFO] [stdout] --> src/content/base/cc.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn range() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_complex` is never used [INFO] [stdout] --> src/content/base/cc.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn num_complex() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char` is never used [INFO] [stdout] --> src/content/base/cc.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn char() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `report` is never used [INFO] [stdout] --> src/content/base/cc.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn report(item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear` is never used [INFO] [stdout] --> src/content/base/cc.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn clear(text: &mut String) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/content/martch/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/martch/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_direction` is never used [INFO] [stdout] --> src/content/martch/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn value_in_direction(direction: Direction) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/content/martch/mod.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `action_test` is never used [INFO] [stdout] --> src/content/martch/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn action_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asds` is never used [INFO] [stdout] --> src/content/martch/full.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn asds() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `area`, `new`, and `width` are never used [INFO] [stdout] --> src/content/rstruct/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl method::Rectangle { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 4 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/content/rstruct/mod.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/content/rstruct/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 32 | fn call(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/rstruct/mod.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/content/rstruct/method.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/content/rstruct/method.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 10 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/content/generics/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn add>(a: T, b: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/content/generics/emue.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `x` is never used [INFO] [stdout] --> src/content/generics/emue.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Point { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 7 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> src/content/generics/emue.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Point { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 14 | fn distance_from_origin(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/generics/emue.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_array` is never used [INFO] [stdout] --> src/content/generics/rcont.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn display_array(arr: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_array2` is never used [INFO] [stdout] --> src/content/generics/rcont.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn display_array2(arr: [T; N]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/content/generics/rcont.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returnStr` should have a snake case name [INFO] [stdout] --> src/content/composite/tup.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn returnStr() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `return_str` [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 2.01s [INFO] running `Command { std: "docker" "inspect" "b01b769ea26c930d00d916ddfcfa2c2a87aa0b67619f99593fff7c059a379d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b01b769ea26c930d00d916ddfcfa2c2a87aa0b67619f99593fff7c059a379d41", kill_on_drop: false }` [INFO] [stdout] b01b769ea26c930d00d916ddfcfa2c2a87aa0b67619f99593fff7c059a379d41