[INFO] fetching crate crypto_vault 0.0.3... [INFO] checking crypto_vault-0.0.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate crypto_vault 0.0.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate crypto_vault 0.0.3 [INFO] finished tweaking crates.io crate crypto_vault 0.0.3 [INFO] tweaked toml for crates.io crate crypto_vault 0.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crypto_vault 0.0.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57f36413ec82df71b17f2880d40a3ee9e88b0b40e1a8b43d07d534d876c7c6b0 [INFO] running `Command { std: "docker" "start" "-a" "57f36413ec82df71b17f2880d40a3ee9e88b0b40e1a8b43d07d534d876c7c6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57f36413ec82df71b17f2880d40a3ee9e88b0b40e1a8b43d07d534d876c7c6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f36413ec82df71b17f2880d40a3ee9e88b0b40e1a8b43d07d534d876c7c6b0", kill_on_drop: false }` [INFO] [stdout] 57f36413ec82df71b17f2880d40a3ee9e88b0b40e1a8b43d07d534d876c7c6b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52a9d8419f14731be990de2ac78c3517f4feb209c56387d08bdd06b474c4b4d9 [INFO] running `Command { std: "docker" "start" "-a" "52a9d8419f14731be990de2ac78c3517f4feb209c56387d08bdd06b474c4b4d9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking crypto_vault v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | #![feature(vec_push_all, plugin)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0; see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | #![feature(vec_push_all, plugin)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0; see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/crypto.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use openssl::crypto::pkcs5::pbkdf2_hmac_sha1; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/crypto.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use openssl::crypto::pkcs5::pbkdf2_hmac_sha1; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::crypto` [INFO] [stdout] --> src/crypto.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use openssl::crypto::symm; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::OsRng` [INFO] [stdout] --> src/crypto.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] rand::rand_core::OsRng [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused macro definition: `loop_until_some` [INFO] [stdout] --> src/macros.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! loop_until_some { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | #![deny(missing_docs, bad_style, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_macros)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `Rng` [INFO] [stdout] --> src/crypto.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | salt: try!(lines.next().unwrap_or_default().from_base64()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | iv: try!(lines.next().unwrap_or_default().from_base64()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | data: try!(lines.fold("".to_owned(), |acc, item| format!("{}{}", acc, item)).from_base64()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | objects: try!(json::decode(&decrypted)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | let raw = try!(RawVault::from_str(&self.clone().into())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(try!(raw.decrypt(password))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_push_all` [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | #![feature(vec_push_all, plugin)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::crypto` [INFO] [stdout] --> src/crypto.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use openssl::crypto::symm; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::OsRng` [INFO] [stdout] --> src/crypto.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] rand::rand_core::OsRng [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused macro definition: `loop_until_some` [INFO] [stdout] --> src/macros.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! loop_until_some { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | #![deny(missing_docs, bad_style, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_macros)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `Rng` [INFO] [stdout] --> src/crypto.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | salt: try!(lines.next().unwrap_or_default().from_base64()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | iv: try!(lines.next().unwrap_or_default().from_base64()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | data: try!(lines.fold("".to_owned(), |acc, item| format!("{}{}", acc, item)).from_base64()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | objects: try!(json::decode(&decrypted)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | let raw = try!(RawVault::from_str(&self.clone().into())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vault.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(try!(raw.decrypt(password))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_push_all` [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | #![feature(vec_push_all, plugin)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/crypto.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | final_result.push_all(&crypter.update(data)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - final_result.push_all(&crypter.update(data)); [INFO] [stdout] 11 + final_result.push(&crypter.update(data)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/crypto.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | final_result.push_all(&crypter.finalize()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - final_result.push_all(&crypter.finalize()); [INFO] [stdout] 12 + final_result.push(&crypter.finalize()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] --> src/vault.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lines = s.lines_any(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 37 - let mut lines = s.lines_any(); [INFO] [stdout] 37 + let mut lines = s.lines(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/crypto.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | final_result.push_all(&crypter.update(data)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - final_result.push_all(&crypter.update(data)); [INFO] [stdout] 11 + final_result.push(&crypter.update(data)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/crypto.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | final_result.push_all(&crypter.finalize()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - final_result.push_all(&crypter.finalize()); [INFO] [stdout] 12 + final_result.push(&crypter.finalize()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] --> src/vault.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lines = s.lines_any(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 37 - let mut lines = s.lines_any(); [INFO] [stdout] 37 + let mut lines = s.lines(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_vault` (lib test) due to 9 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_vault` (lib) due to 9 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52a9d8419f14731be990de2ac78c3517f4feb209c56387d08bdd06b474c4b4d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a9d8419f14731be990de2ac78c3517f4feb209c56387d08bdd06b474c4b4d9", kill_on_drop: false }` [INFO] [stdout] 52a9d8419f14731be990de2ac78c3517f4feb209c56387d08bdd06b474c4b4d9