[INFO] cloning repository https://github.com/Utishnik/safe-secret
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Utishnik/safe-secret" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUtishnik%2Fsafe-secret", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUtishnik%2Fsafe-secret'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 795364feac70dcbe0a6b063adc7879d1c9c6a8da
[INFO] checking Utishnik/safe-secret against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUtishnik%2Fsafe-secret" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Utishnik/safe-secret
[INFO] finished tweaking git repo https://github.com/Utishnik/safe-secret
[INFO] tweaked toml for git repo https://github.com/Utishnik/safe-secret written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Utishnik/safe-secret on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Utishnik/safe-secret already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded secrets-tweaked v1.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fdbc51057b22801964e240288f30425b38545f681eda0fb1f2c4113ffe4b81c5
[INFO] running `Command { std: "docker" "start" "-a" "fdbc51057b22801964e240288f30425b38545f681eda0fb1f2c4113ffe4b81c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdbc51057b22801964e240288f30425b38545f681eda0fb1f2c4113ffe4b81c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdbc51057b22801964e240288f30425b38545f681eda0fb1f2c4113ffe4b81c5", kill_on_drop: false }`
[INFO] [stdout] fdbc51057b22801964e240288f30425b38545f681eda0fb1f2c4113ffe4b81c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc21b412b4bfe4da8b0655723e695d2b5006a03006d420d0f6abf48bed804e09
[INFO] running `Command { std: "docker" "start" "-a" "bc21b412b4bfe4da8b0655723e695d2b5006a03006d420d0f6abf48bed804e09", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling secrets-tweaked v1.2.0
[INFO] [stderr]     Checking debug_utils v0.1.0 (/opt/rustwide/workdir/debug)
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking secret_embedded v0.1.0 (/opt/rustwide/workdir/embedded)
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> embedded/storage.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{fs, iter};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> embedded/storage.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{fs, iter};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key` is never read
[INFO] [stdout]   --> embedded/storage.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct FileCrypt<'key, 'path> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     key: Option<&'key str>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `key`, and `path` are never read
[INFO] [stdout]   --> embedded/storage.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct DirCrypt<'key, 'path> {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 48 |     data: Vec<FileCrypt<'key, 'path>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     key: Option<&'key str>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 50 |     path: &'path Path,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `str_to_owned_path` is never used
[INFO] [stdout]   --> embedded/storage.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn str_to_owned_path<S: Into<PathBuf>>(str_path: S) -> PathBuf {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key` is never read
[INFO] [stdout]   --> embedded/storage.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct FileCrypt<'key, 'path> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     key: Option<&'key str>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `key`, and `path` are never read
[INFO] [stdout]   --> embedded/storage.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct DirCrypt<'key, 'path> {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 48 |     data: Vec<FileCrypt<'key, 'path>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     key: Option<&'key str>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 50 |     path: &'path Path,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `str_to_owned_path` is never used
[INFO] [stdout]   --> embedded/storage.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn str_to_owned_path<S: Into<PathBuf>>(str_path: S) -> PathBuf {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking aes-gcm-siv v0.11.1
[INFO] [stderr]     Checking safe_secret v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking safe_crypt v0.1.0 (/opt/rustwide/workdir/crypt)
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{Read, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bytes`
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:69:32
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn encrypt_chunk(&mut self,key_bytes: [u8; KEY_LEN],data: SmallVec<[u8; DATA_SIZE]>) -> Result<Vec<u8>> {
[INFO] [stdout]    |                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_SIZE` is never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const DATA_SIZE: usize = 1024;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct EncryptedFile {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     buffer: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_buffer` and `encrypt_chunk` are never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EncryptedFile {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn get_buffer(self) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn encrypt_chunk(&mut self,key_bytes: [u8; KEY_LEN],data: SmallVec<[u8; DATA_SIZE]>) -> Result<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_FORMAT_RULE` and `VecString`
[INFO] [stdout]  --> crypt/src/aes_crypt.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use debug_utils::{DEFAULT_FORMAT_RULE,VecString};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{Read, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bytes`
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:69:32
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn encrypt_chunk(&mut self,key_bytes: [u8; KEY_LEN],data: SmallVec<[u8; DATA_SIZE]>) -> Result<Vec<u8>> {
[INFO] [stdout]    |                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum Error {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | type Result<T> = core::result::Result<T, Error>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEY_LEN` is never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const KEY_LEN: usize = 32;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NONCE_LEN` is never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const NONCE_LEN: usize = 12;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_SIZE` is never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const DATA_SIZE: usize = 1024;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EncryptedFile` is never constructed
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct EncryptedFile {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write_chunk`, `get_buffer`, and `encrypt_chunk` are never used
[INFO] [stdout]   --> crypt/src/aes_crypt.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EncryptedFile {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 33 |     fn new(key: &[u8; KEY_LEN]) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn write_chunk(&mut self, data: &[u8]) -> Result<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn get_buffer(self) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn encrypt_chunk(&mut self,key_bytes: [u8; KEY_LEN],data: SmallVec<[u8; DATA_SIZE]>) -> Result<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.78s
[INFO] running `Command { std: "docker" "inspect" "bc21b412b4bfe4da8b0655723e695d2b5006a03006d420d0f6abf48bed804e09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc21b412b4bfe4da8b0655723e695d2b5006a03006d420d0f6abf48bed804e09", kill_on_drop: false }`
[INFO] [stdout] bc21b412b4bfe4da8b0655723e695d2b5006a03006d420d0f6abf48bed804e09
