[INFO] cloning repository https://github.com/0xGingi/rusty_vault [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xGingi/rusty_vault" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xGingi%2Frusty_vault", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xGingi%2Frusty_vault'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6055fc71aa77336c48620c90f171ab03e91dd245 [INFO] testing 0xGingi/rusty_vault against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xGingi%2Frusty_vault" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0xGingi/rusty_vault [INFO] finished tweaking git repo https://github.com/0xGingi/rusty_vault [INFO] tweaked toml for git repo https://github.com/0xGingi/rusty_vault written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xGingi/rusty_vault on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0xGingi/rusty_vault 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 313f736f67c17af846d640ec750bc672508d88127bb653608f2327b391d0fdff [INFO] running `Command { std: "docker" "start" "-a" "313f736f67c17af846d640ec750bc672508d88127bb653608f2327b391d0fdff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "313f736f67c17af846d640ec750bc672508d88127bb653608f2327b391d0fdff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313f736f67c17af846d640ec750bc672508d88127bb653608f2327b391d0fdff", kill_on_drop: false }` [INFO] [stdout] 313f736f67c17af846d640ec750bc672508d88127bb653608f2327b391d0fdff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 952b7762e47669f514d883571580dae3472060d8e71fc0e8cea0df1db239af6a [INFO] running `Command { std: "docker" "start" "-a" "952b7762e47669f514d883571580dae3472060d8e71fc0e8cea0df1db239af6a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling object v0.36.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling rand v0.9.0-alpha.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Compiling rusty_vault v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Nonce` [INFO] [stdout] --> src/main.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | use chacha20poly1305::{XChaCha20Poly1305, Key, Nonce}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut master_password; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_nonce` is never used [INFO] [stdout] --> src/main.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn encrypt_nonce(nonce: &[u8], key: &Key) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_nonce` is never used [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn decrypt_nonce(ciphertext: &[u8], nonce_for_nonce_bytes: &[u8], key: &Key) -> [u8; 24] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "952b7762e47669f514d883571580dae3472060d8e71fc0e8cea0df1db239af6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "952b7762e47669f514d883571580dae3472060d8e71fc0e8cea0df1db239af6a", kill_on_drop: false }` [INFO] [stdout] 952b7762e47669f514d883571580dae3472060d8e71fc0e8cea0df1db239af6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb4b4134f9001e364906df9d0a831f5d85ba2d6128d269061bae7eba8fef1de8 [INFO] running `Command { std: "docker" "start" "-a" "fb4b4134f9001e364906df9d0a831f5d85ba2d6128d269061bae7eba8fef1de8", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_vault v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Nonce` [INFO] [stdout] --> src/main.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | use chacha20poly1305::{XChaCha20Poly1305, Key, Nonce}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut master_password; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_nonce` is never used [INFO] [stdout] --> src/main.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn encrypt_nonce(nonce: &[u8], key: &Key) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_nonce` is never used [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn decrypt_nonce(ciphertext: &[u8], nonce_for_nonce_bytes: &[u8], key: &Key) -> [u8; 24] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "fb4b4134f9001e364906df9d0a831f5d85ba2d6128d269061bae7eba8fef1de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb4b4134f9001e364906df9d0a831f5d85ba2d6128d269061bae7eba8fef1de8", kill_on_drop: false }` [INFO] [stdout] fb4b4134f9001e364906df9d0a831f5d85ba2d6128d269061bae7eba8fef1de8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab8125c2e31cc2b79cb80666689900c56f6ad6a1c28469edb554092322269e7d [INFO] running `Command { std: "docker" "start" "-a" "ab8125c2e31cc2b79cb80666689900c56f6ad6a1c28469edb554092322269e7d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Nonce` [INFO] [stderr] --> src/main.rs:8:48 [INFO] [stderr] | [INFO] [stderr] 8 | use chacha20poly1305::{XChaCha20Poly1305, Key, Nonce}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | let mut master_password; [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `encrypt_nonce` is never used [INFO] [stderr] --> src/main.rs:104:4 [INFO] [stderr] | [INFO] [stderr] 104 | fn encrypt_nonce(nonce: &[u8], key: &Key) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `decrypt_nonce` is never used [INFO] [stderr] --> src/main.rs:113:4 [INFO] [stderr] | [INFO] [stderr] 113 | fn decrypt_nonce(ciphertext: &[u8], nonce_for_nonce_bytes: &[u8], key: &Key) -> [u8; 24] { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rusty_vault` (bin "rusty_vault" test) generated 4 warnings (run `cargo fix --bin "rusty_vault" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_vault-b222bc717888a006) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab8125c2e31cc2b79cb80666689900c56f6ad6a1c28469edb554092322269e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab8125c2e31cc2b79cb80666689900c56f6ad6a1c28469edb554092322269e7d", kill_on_drop: false }` [INFO] [stdout] ab8125c2e31cc2b79cb80666689900c56f6ad6a1c28469edb554092322269e7d