[INFO] cloning repository https://github.com/0x78654C/PwM-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x78654C/PwM-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x78654C%2FPwM-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x78654C%2FPwM-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ceef0341014ec8d23a46932d6a3ef46373aabc6 [INFO] building 0x78654C/PwM-Rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x78654C%2FPwM-Rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0x78654C/PwM-Rust [INFO] finished tweaking git repo https://github.com/0x78654C/PwM-Rust [INFO] tweaked toml for git repo https://github.com/0x78654C/PwM-Rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0x78654C/PwM-Rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0x78654C/PwM-Rust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secstr v0.5.1 [INFO] [stderr] Downloaded pretty_env_logger v0.5.0 [INFO] [stderr] Downloaded rust-argon2 v1.0.1 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded bytes v1.6.1 [INFO] [stderr] Downloaded hyper-util v0.1.6 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded serde_json v1.0.120 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded rustls-webpki v0.102.6 [INFO] [stderr] Downloaded object v0.36.2 [INFO] [stderr] Downloaded tokio v1.39.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce9fa69d79f797c2885030135cc8a8fb69ba561c4697a7eb26f59a0b7ade9a93 [INFO] running `Command { std: "docker" "start" "-a" "ce9fa69d79f797c2885030135cc8a8fb69ba561c4697a7eb26f59a0b7ade9a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce9fa69d79f797c2885030135cc8a8fb69ba561c4697a7eb26f59a0b7ade9a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9fa69d79f797c2885030135cc8a8fb69ba561c4697a7eb26f59a0b7ade9a93", kill_on_drop: false }` [INFO] [stdout] ce9fa69d79f797c2885030135cc8a8fb69ba561c4697a7eb26f59a0b7ade9a93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cde60bf11f39b57f51d19b64360c7aeaa8b0bd7ed236e7b6c63f142b46400db [INFO] running `Command { std: "docker" "start" "-a" "5cde60bf11f39b57f51d19b64360c7aeaa8b0bd7ed236e7b6c63f142b46400db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling secstr v0.5.1 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rust-argon2 v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio v1.39.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling PwM-Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/./tests/web_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod web_lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `key_values` should have an upper camel case name [INFO] [stdout] --> src/./libs/json_lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct key_values { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `KeyValues` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:150:65 [INFO] [stdout] | [INFO] [stdout] 150 | master_password2 = rpassword::read_password().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use base64::encode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:522:20 [INFO] [stdout] | [INFO] [stdout] 522 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:646:20 [INFO] [stdout] | [INFO] [stdout] 646 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:668:20 [INFO] [stdout] | [INFO] [stdout] 668 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdin, Write, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password1` is never read [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut master_password1 = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password2` is never read [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut master_password2 = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password1` is never read [INFO] [stdout] --> src/main.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | master_password1=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password2` is never read [INFO] [stdout] --> src/main.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | master_password2=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `acc_password` is never read [INFO] [stdout] --> src/main.rs:546:13 [INFO] [stdout] | [INFO] [stdout] 546 | let mut acc_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `argon_password_hash` is never used [INFO] [stdout] --> src/./tests/../libs/argon_lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn argon_password_hash(password: &str) ->String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/./libs/web_lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn get_data( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./libs/color_write_lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | write!(&mut stdout, "{}", text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = write!(&mut stdout, "{}", text); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./libs/color_write_lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | writeln!(&mut stdout, "{}", text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = writeln!(&mut stdout, "{}", text); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./libs/color_write_lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(&mut stdout, "{}", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = writeln!(&mut stdout, "{}", ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "5cde60bf11f39b57f51d19b64360c7aeaa8b0bd7ed236e7b6c63f142b46400db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cde60bf11f39b57f51d19b64360c7aeaa8b0bd7ed236e7b6c63f142b46400db", kill_on_drop: false }` [INFO] [stdout] 5cde60bf11f39b57f51d19b64360c7aeaa8b0bd7ed236e7b6c63f142b46400db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c8ade5ea65e779c03b00db4d25b4392eb1414a23c1c7c556cbad46ea055be3f [INFO] running `Command { std: "docker" "start" "-a" "4c8ade5ea65e779c03b00db4d25b4392eb1414a23c1c7c556cbad46ea055be3f", kill_on_drop: false }` [INFO] [stderr] Compiling PwM-Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ThreadMode`, `Variant`, and `Version` [INFO] [stdout] --> src/./tests/argon_test.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use argon2::{self, Config, ThreadMode, Variant, Version}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `key_values` should have an upper camel case name [INFO] [stdout] --> src/./tests/../libs/json_lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct key_values { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `KeyValues` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `key_values` should have an upper camel case name [INFO] [stdout] --> src/./libs/json_lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct key_values { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `KeyValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:150:65 [INFO] [stdout] | [INFO] [stdout] 150 | master_password2 = rpassword::read_password().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use base64::encode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:522:20 [INFO] [stdout] | [INFO] [stdout] 522 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:646:20 [INFO] [stdout] | [INFO] [stdout] 646 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:668:20 [INFO] [stdout] | [INFO] [stdout] 668 | let enc_hash = encode(hash_split); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdin, Write, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/./tests/web_test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let o = Runtime::new().unwrap().block_on(api_get); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password1` is never read [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut master_password1 = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password2` is never read [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut master_password2 = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password1` is never read [INFO] [stdout] --> src/main.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | master_password1=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password2` is never read [INFO] [stdout] --> src/main.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | master_password2=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | let mut master_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `acc_password` is never read [INFO] [stdout] --> src/main.rs:546:13 [INFO] [stdout] | [INFO] [stdout] 546 | let mut acc_password = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_password` is never read [INFO] [stdout] --> src/main.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | master_password=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/./libs/web_lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn get_data( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./libs/color_write_lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | write!(&mut stdout, "{}", text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = write!(&mut stdout, "{}", text); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./libs/color_write_lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | writeln!(&mut stdout, "{}", text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = writeln!(&mut stdout, "{}", text); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./libs/color_write_lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(&mut stdout, "{}", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = writeln!(&mut stdout, "{}", ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "4c8ade5ea65e779c03b00db4d25b4392eb1414a23c1c7c556cbad46ea055be3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8ade5ea65e779c03b00db4d25b4392eb1414a23c1c7c556cbad46ea055be3f", kill_on_drop: false }` [INFO] [stdout] 4c8ade5ea65e779c03b00db4d25b4392eb1414a23c1c7c556cbad46ea055be3f