[INFO] fetching crate best-encrypt 1.0.0... [INFO] testing best-encrypt-1.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate best-encrypt 1.0.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate best-encrypt 1.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44a8631084746cf204d2903b699a55e3da5d8884624ffd8f2f4e462d7a0e4a9d [INFO] running `Command { std: "docker" "start" "-a" "44a8631084746cf204d2903b699a55e3da5d8884624ffd8f2f4e462d7a0e4a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a8631084746cf204d2903b699a55e3da5d8884624ffd8f2f4e462d7a0e4a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a8631084746cf204d2903b699a55e3da5d8884624ffd8f2f4e462d7a0e4a9d", kill_on_drop: false }` [INFO] [stdout] 44a8631084746cf204d2903b699a55e3da5d8884624ffd8f2f4e462d7a0e4a9d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4359067a90a74f537627ff78471f27fd6b1e7d98f986db48647343eeb9a145b3 [INFO] running `Command { std: "docker" "start" "-a" "4359067a90a74f537627ff78471f27fd6b1e7d98f986db48647343eeb9a145b3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling generic-array v0.14.8 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [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] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling 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: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: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.84s [INFO] running `Command { std: "docker" "inspect" "4359067a90a74f537627ff78471f27fd6b1e7d98f986db48647343eeb9a145b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4359067a90a74f537627ff78471f27fd6b1e7d98f986db48647343eeb9a145b3", kill_on_drop: false }` [INFO] [stdout] 4359067a90a74f537627ff78471f27fd6b1e7d98f986db48647343eeb9a145b3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1149bda361a696a567ade866549f19ef46553d3c3470304b5f92f3fd70217b67 [INFO] running `Command { std: "docker" "start" "-a" "1149bda361a696a567ade866549f19ef46553d3c3470304b5f92f3fd70217b67", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.4 [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: 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: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling best-encrypt v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `encrypt` [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] [stderr] error: could not compile `best-encrypt` (example "example") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `encrypt` [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | if api_key.len() > 4 { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if db_url.len() > 10 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | println!("Available keys: {:?}", all_secrets.keys().collect::>()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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_auto_converter") due to 1 previous error [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] 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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/production_example.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | if api_key.len() > 4 { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/production_example.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if api_key.len() > 4 { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/production_example.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | if api_key.len() > 4 { [INFO] [stdout] | ^^^^^^^ cannot infer type [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] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `best-encrypt` (example "production_example") due to 4 previous errors [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: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1149bda361a696a567ade866549f19ef46553d3c3470304b5f92f3fd70217b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1149bda361a696a567ade866549f19ef46553d3c3470304b5f92f3fd70217b67", kill_on_drop: false }` [INFO] [stdout] 1149bda361a696a567ade866549f19ef46553d3c3470304b5f92f3fd70217b67