[INFO] cloning repository https://github.com/GeorgiiVoyakin/cli-password-manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GeorgiiVoyakin/cli-password-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeorgiiVoyakin%2Fcli-password-manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeorgiiVoyakin%2Fcli-password-manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3cb95f4f0234af3091cd74292e7d21aa0d26f62e
[INFO] testing GeorgiiVoyakin/cli-password-manager against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeorgiiVoyakin%2Fcli-password-manager" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/GeorgiiVoyakin/cli-password-manager
[INFO] finished tweaking git repo https://github.com/GeorgiiVoyakin/cli-password-manager
[INFO] tweaked toml for git repo https://github.com/GeorgiiVoyakin/cli-password-manager written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GeorgiiVoyakin/cli-password-manager on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/GeorgiiVoyakin/cli-password-manager 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7a1a7f0bc805b419404f827df3ec53750b75e29573a61b861524b5d4a3da03b
[INFO] running `Command { std: "docker" "start" "-a" "c7a1a7f0bc805b419404f827df3ec53750b75e29573a61b861524b5d4a3da03b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7a1a7f0bc805b419404f827df3ec53750b75e29573a61b861524b5d4a3da03b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7a1a7f0bc805b419404f827df3ec53750b75e29573a61b861524b5d4a3da03b", kill_on_drop: false }`
[INFO] [stdout] c7a1a7f0bc805b419404f827df3ec53750b75e29573a61b861524b5d4a3da03b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 6128968d8c577519a49380d93b79c80729ec2e76dc843b305d68bc2a947e99ca
[INFO] running `Command { std: "docker" "start" "-a" "6128968d8c577519a49380d93b79c80729ec2e76dc843b305d68bc2a947e99ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling ppv-lite86 v0.2.14
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling postgres-protocol v0.5.3
[INFO] [stderr]    Compiling postgres-types v0.1.3
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.17
[INFO] [stderr]    Compiling futures v0.3.17
[INFO] [stderr]    Compiling tokio-postgres v0.5.5
[INFO] [stderr]    Compiling postgres v0.17.5
[INFO] [stderr]    Compiling cli-password-manager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Client`, `Error`, and `NoTls`
[INFO] [stdout]   --> src/main.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | use postgres::{Client, NoTls, Error};
[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: `file`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let file = File::open("master_password");
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_password` is never used
[INFO] [stdout]   --> src/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn encode_password(password: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_password` is never used
[INFO] [stdout]   --> src/main.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn decode_password(encoded: &[u8]) -> result::Result<Vec<u8>, base64::DecodeError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_master_password` is never used
[INFO] [stdout]   --> src/main.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn save_master_password(master_password: &[u8]) -> std::io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_master_password` is never used
[INFO] [stdout]   --> src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn verify_master_password(password_to_verify: &str, n_iter: NonZeroU32, salt: &[u8], pbkdf2_hash: &mut [u8]) -> result::Result<(), e...
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.53s
[INFO] running `Command { std: "docker" "inspect" "6128968d8c577519a49380d93b79c80729ec2e76dc843b305d68bc2a947e99ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6128968d8c577519a49380d93b79c80729ec2e76dc843b305d68bc2a947e99ca", kill_on_drop: false }`
[INFO] [stdout] 6128968d8c577519a49380d93b79c80729ec2e76dc843b305d68bc2a947e99ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 08ad3ece2b10fd6e86c0fae1f136aa7b97a0f4c9c70a3175e8d6116ac73d79fb
[INFO] running `Command { std: "docker" "start" "-a" "08ad3ece2b10fd6e86c0fae1f136aa7b97a0f4c9c70a3175e8d6116ac73d79fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling cli-password-manager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Client`, `Error`, and `NoTls`
[INFO] [stdout]   --> src/main.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | use postgres::{Client, NoTls, Error};
[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: `file`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let file = File::open("master_password");
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut salt = [0u8; CREDENTIAL_LEN];
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "08ad3ece2b10fd6e86c0fae1f136aa7b97a0f4c9c70a3175e8d6116ac73d79fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08ad3ece2b10fd6e86c0fae1f136aa7b97a0f4c9c70a3175e8d6116ac73d79fb", kill_on_drop: false }`
[INFO] [stdout] 08ad3ece2b10fd6e86c0fae1f136aa7b97a0f4c9c70a3175e8d6116ac73d79fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 91ccd1293e5c21d6a7bdde3e26f31f7c5a28469764d5085a45fe1b7cb02235e3
[INFO] running `Command { std: "docker" "start" "-a" "91ccd1293e5c21d6a7bdde3e26f31f7c5a28469764d5085a45fe1b7cb02235e3", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Client`, `Error`, and `NoTls`
[INFO] [stdout] 
[INFO] [stderr]   --> src/main.rs:10:16
[INFO] [stdout] running 4 tests
[INFO] [stderr]    |
[INFO] [stdout] test test_encoding ... ok
[INFO] [stderr] 10 | use postgres::{Client, NoTls, Error};
[INFO] [stdout] test test_decoding ... ok
[INFO] [stderr]    |                ^^^^^^  ^^^^^  ^^^^^
[INFO] [stdout] test test_save_master_password ... FAILED
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `file`
[INFO] [stderr]   --> src/main.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let file = File::open("master_password");
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:79:9
[INFO] [stderr]    |
[INFO] [stderr] 79 |     let mut salt = [0u8; CREDENTIAL_LEN];
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cli-password-manager` (bin "cli-password-manager" test) generated 3 warnings (run `cargo fix --bin "cli-password-manager" -p cli-password-manager --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/cli-password-manager/b946e7a233455d15/deps/cli_password_manager-b946e7a233455d15)
[INFO] [stdout] test test_verify_master_password ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_save_master_password stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_save_master_password
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin cli-password-manager`
[INFO] running `Command { std: "docker" "inspect" "91ccd1293e5c21d6a7bdde3e26f31f7c5a28469764d5085a45fe1b7cb02235e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91ccd1293e5c21d6a7bdde3e26f31f7c5a28469764d5085a45fe1b7cb02235e3", kill_on_drop: false }`
[INFO] [stdout] 91ccd1293e5c21d6a7bdde3e26f31f7c5a28469764d5085a45fe1b7cb02235e3
