[INFO] cloning repository https://github.com/kunfan96/rust-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kunfan96/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunfan96%2Frust-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunfan96%2Frust-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbc68014013786365ca793edd4613b7ffdf9740e [INFO] checking kunfan96/rust-demo against master#96df4943409564a187894018f15f795426dc2e1f for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunfan96%2Frust-demo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kunfan96/rust-demo on toolchain 96df4943409564a187894018f15f795426dc2e1f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96df4943409564a187894018f15f795426dc2e1f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kunfan96/rust-demo [INFO] finished tweaking git repo https://github.com/kunfan96/rust-demo [INFO] tweaked toml for git repo https://github.com/kunfan96/rust-demo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kunfan96/rust-demo 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" "+96df4943409564a187894018f15f795426dc2e1f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kunfan96/rust-demo against try#7e4f74fb8736fea8f455bb6e094122965ae8f4cd for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunfan96%2Frust-demo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kunfan96/rust-demo on toolchain 7e4f74fb8736fea8f455bb6e094122965ae8f4cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kunfan96/rust-demo [INFO] finished tweaking git repo https://github.com/kunfan96/rust-demo [INFO] tweaked toml for git repo https://github.com/kunfan96/rust-demo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kunfan96/rust-demo 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" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4bd997692b4f5dbfc7d50eadd18839b21553d0f93313ca4392537d6cc4e8a9e [INFO] running `Command { std: "docker" "start" "-a" "f4bd997692b4f5dbfc7d50eadd18839b21553d0f93313ca4392537d6cc4e8a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4bd997692b4f5dbfc7d50eadd18839b21553d0f93313ca4392537d6cc4e8a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4bd997692b4f5dbfc7d50eadd18839b21553d0f93313ca4392537d6cc4e8a9e", kill_on_drop: false }` [INFO] [stdout] f4bd997692b4f5dbfc7d50eadd18839b21553d0f93313ca4392537d6cc4e8a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39de1b12bb65ce298c2ff2c972c2f82a01efd1a7e1ac007dab440f7d2f0ea439 [INFO] running `Command { std: "docker" "start" "-a" "39de1b12bb65ce298c2ff2c972c2f82a01efd1a7e1ac007dab440f7d2f0ea439", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/demo_fn.rs:94:52 [INFO] [stdout] | [INFO] [stdout] 94 | let arr_1: [String; 8] = core::array::from_fn(|i| String::from("uiuiiu")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/demo_fn.rs:94:52 [INFO] [stdout] | [INFO] [stdout] 94 | let arr_1: [String; 8] = core::array::from_fn(|i| String::from("uiuiiu")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_my` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hello_my() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_you` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn hello_you(str_a: &mut String) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_hello` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run_hello() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ch_str` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ch_str() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tum` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_tum() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_struct` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn test_struct() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_enum` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_enum() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_my` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hello_my() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `One`, `Two`, and `Three` are never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | enum CardProperty { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 70 | One, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | Two, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | Three, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_you` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn hello_you(str_a: &mut String) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `One` and `Two` are never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | enum DetailCard { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 84 | One(u8), [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | Two(u8), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailCard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_hello` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run_hello() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_array` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test_array() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_condition` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn test_condition() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ch_str` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ch_str() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_match` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn test_match() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tum` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_tum() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_struct` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn test_struct() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Jack`, `Martin`, and `Mike` are never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | enum DetailData { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 122 | Jack, [INFO] [stdout] | ^^^^ [INFO] [stdout] 123 | Martin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 124 | Mike, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_enum` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_enum() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_method` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn test_method () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/utils/demo_fn.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | struct People { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 215 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 216 | age: i32 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `People` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `One`, `Two`, and `Three` are never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | enum CardProperty { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 70 | One, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | Two, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | Three, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show_info`, `show_info2`, and `name` are never used [INFO] [stdout] --> src/utils/demo_fn.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 219 | impl People { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 220 | pub fn new (name: String, age: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn show_info (&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn show_info2 (&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn name (&self) -> &String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `One` and `Two` are never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | enum DetailCard { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 84 | One(u8), [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | Two(u8), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailCard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_vector` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn test_vector () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_array` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test_array() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hash` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn test_hash () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_condition` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn test_condition() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_match` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn test_match() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Jack`, `Martin`, and `Mike` are never constructed [INFO] [stdout] --> src/utils/demo_fn.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | enum DetailData { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 122 | Jack, [INFO] [stdout] | ^^^^ [INFO] [stdout] 123 | Martin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 124 | Mike, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DetailData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_method` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn test_method () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/utils/demo_fn.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | struct People { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 215 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 216 | age: i32 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `People` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show_info`, `show_info2`, and `name` are never used [INFO] [stdout] --> src/utils/demo_fn.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 219 | impl People { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 220 | pub fn new (name: String, age: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn show_info (&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn show_info2 (&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn name (&self) -> &String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_vector` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn test_vector () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hash` is never used [INFO] [stdout] --> src/utils/demo_fn.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn test_hash () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "39de1b12bb65ce298c2ff2c972c2f82a01efd1a7e1ac007dab440f7d2f0ea439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39de1b12bb65ce298c2ff2c972c2f82a01efd1a7e1ac007dab440f7d2f0ea439", kill_on_drop: false }` [INFO] [stdout] 39de1b12bb65ce298c2ff2c972c2f82a01efd1a7e1ac007dab440f7d2f0ea439