[INFO] cloning repository https://github.com/NotCreative21/lupus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NotCreative21/lupus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNotCreative21%2Flupus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNotCreative21%2Flupus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90db5ac321c3b164fea7af35a7917395d202707d [INFO] building NotCreative21/lupus against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNotCreative21%2Flupus" "/workspace/builds/worker-111/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-111/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NotCreative21/lupus on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NotCreative21/lupus [INFO] finished tweaking git repo https://github.com/NotCreative21/lupus [INFO] tweaked toml for git repo https://github.com/NotCreative21/lupus written to /workspace/builds/worker-111/source/Cargo.toml [INFO] crate git repo https://github.com/NotCreative21/lupus already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32fbdc91d29ceb6fccc0204f5a441db667fc419e145f42e69d21b094f03f2d17 [INFO] running `Command { std: "docker" "start" "-a" "32fbdc91d29ceb6fccc0204f5a441db667fc419e145f42e69d21b094f03f2d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32fbdc91d29ceb6fccc0204f5a441db667fc419e145f42e69d21b094f03f2d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fbdc91d29ceb6fccc0204f5a441db667fc419e145f42e69d21b094f03f2d17", kill_on_drop: false }` [INFO] [stdout] 32fbdc91d29ceb6fccc0204f5a441db667fc419e145f42e69d21b094f03f2d17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2856c07c2773854d6fb06a8066b0ae20478a7b6e2177880d9f447fd31e2e832 [INFO] running `Command { std: "docker" "start" "-a" "e2856c07c2773854d6fb06a8066b0ae20478a7b6e2177880d9f447fd31e2e832", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.134 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.134 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sysinfo v0.22.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling evalexpr v7.0.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling rcon v0.6.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling lupus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `final_cmd` is never read [INFO] [stdout] --> src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut final_cmd = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | msg = mc_codes.replace_all(&msg, "").to_owned().to_string(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dis` [INFO] [stdout] --> src/lib.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn sys_check(dis: bool, chat_id: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_id` [INFO] [stdout] --> src/lib.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn sys_check(dis: bool, chat_id: u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `warn` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut sys, mut warn) = (System::new_all(), false); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_warn` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_command` [INFO] [stdout] --> src/lib.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn handle_command(server_name: String, cmd: String, arg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace_formatting` [INFO] [stdout] --> src/lib.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn replace_formatting(mut msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/backup.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 175 | / return new( [INFO] [stdout] 176 | | backup_store.to_owned(), [INFO] [stdout] 177 | | backup_dir.to_owned(), [INFO] [stdout] 178 | | keep_time.try_into().unwrap(), [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 182 | reap(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | value = &mut line_count; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clock` is never read [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | clock += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_args` [INFO] [stdout] --> src/args.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_args(args: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "e2856c07c2773854d6fb06a8066b0ae20478a7b6e2177880d9f447fd31e2e832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2856c07c2773854d6fb06a8066b0ae20478a7b6e2177880d9f447fd31e2e832", kill_on_drop: false }` [INFO] [stdout] e2856c07c2773854d6fb06a8066b0ae20478a7b6e2177880d9f447fd31e2e832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 768c9a2fed9769059a3cc5eefa944af47fa108d12058403e105a6abd3f041df2 [INFO] running `Command { std: "docker" "start" "-a" "768c9a2fed9769059a3cc5eefa944af47fa108d12058403e105a6abd3f041df2", 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] [stderr] Compiling lupus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `final_cmd` is never read [INFO] [stdout] --> src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut final_cmd = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | msg = mc_codes.replace_all(&msg, "").to_owned().to_string(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dis` [INFO] [stdout] --> src/lib.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn sys_check(dis: bool, chat_id: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_id` [INFO] [stdout] --> src/lib.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn sys_check(dis: bool, chat_id: u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `warn` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut sys, mut warn) = (System::new_all(), false); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_warn` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_command` [INFO] [stdout] --> src/lib.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn handle_command(server_name: String, cmd: String, arg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace_formatting` [INFO] [stdout] --> src/lib.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn replace_formatting(mut msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/backup.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 175 | / return new( [INFO] [stdout] 176 | | backup_store.to_owned(), [INFO] [stdout] 177 | | backup_dir.to_owned(), [INFO] [stdout] 178 | | keep_time.try_into().unwrap(), [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 182 | reap(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_cmd` is never read [INFO] [stdout] --> src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut final_cmd = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | msg = mc_codes.replace_all(&msg, "").to_owned().to_string(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dis` [INFO] [stdout] --> src/lib.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn sys_check(dis: bool, chat_id: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_id` [INFO] [stdout] --> src/lib.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn sys_check(dis: bool, chat_id: u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `warn` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut sys, mut warn) = (System::new_all(), false); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_warn` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `warn` is never read [INFO] [stdout] --> src/lib.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | warn = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_command` [INFO] [stdout] --> src/lib.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn handle_command(server_name: String, cmd: String, arg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace_formatting` [INFO] [stdout] --> src/lib.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn replace_formatting(mut msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | value = &mut line_count; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clock` is never read [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | clock += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_args` [INFO] [stdout] --> src/args.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_args(args: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "768c9a2fed9769059a3cc5eefa944af47fa108d12058403e105a6abd3f041df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768c9a2fed9769059a3cc5eefa944af47fa108d12058403e105a6abd3f041df2", kill_on_drop: false }` [INFO] [stdout] 768c9a2fed9769059a3cc5eefa944af47fa108d12058403e105a6abd3f041df2