[INFO] cloning repository https://github.com/cpunbert/funky-password-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpunbert/funky-password-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpunbert%2Ffunky-password-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpunbert%2Ffunky-password-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ebf016912e9c6364b3166de551270443486983c [INFO] checking cpunbert/funky-password-tool against try#c4ca24658d934444a28db36abebef17a8651701a for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpunbert%2Ffunky-password-tool" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cpunbert/funky-password-tool [INFO] finished tweaking git repo https://github.com/cpunbert/funky-password-tool [INFO] tweaked toml for git repo https://github.com/cpunbert/funky-password-tool written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cpunbert/funky-password-tool on toolchain c4ca24658d934444a28db36abebef17a8651701a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cpunbert/funky-password-tool 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" "+c4ca24658d934444a28db36abebef17a8651701a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d730b268035f3d99a0a8e3820914616bf9a143a132f5c0a3f6eca99c951c93a [INFO] running `Command { std: "docker" "start" "-a" "8d730b268035f3d99a0a8e3820914616bf9a143a132f5c0a3f6eca99c951c93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d730b268035f3d99a0a8e3820914616bf9a143a132f5c0a3f6eca99c951c93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d730b268035f3d99a0a8e3820914616bf9a143a132f5c0a3f6eca99c951c93a", kill_on_drop: false }` [INFO] [stdout] 8d730b268035f3d99a0a8e3820914616bf9a143a132f5c0a3f6eca99c951c93a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6288a5a609fd1a564a04263e19d7d01dbd9732144225cbb33028ed9d3bcdc528 [INFO] running `Command { std: "docker" "start" "-a" "6288a5a609fd1a564a04263e19d7d01dbd9732144225cbb33028ed9d3bcdc528", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking funky-password-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | if (input.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - if (input.len() == 1) { [INFO] [stdout] 107 + if input.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | if (input.len() == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (input.len() == 4) { [INFO] [stdout] 116 + if input.len() == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | if (input.len() == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - if (input.len() == 4) { [INFO] [stdout] 124 + if input.len() == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/password.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | while (password.len() < password_length) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - while (password.len() < password_length) { [INFO] [stdout] 13 + while password.len() < password_length { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | if (input.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - if (input.len() == 1) { [INFO] [stdout] 107 + if input.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | if (input.len() == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (input.len() == 4) { [INFO] [stdout] 116 + if input.len() == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | if (input.len() == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - if (input.len() == 4) { [INFO] [stdout] 124 + if input.len() == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/password.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | while (password.len() < password_length) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - while (password.len() < password_length) { [INFO] [stdout] 13 + while password.len() < password_length { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/command.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | Self::Edit(input) => list, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/crypto.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn encrypt(password: String, key: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/crypto.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn encrypt(password: String, key: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/crypto.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decrypt(hash: String, key: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/crypto.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decrypt(hash: String, key: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/crypto.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let key = "asd".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/crypto.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let input = "jebanie disa powieksza penisa"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/crypto.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let x = String::from_utf8(asd.to_owned()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/command.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | Self::Edit(input) => list, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/crypto.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn encrypt(password: String, key: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/crypto.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn encrypt(password: String, key: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/crypto.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decrypt(hash: String, key: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/crypto.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decrypt(hash: String, key: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/crypto.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn encrypt(password: String, key: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/crypto.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decrypt(hash: String, key: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `funky` is never used [INFO] [stdout] --> src/crypto.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn funky() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/crypto.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let key = "asd".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/crypto.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let input = "jebanie disa powieksza penisa"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/crypto.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let x = String::from_utf8(asd.to_owned()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/crypto.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn encrypt(password: String, key: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/crypto.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decrypt(hash: String, key: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `funky` is never used [INFO] [stdout] --> src/crypto.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn funky() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.05s [INFO] running `Command { std: "docker" "inspect" "6288a5a609fd1a564a04263e19d7d01dbd9732144225cbb33028ed9d3bcdc528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6288a5a609fd1a564a04263e19d7d01dbd9732144225cbb33028ed9d3bcdc528", kill_on_drop: false }` [INFO] [stdout] 6288a5a609fd1a564a04263e19d7d01dbd9732144225cbb33028ed9d3bcdc528