[INFO] cloning repository https://github.com/Xiejinhua123/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/Xiejinhua123/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiejinhua123%2Frust-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiejinhua123%2Frust-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10c8b5100783d0c32e967aac10fec3df0a3ebd9b [INFO] testing Xiejinhua123/rust-demo against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiejinhua123%2Frust-demo" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xiejinhua123/rust-demo on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xiejinhua123/rust-demo [INFO] finished tweaking git repo https://github.com/Xiejinhua123/rust-demo [INFO] tweaked toml for git repo https://github.com/Xiejinhua123/rust-demo written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/Xiejinhua123/rust-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4d6d6028de47ca44f9fac5f0c9ee4ae2dee2a365a295a5657dd21b065f64b17 [INFO] running `Command { std: "docker" "start" "-a" "b4d6d6028de47ca44f9fac5f0c9ee4ae2dee2a365a295a5657dd21b065f64b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4d6d6028de47ca44f9fac5f0c9ee4ae2dee2a365a295a5657dd21b065f64b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d6d6028de47ca44f9fac5f0c9ee4ae2dee2a365a295a5657dd21b065f64b17", kill_on_drop: false }` [INFO] [stdout] b4d6d6028de47ca44f9fac5f0c9ee4ae2dee2a365a295a5657dd21b065f64b17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f575aa34610c6befd4a2635f86daeae60a4df0d21e935806c0dbae0f8f817b4 [INFO] running `Command { std: "docker" "start" "-a" "2f575aa34610c6befd4a2635f86daeae60a4df0d21e935806c0dbae0f8f817b4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling lru v0.6.5 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling lexical v5.2.1 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling rust_decimal v1.10.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling systemstat v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling rust-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr::null` [INFO] [stdout] --> src/main.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs::{self, OpenOptions}, io::Write, ptr::null, thread}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `need_num` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let need_num = ["0","1","2","3","4","5","6","7","8","9"]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ball` [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | async fn ball(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `substr` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn substr(s: &str, start: usize, length: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `system_monitor` [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn system_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.26s [INFO] running `Command { std: "docker" "inspect" "2f575aa34610c6befd4a2635f86daeae60a4df0d21e935806c0dbae0f8f817b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f575aa34610c6befd4a2635f86daeae60a4df0d21e935806c0dbae0f8f817b4", kill_on_drop: false }` [INFO] [stdout] 2f575aa34610c6befd4a2635f86daeae60a4df0d21e935806c0dbae0f8f817b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e7763aae43cb65ca0fb5d05c30cce5e8996af008bee04be88e9216ccf200de [INFO] running `Command { std: "docker" "start" "-a" "f7e7763aae43cb65ca0fb5d05c30cce5e8996af008bee04be88e9216ccf200de", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr::null` [INFO] [stdout] --> src/main.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs::{self, OpenOptions}, io::Write, ptr::null, thread}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `need_num` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let need_num = ["0","1","2","3","4","5","6","7","8","9"]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ball` [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | async fn ball(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `substr` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn substr(s: &str, start: usize, length: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `system_monitor` [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn system_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "f7e7763aae43cb65ca0fb5d05c30cce5e8996af008bee04be88e9216ccf200de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e7763aae43cb65ca0fb5d05c30cce5e8996af008bee04be88e9216ccf200de", kill_on_drop: false }` [INFO] [stdout] f7e7763aae43cb65ca0fb5d05c30cce5e8996af008bee04be88e9216ccf200de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6fd995d0e5ec0f4a7e518984c56f2593f1a485d9a61938671154debc45d9e97f [INFO] running `Command { std: "docker" "start" "-a" "6fd995d0e5ec0f4a7e518984c56f2593f1a485d9a61938671154debc45d9e97f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [INFO] [stderr] warning: unused import: `ptr::null` [INFO] [stderr] --> src/main.rs:7:47 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{fs::{self, OpenOptions}, io::Write, ptr::null, thread}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `need_num` [INFO] [stderr] --> src/main.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | let need_num = ["0","1","2","3","4","5","6","7","8","9"]; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_num` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ball` [INFO] [stderr] --> src/main.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | async fn ball(){ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `substr` [INFO] [stderr] --> src/main.rs:59:4 [INFO] [stderr] | [INFO] [stderr] 59 | fn substr(s: &str, start: usize, length: usize) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `system_monitor` [INFO] [stderr] --> src/main.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn system_monitor() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-demo` (bin "rust-demo" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_demo-616f0f5cc779e994) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6fd995d0e5ec0f4a7e518984c56f2593f1a485d9a61938671154debc45d9e97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd995d0e5ec0f4a7e518984c56f2593f1a485d9a61938671154debc45d9e97f", kill_on_drop: false }` [INFO] [stdout] 6fd995d0e5ec0f4a7e518984c56f2593f1a485d9a61938671154debc45d9e97f