[INFO] fetching crate crypto_vault 0.0.3... [INFO] checking crypto_vault-0.0.3 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate crypto_vault 0.0.3 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate crypto_vault 0.0.3 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3473539eabad7428323bfb3b0220467fed4e4d4065c15ff75d6ecc52eccde3b [INFO] running `Command { std: "docker" "start" "-a" "f3473539eabad7428323bfb3b0220467fed4e4d4065c15ff75d6ecc52eccde3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3473539eabad7428323bfb3b0220467fed4e4d4065c15ff75d6ecc52eccde3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3473539eabad7428323bfb3b0220467fed4e4d4065c15ff75d6ecc52eccde3b", kill_on_drop: false }` [INFO] [stdout] f3473539eabad7428323bfb3b0220467fed4e4d4065c15ff75d6ecc52eccde3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26dbb4d1849b81ffb3dd69e17968341bc85eaee35f4fda0c0d59269fff8c25f1 [INFO] running `Command { std: "docker" "start" "-a" "26dbb4d1849b81ffb3dd69e17968341bc85eaee35f4fda0c0d59269fff8c25f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking crypto_vault v0.0.3 (/opt/rustwide/workdir) [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] [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] [INFO] [stdout] error[E0425]: cannot find function `pbkdf2_hmac_sha1` in this scope [INFO] [stdout] --> src/crypto.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pbkdf2_hmac_sha1(p, salt, 1024, 32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused macro definition [INFO] [stdout] --> src/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! loop_until_some { [INFO] [stdout] 2 | | ($e:expr) => {{ [INFO] [stdout] 3 | | let mut val; [INFO] [stdout] 4 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 11 | | }} [INFO] [stdout] 12 | | } [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: 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_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] error[E0425]: cannot find function `pbkdf2_hmac_sha1` in this scope [INFO] [stdout] --> src/crypto.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pbkdf2_hmac_sha1(p, salt, 1024, 32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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: unused macro definition [INFO] [stdout] --> src/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! loop_until_some { [INFO] [stdout] 2 | | ($e:expr) => {{ [INFO] [stdout] 3 | | let mut val; [INFO] [stdout] 4 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 11 | | }} [INFO] [stdout] 12 | | } [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: 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_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[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] | ^^^^^^^^ method not found in `Vec<_>` [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] | ^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] [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] | ^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] | ^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_vault` due to 9 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `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] [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "26dbb4d1849b81ffb3dd69e17968341bc85eaee35f4fda0c0d59269fff8c25f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26dbb4d1849b81ffb3dd69e17968341bc85eaee35f4fda0c0d59269fff8c25f1", kill_on_drop: false }` [INFO] [stdout] 26dbb4d1849b81ffb3dd69e17968341bc85eaee35f4fda0c0d59269fff8c25f1