[INFO] cloning repository https://github.com/buka-pitch/better-crypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buka-pitch/better-crypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuka-pitch%2Fbetter-crypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuka-pitch%2Fbetter-crypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31544a35a7db41c2312d5d8ad2b30127c38ea1e7 [INFO] checking buka-pitch/better-crypt against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuka-pitch%2Fbetter-crypt" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/buka-pitch/better-crypt [INFO] finished tweaking git repo https://github.com/buka-pitch/better-crypt [INFO] tweaked toml for git repo https://github.com/buka-pitch/better-crypt written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/buka-pitch/better-crypt on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/buka-pitch/better-crypt 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded napi-build v2.2.3 [INFO] [stderr] Downloaded pqcrypto-sphincsplus v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b7209cdc9c11a27bc6ede1844c748dd864ddba10dc4446639ae745d5422a4ab [INFO] running `Command { std: "docker" "start" "-a" "1b7209cdc9c11a27bc6ede1844c748dd864ddba10dc4446639ae745d5422a4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b7209cdc9c11a27bc6ede1844c748dd864ddba10dc4446639ae745d5422a4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7209cdc9c11a27bc6ede1844c748dd864ddba10dc4446639ae745d5422a4ab", kill_on_drop: false }` [INFO] [stdout] 1b7209cdc9c11a27bc6ede1844c748dd864ddba10dc4446639ae745d5422a4ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9fee4540c416b89d189f0622c872a7e00599fda993460f6241c56c2194bc996 [INFO] running `Command { std: "docker" "start" "-a" "b9fee4540c416b89d189f0622c872a7e00599fda993460f6241c56c2194bc996", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking napi-sys v2.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking pqcrypto-traits v0.3.5 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Compiling pqcrypto-sphincsplus v0.7.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Checking napi v2.16.17 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Checking rscrypt v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Salt` [INFO] [stdout] --> src/lib.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | password_hash::{PasswordHash, PasswordHasher, PasswordVerifier, Salt, SaltString}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verify` [INFO] [stdout] --> src/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use bcrypt::{BcryptResult, hash, verify}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `ring::deprecated_constant_time`: Will be removed. Internal module not intended for external use, with no promises regarding side channels. [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use ring::constant_time; [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/lib.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | base64::encode(signature_bytes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | base64::encode(public_key_bytes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | public_key: base64::encode(public_key_bytes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/lib.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | let signature_bytes = base64::decode(parts[2]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/lib.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | let public_key_bytes = base64::decode(parts[3]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | base64::encode(signature.as_ref()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/lib.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | && constant_time::verify_slices_are_equal(a.as_bytes(), b.as_bytes()).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Salt` [INFO] [stdout] --> src/lib.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | password_hash::{PasswordHash, PasswordHasher, PasswordVerifier, Salt, SaltString}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verify` [INFO] [stdout] --> src/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use bcrypt::{BcryptResult, hash, verify}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `ring::deprecated_constant_time`: Will be removed. Internal module not intended for external use, with no promises regarding side channels. [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use ring::constant_time; [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/lib.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | base64::encode(signature_bytes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | base64::encode(public_key_bytes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | public_key: base64::encode(public_key_bytes), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/lib.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | let signature_bytes = base64::decode(parts[2]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/lib.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | let public_key_bytes = base64::decode(parts[3]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | base64::encode(signature.as_ref()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/lib.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | && constant_time::verify_slices_are_equal(a.as_bytes(), b.as_bytes()).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `duration` is never read [INFO] [stdout] --> src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut duration = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `salt` [INFO] [stdout] --> src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let salt = parts[3]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_salt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `duration` is never read [INFO] [stdout] --> src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut duration = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HYBRID_SALT_SIZE` is never used [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const HYBRID_SALT_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUANTUM_PEPPER_SIZE` is never used [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const QUANTUM_PEPPER_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_time_compare` is never used [INFO] [stdout] --> src/lib.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn constant_time_compare(a: String, b: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `salt` [INFO] [stdout] --> src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let salt = parts[3]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_salt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HYBRID_SALT_SIZE` is never used [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const HYBRID_SALT_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUANTUM_PEPPER_SIZE` is never used [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const QUANTUM_PEPPER_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.95s [INFO] running `Command { std: "docker" "inspect" "b9fee4540c416b89d189f0622c872a7e00599fda993460f6241c56c2194bc996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9fee4540c416b89d189f0622c872a7e00599fda993460f6241c56c2194bc996", kill_on_drop: false }` [INFO] [stdout] b9fee4540c416b89d189f0622c872a7e00599fda993460f6241c56c2194bc996