[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#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinhanhan227%2FFileEncrypt_Lite" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/linhanhan227/FileEncrypt_Lite on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml v0.5.11
[INFO] [stderr]   Downloaded crypto-common v0.1.7
[INFO] [stderr]   Downloaded zeroize_derive v1.4.3
[INFO] [stderr]   Downloaded zeroize v1.8.2
[INFO] [stderr]   Downloaded winres v0.1.12
[INFO] [stderr]   Downloaded directories v5.0.1
[INFO] [stderr]   Downloaded libredox v0.1.16
[INFO] [stderr]   Downloaded password-hash v0.5.0
[INFO] [stderr]   Downloaded blake2 v0.10.6
[INFO] [stderr]   Downloaded ghash v0.5.1
[INFO] [stderr]   Downloaded base64ct v1.8.3
[INFO] [stderr]   Downloaded argon2 v0.5.3
[INFO] [stderr]   Downloaded ctr v0.9.2
[INFO] [stderr]   Downloaded polyval v0.6.2
[INFO] [stderr]   Downloaded aes-gcm v0.10.3
[INFO] [stderr]   Downloaded aes v0.8.4
[INFO] [stderr]   Downloaded typenum v1.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0
[INFO] running `Command { std: "docker" "start" "0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0", 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" "0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0", 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" "0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling secure_file_encryptor v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking unicode-width v0.2.2
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking directories v5.0.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking password-hash v0.5.0
[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 digest v0.10.7
[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 polyval v0.6.2
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]     Checking zeroize v1.8.2
[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 13.61s
[INFO] running `Command { std: "docker" "inspect" "0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0", kill_on_drop: false }`
[INFO] [stdout] 0a3ba8371f311a06018bb2a7e4b5b079a3fd6a8c0c96628ef0bb935b6b77bbd0
