[INFO] fetching crate best-encrypt 1.0.0... [INFO] checking best-encrypt-1.0.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate best-encrypt 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate best-encrypt 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate best-encrypt 1.0.0 [INFO] tweaked toml for crates.io crate best-encrypt 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate best-encrypt 1.0.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate best-encrypt 1.0.0 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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded cc v1.2.41 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded generic-array v0.14.8 [INFO] [stderr] Downloaded clap_derive v4.5.47 [INFO] [stderr] Downloaded clap v4.5.48 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded clap_builder v4.5.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ae14e1a5afd556e930ff779ae9fc48d134c0284ebcefa0f7909deaa7403fb8d [INFO] running `Command { std: "docker" "start" "-a" "9ae14e1a5afd556e930ff779ae9fc48d134c0284ebcefa0f7909deaa7403fb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ae14e1a5afd556e930ff779ae9fc48d134c0284ebcefa0f7909deaa7403fb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae14e1a5afd556e930ff779ae9fc48d134c0284ebcefa0f7909deaa7403fb8d", kill_on_drop: false }` [INFO] [stdout] 9ae14e1a5afd556e930ff779ae9fc48d134c0284ebcefa0f7909deaa7403fb8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a0ca268d66c9be536005ce9dece091fcc1767918cf48dc39edf4b2a42908bdc [INFO] running `Command { std: "docker" "start" "-a" "6a0ca268d66c9be536005ce9dece091fcc1767918cf48dc39edf4b2a42908bdc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling generic-array v0.14.8 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking crypto-common v0.1.6 [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 ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking best-encrypt v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | let nonce = Nonce::from_slice(&[0u8; NONCE_LENGTH]); // In production, use random nonce [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | let nonce = Nonce::from_slice(&[0u8; NONCE_LENGTH]); // In production, use random nonce [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | let nonce = Nonce::from_slice(&[0u8; NONCE_LENGTH]); // In production, use stored nonce [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | let nonce = Nonce::from_slice(&[0u8; NONCE_LENGTH]); // In production, use stored nonce [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_root` is never read [INFO] [stdout] --> src/vault.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Vault { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 40 | project_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | GLOBAL_VAULT.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_root` is never read [INFO] [stdout] --> src/vault.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Vault { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 40 | project_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | GLOBAL_VAULT.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `encrypt` in this scope [INFO] [stdout] --> examples/test_auto_converter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use encrypt::sdk::SDK; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `encrypt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `encrypt`, use `cargo add encrypt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `encrypt` in this scope [INFO] [stdout] --> examples/test_crypto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use encrypt::crypto::Crypto; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `encrypt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `encrypt`, use `cargo add encrypt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `best-encrypt` (example "test_crypto") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `best-encrypt` (example "test_auto_converter") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `encrypt` [INFO] [stdout] --> examples/example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use encrypt::{get_secret, get_all_secrets, get_status, is_vault_unlocked}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `encrypt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `encrypt`, use `cargo add encrypt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `best-encrypt` (example "example") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `encrypt` [INFO] [stdout] --> examples/production_example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use encrypt::{get_secret, set_secret, SDK}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `encrypt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `encrypt`, use `cargo add encrypt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `best-encrypt` (example "production_example") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6a0ca268d66c9be536005ce9dece091fcc1767918cf48dc39edf4b2a42908bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0ca268d66c9be536005ce9dece091fcc1767918cf48dc39edf4b2a42908bdc", kill_on_drop: false }` [INFO] [stdout] 6a0ca268d66c9be536005ce9dece091fcc1767918cf48dc39edf4b2a42908bdc