[INFO] cloning repository https://github.com/styrowolf/encryptor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/styrowolf/encryptor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstyrowolf%2Fencryptor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstyrowolf%2Fencryptor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00dd5d81dd6e9598313db2685e31cc3351f56040 [INFO] building styrowolf/encryptor against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstyrowolf%2Fencryptor" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/styrowolf/encryptor on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/styrowolf/encryptor [INFO] finished tweaking git repo https://github.com/styrowolf/encryptor [INFO] tweaked toml for git repo https://github.com/styrowolf/encryptor written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/styrowolf/encryptor 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blake3 v0.3.5 [INFO] [stderr] Downloaded aes-gcm-siv v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa6f4af8858765c7deafb6afe1da90c6d5af2555371037a00b561280abeeb98d [INFO] running `Command { std: "docker" "start" "-a" "fa6f4af8858765c7deafb6afe1da90c6d5af2555371037a00b561280abeeb98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa6f4af8858765c7deafb6afe1da90c6d5af2555371037a00b561280abeeb98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa6f4af8858765c7deafb6afe1da90c6d5af2555371037a00b561280abeeb98d", kill_on_drop: false }` [INFO] [stdout] fa6f4af8858765c7deafb6afe1da90c6d5af2555371037a00b561280abeeb98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 856bdb25056a34ae89face5e663d09043998e36d92dcb5fec20376f86c4566e7 [INFO] running `Command { std: "docker" "start" "-a" "856bdb25056a34ae89face5e663d09043998e36d92dcb5fec20376f86c4566e7", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling blake3 v0.3.5 [INFO] [stderr] Compiling argon2rs v0.2.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling stream-cipher v0.4.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling chacha20 v0.4.3 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Compiling poly1305 v0.6.0 [INFO] [stderr] Compiling polyval v0.4.0 [INFO] [stderr] Compiling chacha20poly1305 v0.5.1 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling aes-gcm-siv v0.5.0 [INFO] [stderr] Compiling encryptor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `nonce` is never read [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut nonce = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_nonce` is never used [INFO] [stdout] --> src/main.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn derive_nonce(plaintext: Vec, key: Vec, length: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `XChaCha20Poly1305_encrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn XChaCha20Poly1305_encrypt(plaintext: Vec, key: Vec, nonce: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xcha_cha20_poly1305_encrypt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `XChaCha20Poly1305_decrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn XChaCha20Poly1305_decrypt(ciphertext: Vec, key: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xcha_cha20_poly1305_decrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AES_GCM_SIV_encrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn AES_GCM_SIV_encrypt(plaintext: Vec, key: Vec, nonce: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `aes_gcm_siv_encrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AES_GCM_SIV_decrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn AES_GCM_SIV_decrypt(ciphertext: Vec, key: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `aes_gcm_siv_decrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.79s [INFO] running `Command { std: "docker" "inspect" "856bdb25056a34ae89face5e663d09043998e36d92dcb5fec20376f86c4566e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "856bdb25056a34ae89face5e663d09043998e36d92dcb5fec20376f86c4566e7", kill_on_drop: false }` [INFO] [stdout] 856bdb25056a34ae89face5e663d09043998e36d92dcb5fec20376f86c4566e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b9184f3877d22f5592791f96d03ea9759073341ab84ca4d6611d3f33d30a77b [INFO] running `Command { std: "docker" "start" "-a" "4b9184f3877d22f5592791f96d03ea9759073341ab84ca4d6611d3f33d30a77b", kill_on_drop: false }` [INFO] [stderr] Compiling encryptor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `nonce` is never read [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut nonce = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_nonce` is never used [INFO] [stdout] --> src/main.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn derive_nonce(plaintext: Vec, key: Vec, length: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `XChaCha20Poly1305_encrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn XChaCha20Poly1305_encrypt(plaintext: Vec, key: Vec, nonce: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xcha_cha20_poly1305_encrypt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `XChaCha20Poly1305_decrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn XChaCha20Poly1305_decrypt(ciphertext: Vec, key: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xcha_cha20_poly1305_decrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AES_GCM_SIV_encrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn AES_GCM_SIV_encrypt(plaintext: Vec, key: Vec, nonce: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `aes_gcm_siv_encrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AES_GCM_SIV_decrypt` should have a snake case name [INFO] [stdout] --> src/main.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn AES_GCM_SIV_decrypt(ciphertext: Vec, key: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `aes_gcm_siv_decrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "4b9184f3877d22f5592791f96d03ea9759073341ab84ca4d6611d3f33d30a77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9184f3877d22f5592791f96d03ea9759073341ab84ca4d6611d3f33d30a77b", kill_on_drop: false }` [INFO] [stdout] 4b9184f3877d22f5592791f96d03ea9759073341ab84ca4d6611d3f33d30a77b