resolve build failures
Some checks failed
Build and Deploy to K3s / test (push) Failing after 11s
Build and Deploy to K3s / lint (push) Has been skipped
Build and Deploy to K3s / build-and-push (push) Has been skipped
Build and Deploy to K3s / deploy (push) Has been skipped

https://gt.wittyoneoff.com/jason/socktop-webterm/actions/runs/30
Removed `use std::convert::TryFrom` — redundant in Rust 2021 edition (belt-and-suspenders cleanup)
Removed `use std::convert::TryFrom` — redundant in Rust 2021 edition (belt-and-suspenders cleanup)
This commit is contained in:
jasonwitty 2026-05-18 16:22:41 -07:00
parent 828bc39229
commit 7e5a246269
3 changed files with 5 additions and 3 deletions

View File

@ -21,6 +21,8 @@ jobs:
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- name: Run tests
run: cargo test --all-targets --all-features
@ -36,6 +38,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
cache: false
- name: Cargo fmt
run: cargo fmt --all -- --check

View File

@ -4,7 +4,7 @@
# ============================================================================
# Stage 1: Documentation Builder
# ============================================================================
FROM rust:1.91-slim-bookworm AS docs-builder
FROM rust:1.95-slim-bookworm AS docs-builder
WORKDIR /build
@ -36,7 +36,7 @@ RUN cd docs && \
# ============================================================================
# Stage 2: Rust Builder
# ============================================================================
FROM rust:1.91-slim-bookworm AS rust-builder
FROM rust:1.95-slim-bookworm AS rust-builder
WORKDIR /build

View File

@ -3,7 +3,6 @@ use log::error;
use libc::c_ushort;
use std::convert::TryFrom;
use std::fmt;
use serde::ser::SerializeSeq;