[INFO] cloning repository https://github.com/linhanhan227/FileEncrypt_Lite
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linhanhan227/FileEncrypt_Lite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinhanhan227%2FFileEncrypt_Lite", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinhanhan227%2FFileEncrypt_Lite'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 49956847257831a47104e45ba634acc3ed4b2eae
[INFO] checking linhanhan227/FileEncrypt_Lite against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinhanhan227%2FFileEncrypt_Lite" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/linhanhan227/FileEncrypt_Lite
[INFO] finished tweaking git repo https://github.com/linhanhan227/FileEncrypt_Lite
[INFO] tweaked toml for git repo https://github.com/linhanhan227/FileEncrypt_Lite written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/linhanhan227/FileEncrypt_Lite on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/linhanhan227/FileEncrypt_Lite 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96
[INFO] running `Command { std: "docker" "start" "e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]    Compiling secure_file_encryptor v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking directories v5.0.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stdout] warning: constant `MAX_ATTEMPTS` is never used
[INFO] [stdout]   --> src/main.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const MAX_ATTEMPTS: u32 = 3;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ATTEMPT_LOG_FILE` is never used
[INFO] [stdout]   --> src/main.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const ATTEMPT_LOG_FILE: &str = ".attempt_log";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AttemptLog` is never constructed
[INFO] [stdout]   --> src/main.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct AttemptLog {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_attempt_log_path` is never used
[INFO] [stdout]    --> src/main.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn get_attempt_log_path() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_attempt_log` is never used
[INFO] [stdout]    --> src/main.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn read_attempt_log(file_id: &str) -> Option<AttemptLog> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_attempt_log` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn write_attempt_log(log: &AttemptLog) -> Result<(), CryptoError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_and_record_attempt` is never used
[INFO] [stdout]    --> src/main.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn check_and_record_attempt(file_id: &str) -> Result<u32, CryptoError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_attempt_log` is never used
[INFO] [stdout]    --> src/main.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn clear_attempt_log(file_id: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_id` is never used
[INFO] [stdout]    --> src/main.rs:243:4
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn get_file_id(file_path: &Path) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_menu` is never used
[INFO] [stdout]    --> src/main.rs:261:4
[INFO] [stdout]     |
[INFO] [stdout] 261 | fn print_menu(title: &str, options: &[&str]) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_file_menu` is never used
[INFO] [stdout]    --> src/main.rs:375:4
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn decrypt_file_menu() -> Result<(), CryptoError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_about` is never used
[INFO] [stdout]    --> src/main.rs:515:4
[INFO] [stdout]     |
[INFO] [stdout] 515 | fn show_about() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_main_menu` is never used
[INFO] [stdout]    --> src/main.rs:536:4
[INFO] [stdout]     |
[INFO] [stdout] 536 | fn run_main_menu() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_ATTEMPTS` is never used
[INFO] [stdout]   --> src/main.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const MAX_ATTEMPTS: u32 = 3;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ATTEMPT_LOG_FILE` is never used
[INFO] [stdout]   --> src/main.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const ATTEMPT_LOG_FILE: &str = ".attempt_log";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AttemptLog` is never constructed
[INFO] [stdout]   --> src/main.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct AttemptLog {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_attempt_log_path` is never used
[INFO] [stdout]    --> src/main.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn get_attempt_log_path() -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_attempt_log` is never used
[INFO] [stdout]    --> src/main.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn read_attempt_log(file_id: &str) -> Option<AttemptLog> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_attempt_log` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn write_attempt_log(log: &AttemptLog) -> Result<(), CryptoError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_and_record_attempt` is never used
[INFO] [stdout]    --> src/main.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn check_and_record_attempt(file_id: &str) -> Result<u32, CryptoError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_attempt_log` is never used
[INFO] [stdout]    --> src/main.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn clear_attempt_log(file_id: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_id` is never used
[INFO] [stdout]    --> src/main.rs:243:4
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn get_file_id(file_path: &Path) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_menu` is never used
[INFO] [stdout]    --> src/main.rs:261:4
[INFO] [stdout]     |
[INFO] [stdout] 261 | fn print_menu(title: &str, options: &[&str]) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_file_menu` is never used
[INFO] [stdout]    --> src/main.rs:375:4
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn decrypt_file_menu() -> Result<(), CryptoError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_about` is never used
[INFO] [stdout]    --> src/main.rs:515:4
[INFO] [stdout]     |
[INFO] [stdout] 515 | fn show_about() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_main_menu` is never used
[INFO] [stdout]    --> src/main.rs:536:4
[INFO] [stdout]     |
[INFO] [stdout] 536 | fn run_main_menu() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.75s
[INFO] running `Command { std: "docker" "inspect" "e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96", kill_on_drop: false }`
[INFO] [stdout] e17ea801e788e05502092638229831e2887a7ab410be6dd91367e2d1a1a60f96
