[INFO] fetching crate crypto_vault 0.0.3... [INFO] testing crypto_vault-0.0.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate crypto_vault 0.0.3 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crypto_vault 0.0.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fd2222500fda7b6e55c6120f12113b4e5a6111f36dd4a404b0ca9736a245bb1 [INFO] running `Command { std: "docker" "start" "-a" "2fd2222500fda7b6e55c6120f12113b4e5a6111f36dd4a404b0ca9736a245bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd2222500fda7b6e55c6120f12113b4e5a6111f36dd4a404b0ca9736a245bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd2222500fda7b6e55c6120f12113b4e5a6111f36dd4a404b0ca9736a245bb1", kill_on_drop: false }` [INFO] [stdout] 2fd2222500fda7b6e55c6120f12113b4e5a6111f36dd4a404b0ca9736a245bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 441f8cf3f3fa5c946a3a01002f4d8bab641cb70d8b33d7da319cf59ba5a69384 [INFO] running `Command { std: "docker" "start" "-a" "441f8cf3f3fa5c946a3a01002f4d8bab641cb70d8b33d7da319cf59ba5a69384", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling 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[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[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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "441f8cf3f3fa5c946a3a01002f4d8bab641cb70d8b33d7da319cf59ba5a69384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441f8cf3f3fa5c946a3a01002f4d8bab641cb70d8b33d7da319cf59ba5a69384", kill_on_drop: false }` [INFO] [stdout] 441f8cf3f3fa5c946a3a01002f4d8bab641cb70d8b33d7da319cf59ba5a69384