[INFO] fetching crate crypto_vault 0.0.3... [INFO] checking crypto_vault-0.0.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate crypto_vault 0.0.3 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate crypto_vault 0.0.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87155642d0d1c647efa22eca8d1878c30868a16a18f5a32a198189d245bb5939 [INFO] running `Command { std: "docker" "start" "-a" "87155642d0d1c647efa22eca8d1878c30868a16a18f5a32a198189d245bb5939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87155642d0d1c647efa22eca8d1878c30868a16a18f5a32a198189d245bb5939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87155642d0d1c647efa22eca8d1878c30868a16a18f5a32a198189d245bb5939", kill_on_drop: false }` [INFO] [stdout] 87155642d0d1c647efa22eca8d1878c30868a16a18f5a32a198189d245bb5939 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdb4420c417407279b27615c6384825bb85fa8aec3b3eb8d9ec1b77207c3c364 [INFO] running `Command { std: "docker" "start" "-a" "fdb4420c417407279b27615c6384825bb85fa8aec3b3eb8d9ec1b77207c3c364", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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: 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: 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::rngs::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::rngs::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(&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(&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(); [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(&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(&crypter.finalize()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted [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(); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_vault` (lib) due to 10 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted [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 test) due to 10 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fdb4420c417407279b27615c6384825bb85fa8aec3b3eb8d9ec1b77207c3c364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb4420c417407279b27615c6384825bb85fa8aec3b3eb8d9ec1b77207c3c364", kill_on_drop: false }` [INFO] [stdout] fdb4420c417407279b27615c6384825bb85fa8aec3b3eb8d9ec1b77207c3c364