[INFO] fetching crate crypto_vault 0.0.3... [INFO] checking crypto_vault-0.0.3 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate crypto_vault 0.0.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate crypto_vault 0.0.3 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a278dbe6418b9a7cda959c58361f790bd88516cbc5d117af69c572854f3f42bd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a278dbe6418b9a7cda959c58361f790bd88516cbc5d117af69c572854f3f42bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a278dbe6418b9a7cda959c58361f790bd88516cbc5d117af69c572854f3f42bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a278dbe6418b9a7cda959c58361f790bd88516cbc5d117af69c572854f3f42bd", kill_on_drop: false }` [INFO] [stdout] a278dbe6418b9a7cda959c58361f790bd88516cbc5d117af69c572854f3f42bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e828a5dece218293019f0b96fd6a59f9d12fbe722ba92ec6bfef7f0a97bb04 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4e828a5dece218293019f0b96fd6a59f9d12fbe722ba92ec6bfef7f0a97bb04", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [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[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] 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] 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] 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: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: 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: could not compile `crypto_vault` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "a4e828a5dece218293019f0b96fd6a59f9d12fbe722ba92ec6bfef7f0a97bb04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e828a5dece218293019f0b96fd6a59f9d12fbe722ba92ec6bfef7f0a97bb04", kill_on_drop: false }` [INFO] [stdout] a4e828a5dece218293019f0b96fd6a59f9d12fbe722ba92ec6bfef7f0a97bb04