[INFO] cloning repository https://github.com/gshuflin/generate-pkcs8-format-key [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gshuflin/generate-pkcs8-format-key" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgshuflin%2Fgenerate-pkcs8-format-key", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgshuflin%2Fgenerate-pkcs8-format-key'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 560c8173ef217f8f26c6cce215080a29d694b77f [INFO] checking gshuflin/generate-pkcs8-format-key against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgshuflin%2Fgenerate-pkcs8-format-key" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gshuflin/generate-pkcs8-format-key on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gshuflin/generate-pkcs8-format-key [INFO] finished tweaking git repo https://github.com/gshuflin/generate-pkcs8-format-key [INFO] tweaked toml for git repo https://github.com/gshuflin/generate-pkcs8-format-key written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gshuflin/generate-pkcs8-format-key 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded block-padding v0.3.3 [INFO] [stderr] Downloaded ed25519-zebra v4.0.3 [INFO] [stderr] Downloaded scrypt v0.11.0 [INFO] [stderr] Downloaded pkcs5 v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78112c62fabb2b600d8f668255a4c2fe38fc830cb8298e20440cdbe87a05b82a [INFO] running `Command { std: "docker" "start" "-a" "78112c62fabb2b600d8f668255a4c2fe38fc830cb8298e20440cdbe87a05b82a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78112c62fabb2b600d8f668255a4c2fe38fc830cb8298e20440cdbe87a05b82a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78112c62fabb2b600d8f668255a4c2fe38fc830cb8298e20440cdbe87a05b82a", kill_on_drop: false }` [INFO] [stdout] 78112c62fabb2b600d8f668255a4c2fe38fc830cb8298e20440cdbe87a05b82a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe4fd315a5d34db9293495238255fbb3f891c793393c2152860ef087aedee93b [INFO] running `Command { std: "docker" "start" "-a" "fe4fd315a5d34db9293495238255fbb3f891c793393c2152860ef087aedee93b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking crypt-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, io::Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, io::Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretDocument` [INFO] [stdout] --> src/main.rs:4:75 [INFO] [stdout] | [INFO] [stdout] 4 | use pkcs8::{AlgorithmIdentifierRef, pkcs5::pbes2::Parameters, LineEnding, SecretDocument, EncodePrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretDocument` [INFO] [stdout] --> src/main.rs:4:75 [INFO] [stdout] | [INFO] [stdout] 4 | use pkcs8::{AlgorithmIdentifierRef, pkcs5::pbes2::Parameters, LineEnding, SecretDocument, EncodePrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/main.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | fn generate_key_zebra(password: &[u8], path: impl AsRef, format: Format) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/main.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | fn generate_key_zebra(password: &[u8], path: impl AsRef, format: Format) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Library` is never used [INFO] [stdout] --> src/main.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Library { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_key` is never used [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn generate_key(password: &[u8], output_filename: impl AsRef, library: Library, format: Format) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Library` is never used [INFO] [stdout] --> src/main.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Library { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_key` is never used [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn generate_key(password: &[u8], output_filename: impl AsRef, library: Library, format: Format) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.79s [INFO] running `Command { std: "docker" "inspect" "fe4fd315a5d34db9293495238255fbb3f891c793393c2152860ef087aedee93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4fd315a5d34db9293495238255fbb3f891c793393c2152860ef087aedee93b", kill_on_drop: false }` [INFO] [stdout] fe4fd315a5d34db9293495238255fbb3f891c793393c2152860ef087aedee93b