[INFO] cloning repository https://github.com/zifeiyu613/crypto-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zifeiyu613/crypto-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzifeiyu613%2Fcrypto-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzifeiyu613%2Fcrypto-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94c70f965828ad7c9cb1ba54080efe1230fc5aa9 [INFO] checking zifeiyu613/crypto-utils against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzifeiyu613%2Fcrypto-utils" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zifeiyu613/crypto-utils [INFO] finished tweaking git repo https://github.com/zifeiyu613/crypto-utils [INFO] tweaked toml for git repo https://github.com/zifeiyu613/crypto-utils written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zifeiyu613/crypto-utils on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zifeiyu613/crypto-utils 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking zifeiyu613/crypto-utils against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzifeiyu613%2Fcrypto-utils" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zifeiyu613/crypto-utils [INFO] finished tweaking git repo https://github.com/zifeiyu613/crypto-utils [INFO] tweaked toml for git repo https://github.com/zifeiyu613/crypto-utils written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zifeiyu613/crypto-utils on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zifeiyu613/crypto-utils 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4909da17f7af22355d1b2c8c14ccaccdbff950eb1420ee9bf2cae5b9af5ec6ea [INFO] running `Command { std: "docker" "start" "-a" "4909da17f7af22355d1b2c8c14ccaccdbff950eb1420ee9bf2cae5b9af5ec6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4909da17f7af22355d1b2c8c14ccaccdbff950eb1420ee9bf2cae5b9af5ec6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4909da17f7af22355d1b2c8c14ccaccdbff950eb1420ee9bf2cae5b9af5ec6ea", kill_on_drop: false }` [INFO] [stdout] 4909da17f7af22355d1b2c8c14ccaccdbff950eb1420ee9bf2cae5b9af5ec6ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 711455a3d4cc61c24356a16f3bc978b032d650376605efeb51870be56988ce68 [INFO] running `Command { std: "docker" "start" "-a" "711455a3d4cc61c24356a16f3bc978b032d650376605efeb51870be56988ce68", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking crypto-utils v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/symmetric/des.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pbkdf2::pbkdf2` [INFO] [stdout] --> src/hash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pbkdf2::pbkdf2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/hash.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_base64` [INFO] [stdout] --> src/hash.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::util::{encode_base64, decode_base64}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/symmetric/des.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pbkdf2::pbkdf2` [INFO] [stdout] --> src/hash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pbkdf2::pbkdf2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/hash.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_base64` [INFO] [stdout] --> src/hash.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::util::{encode_base64, decode_base64}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `iterations` and `salt_length` are never read [INFO] [stdout] --> src/hash.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PasswordHasher { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 47 | iterations: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | salt_length: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `iterations` and `salt_length` are never read [INFO] [stdout] --> src/hash.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PasswordHasher { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 47 | iterations: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | salt_length: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hash_password` found for struct `crypto_utils::hash::PasswordHasher` in the current scope [INFO] [stdout] --> examples/hash_example.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | let password_hash = hasher.hash_password(password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `crypto_utils::hash::PasswordHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify_password` found for struct `crypto_utils::hash::PasswordHasher` in the current scope [INFO] [stdout] --> examples/hash_example.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | let is_valid = hasher.verify_password(password, &password_hash)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `crypto_utils::hash::PasswordHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify_password` found for struct `crypto_utils::hash::PasswordHasher` in the current scope [INFO] [stdout] --> examples/hash_example.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let is_valid = hasher.verify_password("wrong-password", &password_hash)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `crypto_utils::hash::PasswordHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-utils` (example "hash_example") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "711455a3d4cc61c24356a16f3bc978b032d650376605efeb51870be56988ce68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711455a3d4cc61c24356a16f3bc978b032d650376605efeb51870be56988ce68", kill_on_drop: false }` [INFO] [stdout] 711455a3d4cc61c24356a16f3bc978b032d650376605efeb51870be56988ce68