[INFO] fetching crate c5_core 1.0.0... [INFO] testing c5_core-1.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate c5_core 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate c5_core 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate c5_core 1.0.0 [INFO] tweaked toml for crates.io crate c5_core 1.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate c5_core 1.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate c5_core 1.0.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acfa1af7512525d0829c51a2498969e2b719320571b24f6237a1afc7efe9b978 [INFO] running `Command { std: "docker" "start" "-a" "acfa1af7512525d0829c51a2498969e2b719320571b24f6237a1afc7efe9b978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acfa1af7512525d0829c51a2498969e2b719320571b24f6237a1afc7efe9b978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acfa1af7512525d0829c51a2498969e2b719320571b24f6237a1afc7efe9b978", kill_on_drop: false }` [INFO] [stdout] acfa1af7512525d0829c51a2498969e2b719320571b24f6237a1afc7efe9b978 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc1aff8648e0299b9832cb44d3de15179a67527a87b6042343fe0ad4ff1b6ef [INFO] running `Command { std: "docker" "start" "-a" "bcc1aff8648e0299b9832cb44d3de15179a67527a87b6042343fe0ad4ff1b6ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling xs_curve25519-dalek v4.1.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling yaml-rust2 v0.10.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sshkeys v0.3.3 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling xs_x25519-dalek v2.0.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling xs_ed25519-dalek v2.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling curve25519-parser v0.4.0 [INFO] [stderr] Compiling ecies_25519 v0.2.3 [INFO] [stderr] Compiling serde_yaml2 v0.1.3 [INFO] [stderr] Compiling c5_core v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyParsingError as EciesKeyParsingError` [INFO] [stdout] --> src/keys.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | KeyParsingError as EciesKeyParsingError, PublicKey as ActualEciesPublicKey, StaticSecret as ActualEciesStaticSecret, [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: `rand_core::OsRng` [INFO] [stdout] --> src/keys.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand_core::OsRng; // Cryptographically secure OS random number generator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashlink::lru_cache::Entry` [INFO] [stdout] --> src/yaml_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hashlink::lru_cache::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ed_secret_key_for_pem` [INFO] [stdout] --> src/keys.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | let ed_secret_key_for_pem = ed25519_dalek::SecretKey::try_from(secret_bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ed_secret_key_for_pem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ssh_key_part` is never used [INFO] [stdout] --> src/keys.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn build_ssh_key_part(name: &str, data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.57s [INFO] running `Command { std: "docker" "inspect" "bcc1aff8648e0299b9832cb44d3de15179a67527a87b6042343fe0ad4ff1b6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc1aff8648e0299b9832cb44d3de15179a67527a87b6042343fe0ad4ff1b6ef", kill_on_drop: false }` [INFO] [stdout] bcc1aff8648e0299b9832cb44d3de15179a67527a87b6042343fe0ad4ff1b6ef [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04730f599087e7131d2d0aaad31fecbb3f433f6ebb5865d8c5c5991d78e23c47 [INFO] running `Command { std: "docker" "start" "-a" "04730f599087e7131d2d0aaad31fecbb3f433f6ebb5865d8c5c5991d78e23c47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling xs_curve25519-dalek v4.1.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sshkeys v0.3.3 [INFO] [stderr] Compiling serde_yaml2 v0.1.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling xs_x25519-dalek v2.0.2 [INFO] [stderr] Compiling xs_ed25519-dalek v2.1.2 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling curve25519-parser v0.4.0 [INFO] [stderr] Compiling ecies_25519 v0.2.3 [INFO] [stderr] Compiling c5_core v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyParsingError as EciesKeyParsingError` [INFO] [stdout] --> src/keys.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | KeyParsingError as EciesKeyParsingError, PublicKey as ActualEciesPublicKey, StaticSecret as ActualEciesStaticSecret, [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: `rand_core::OsRng` [INFO] [stdout] --> src/keys.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand_core::OsRng; // Cryptographically secure OS random number generator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashlink::lru_cache::Entry` [INFO] [stdout] --> src/yaml_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hashlink::lru_cache::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ed_secret_key_for_pem` [INFO] [stdout] --> src/keys.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | let ed_secret_key_for_pem = ed25519_dalek::SecretKey::try_from(secret_bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ed_secret_key_for_pem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ssh_key_part` is never used [INFO] [stdout] --> src/keys.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn build_ssh_key_part(name: &str, data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyParsingError as EciesKeyParsingError` [INFO] [stdout] --> src/keys.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | KeyParsingError as EciesKeyParsingError, PublicKey as ActualEciesPublicKey, StaticSecret as ActualEciesStaticSecret, [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: `rand_core::OsRng` [INFO] [stdout] --> src/keys.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand_core::OsRng; // Cryptographically secure OS random number generator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashlink::lru_cache::Entry` [INFO] [stdout] --> src/yaml_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hashlink::lru_cache::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PemEncodedKey` [INFO] [stdout] --> tests/crypto_tests.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | PemEncodedKey, [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: `OsRng` [INFO] [stdout] --> tests/crypto_tests.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::rngs::{OsRng, StdRng}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/crypto_tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/crypto_tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ed_secret_key_for_pem` [INFO] [stdout] --> src/keys.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | let ed_secret_key_for_pem = ed25519_dalek::SecretKey::try_from(secret_bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ed_secret_key_for_pem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ssh_key_part` is never used [INFO] [stdout] --> src/keys.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn build_ssh_key_part(name: &str, data: &[u8]) -> Vec { [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 `make_seq` is never used [INFO] [stdout] --> src/yaml_utils.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | fn make_seq() -> Yaml { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.19s [INFO] running `Command { std: "docker" "inspect" "04730f599087e7131d2d0aaad31fecbb3f433f6ebb5865d8c5c5991d78e23c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04730f599087e7131d2d0aaad31fecbb3f433f6ebb5865d8c5c5991d78e23c47", kill_on_drop: false }` [INFO] [stdout] 04730f599087e7131d2d0aaad31fecbb3f433f6ebb5865d8c5c5991d78e23c47 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22107c21bf8eb4c6304bd2f36f2e825d8807affaf2d7943710d64c0d9ea79261 [INFO] running `Command { std: "docker" "start" "-a" "22107c21bf8eb4c6304bd2f36f2e825d8807affaf2d7943710d64c0d9ea79261", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `KeyParsingError as EciesKeyParsingError` [INFO] [stderr] --> src/keys.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | KeyParsingError as EciesKeyParsingError, PublicKey as ActualEciesPublicKey, StaticSecret as ActualEciesStaticSecret, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand_core::OsRng` [INFO] [stderr] --> src/keys.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use rand_core::OsRng; // Cryptographically secure OS random number generator [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hashlink::lru_cache::Entry` [INFO] [stderr] --> src/yaml_utils.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use hashlink::lru_cache::Entry; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ed_secret_key_for_pem` [INFO] [stderr] --> src/keys.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | let ed_secret_key_for_pem = ed25519_dalek::SecretKey::try_from(secret_bytes) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ed_secret_key_for_pem` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `build_ssh_key_part` is never used [INFO] [stderr] --> src/keys.rs:124:4 [INFO] [stderr] | [INFO] [stderr] 124 | fn build_ssh_key_part(name: &str, data: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `make_seq` is never used [INFO] [stderr] --> src/yaml_utils.rs:124:6 [INFO] [stderr] | [INFO] [stderr] 124 | fn make_seq() -> Yaml { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `c5_core` (lib) generated 5 warnings (run `cargo fix --lib -p c5_core` to apply 4 suggestions) [INFO] [stderr] warning: `c5_core` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `PemEncodedKey` [INFO] [stderr] --> tests/crypto_tests.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | PemEncodedKey, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `OsRng` [INFO] [stderr] --> tests/crypto_tests.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | use rand::rngs::{OsRng, StdRng}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> tests/crypto_tests.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> tests/crypto_tests.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `c5_core` (test "crypto_tests") generated 4 warnings (run `cargo fix --test "crypto_tests" -p c5_core` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/c5_core-8d1117a5514ddbce) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test io_utils::tests::test_base64_invalid_decode ... ok [INFO] [stdout] test io_utils::tests::test_base64_round_trip ... ok [INFO] [stdout] test io_utils::tests::test_read_non_existent_file ... ok [INFO] [stdout] test keys::tests::test_generate_ecies_keypair_pem_format ... ok [INFO] [stdout] test keys::tests::test_generate_ed25519_ssh_keypair_formats ... ok [INFO] [stdout] test secrets_format::tests::test_derive_key_name ... ok [INFO] [stdout] test yaml_utils::tests::test_get_yaml_value_at_path ... ok [INFO] [stdout] test secrets_format::tests::test_parse_invalid_secret_arrays ... ok [INFO] [stdout] test keys::tests::test_load_valid_ecies_keys ... ok [INFO] [stdout] test yaml_utils::tests::test_set_yaml_value_at_path ... ok [INFO] [stdout] test keys::tests::test_load_invalid_ecies_public_key_pem ... ok [INFO] [stdout] test yaml_utils::tests::test_load_and_dump_yaml ... ok [INFO] [stdout] test secrets_format::tests::test_format_and_parse_secret_array ... ok [INFO] [stdout] test keys::tests::test_load_invalid_ecies_private_key_pem ... ok [INFO] [stdout] test io_utils::tests::test_read_write_string_to_file_utf8 ... ok [INFO] [stdout] test io_utils::tests::test_read_write_bytes_to_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/crypto_tests.rs (/opt/rustwide/target/debug/deps/crypto_tests-0955be77a63d0020) [INFO] [stdout] running 1 test [INFO] [stdout] test test_encrypt_decrypt_round_trip ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests c5_core [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "22107c21bf8eb4c6304bd2f36f2e825d8807affaf2d7943710d64c0d9ea79261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22107c21bf8eb4c6304bd2f36f2e825d8807affaf2d7943710d64c0d9ea79261", kill_on_drop: false }` [INFO] [stdout] 22107c21bf8eb4c6304bd2f36f2e825d8807affaf2d7943710d64c0d9ea79261