[INFO] fetching crate ssh-util 0.1.0... [INFO] checking ssh-util-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ssh-util 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ssh-util 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ssh-util 0.1.0 [INFO] finished tweaking crates.io crate ssh-util 0.1.0 [INFO] tweaked toml for crates.io crate ssh-util 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate ssh-util 0.1.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c055f12e64d5449c3422cba55e8e91d5dac4af9b16e360a0ef02cfa92ef42f66 [INFO] running `Command { std: "docker" "start" "-a" "c055f12e64d5449c3422cba55e8e91d5dac4af9b16e360a0ef02cfa92ef42f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c055f12e64d5449c3422cba55e8e91d5dac4af9b16e360a0ef02cfa92ef42f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c055f12e64d5449c3422cba55e8e91d5dac4af9b16e360a0ef02cfa92ef42f66", kill_on_drop: false }` [INFO] [stdout] c055f12e64d5449c3422cba55e8e91d5dac4af9b16e360a0ef02cfa92ef42f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 358bb19fc7ad59c6b6af46dd0130a2942ffe84c8dd59a986331493e57bdfa9a8 [INFO] running `Command { std: "docker" "start" "-a" "358bb19fc7ad59c6b6af46dd0130a2942ffe84c8dd59a986331493e57bdfa9a8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking ssh-util v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused variable: `id_rsa` [INFO] [stdout] --> src/sshrw.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let id_rsa = "b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn\ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_rsa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_ecdsa` [INFO] [stdout] --> src/sshrw.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let id_ecdsa = "b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAaAAAABNlY2RzYS\ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_ecdsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/sshpubkey.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse(key: &str) -> SshResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshPubicKey` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SshPubicKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SshPubicKeyValue` is never used [INFO] [stdout] --> src/sshpubkey.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum SshPubicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshRsaPublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SshRsaPublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SshEcdsaPublicKeyAlgorithm` is never used [INFO] [stdout] --> src/sshpubkey.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum SshEcdsaPublicKeyAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEcdsaPublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SshEcdsaPublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEd25519PublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SshEd25519PublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/sshpubkey.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl SshPubicKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 36 | pub fn parse(key: &str) -> SshResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshPrivateKey` is never constructed [INFO] [stdout] --> src/sshprivkey.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SshPrivateKey {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshCert` is never constructed [INFO] [stdout] --> src/sshcert.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SshCert {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/sshrw.rs (1 fix) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/sshpubkey.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse(key: &str) -> SshResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SshResult` is never used [INFO] [stdout] --> src/sshbase.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type SshResult = Result>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshReader` is never constructed [INFO] [stdout] --> src/sshrw.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SshReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sshrw.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SshReader { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(bytes: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn read_bytes(&mut self, len: u32) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn read_u32(&mut self) -> SshResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn read_string(&mut self) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn read_big_num(&mut self) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn read_left(&mut self) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn left_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshWriter` is never constructed [INFO] [stdout] --> src/sshrw.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SshWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_slice`, `write_bytes`, `write_u32`, `write_string`, and `write_big_num` are never used [INFO] [stdout] --> src/sshrw.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SshWriter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn as_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn write_bytes(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn write_u32(&mut self, i: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn write_string(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn write_big_num(&mut self, bn: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshPubicKey` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SshPubicKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SshPubicKeyValue` is never used [INFO] [stdout] --> src/sshpubkey.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum SshPubicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshRsaPublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SshRsaPublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SshEcdsaPublicKeyAlgorithm` is never used [INFO] [stdout] --> src/sshpubkey.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum SshEcdsaPublicKeyAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEcdsaPublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SshEcdsaPublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEd25519PublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SshEd25519PublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/sshpubkey.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl SshPubicKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 36 | pub fn parse(key: &str) -> SshResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshPrivateKey` is never constructed [INFO] [stdout] --> src/sshprivkey.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SshPrivateKey {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshCert` is never constructed [INFO] [stdout] --> src/sshcert.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SshCert {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ssh-util v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/sshpubkey.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse(key: &str) -> SshResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SshResult` is never used [INFO] [stdout] --> src/sshbase.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type SshResult = Result>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshReader` is never constructed [INFO] [stdout] --> src/sshrw.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SshReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sshrw.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SshReader { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(bytes: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn read_bytes(&mut self, len: u32) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn read_u32(&mut self) -> SshResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn read_string(&mut self) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn read_big_num(&mut self) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn read_left(&mut self) -> SshResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn left_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshWriter` is never constructed [INFO] [stdout] --> src/sshrw.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SshWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_slice`, `write_bytes`, `write_u32`, `write_string`, and `write_big_num` are never used [INFO] [stdout] --> src/sshrw.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SshWriter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn as_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn write_bytes(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn write_u32(&mut self, i: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn write_string(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn write_big_num(&mut self, bn: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshPubicKey` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SshPubicKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SshPubicKeyValue` is never used [INFO] [stdout] --> src/sshpubkey.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum SshPubicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshRsaPublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SshRsaPublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SshEcdsaPublicKeyAlgorithm` is never used [INFO] [stdout] --> src/sshpubkey.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum SshEcdsaPublicKeyAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEcdsaPublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SshEcdsaPublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshEd25519PublicKeyValue` is never constructed [INFO] [stdout] --> src/sshpubkey.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SshEd25519PublicKeyValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/sshpubkey.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl SshPubicKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 36 | pub fn parse(key: &str) -> SshResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshPrivateKey` is never constructed [INFO] [stdout] --> src/sshprivkey.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SshPrivateKey {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshCert` is never constructed [INFO] [stdout] --> src/sshcert.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SshCert {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/sshrw.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ssh_reader = SshReader::new(STANDARD.decode(id_rsa_pub).unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/sshrw.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(id_rsa_pub, STANDARD.encode(ssh_writer.as_slice())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/sshrw.rs:179:50 [INFO] [stdout] | [INFO] [stdout] 179 | let mut ssh_reader = SshReader::new(STANDARD.decode(id_ecdsa_pub).unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/sshrw.rs:202:39 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(id_ecdsa_pub, STANDARD.encode(ssh_writer.as_slice())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/sshrw.rs:217:50 [INFO] [stdout] | [INFO] [stdout] 217 | let mut ssh_reader = SshReader::new(STANDARD.decode(id_ed25519_pub).unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/sshrw.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(id_ed25519_pub, STANDARD.encode(ssh_writer.as_slice())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/sshrw.rs:240:50 [INFO] [stdout] | [INFO] [stdout] 240 | let mut ssh_reader = SshReader::new(STANDARD.decode(id_ed25519).unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/sshpubkey.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse(key: &str) -> SshResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssh-util` (lib test) due to 8 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "358bb19fc7ad59c6b6af46dd0130a2942ffe84c8dd59a986331493e57bdfa9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358bb19fc7ad59c6b6af46dd0130a2942ffe84c8dd59a986331493e57bdfa9a8", kill_on_drop: false }` [INFO] [stdout] 358bb19fc7ad59c6b6af46dd0130a2942ffe84c8dd59a986331493e57bdfa9a8