Skip to content

Prefer apt-get vs apt for Debian docker image #5318

Prefer apt-get vs apt for Debian docker image

Prefer apt-get vs apt for Debian docker image #5318

Triggered via push January 3, 2025 23:22
Status Success
Total duration 23m 9s
Artifacts

CI.yaml

on: push
`cargo deny`
40s
`cargo deny`
Report Missing Dependencies
41s
Report Missing Dependencies
Nix Build
22m 58s
Nix Build
Matrix: ci
Matrix: Clippy!
Matrix: hadolint
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 16 warnings
Hadolint [./distribution/charted/docker/debian.Dockerfile]: distribution/charted/docker/debian.Dockerfile#L20
DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Hadolint [./distribution/charted/docker/debian.Dockerfile]: distribution/charted/docker/debian.Dockerfile#L43
DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Hadolint [./distribution/charted/docker/debian.Dockerfile]: distribution/charted/docker/debian.Dockerfile#L43
DL3015 info: Avoid additional packages by specifying `--no-install-recommends`
Hadolint [./distribution/charted/docker/debian.Dockerfile]: distribution/charted/docker/debian.Dockerfile#L43
DL3009 info: Delete the apt-get lists after installing something
Hadolint [./distribution/helm-plugin/docker/Dockerfile]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Hadolint [./distribution/charted/docker/alpine.Dockerfile]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Hadolint [./distribution/charted/docker/debian.Dockerfile]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
`cargo deny`
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Report Missing Dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
/home/runner/work/charted/charted/crates/core/src/lib.rs#L87
the following explicit lifetimes could be elided: 'de
/home/runner/work/charted/charted/crates/server/src/lib.rs#L16
the feature `entry_insert` has been stable since 1.83.0 and no longer requires an attribute to enable
/home/runner/work/charted/charted/crates/server/src/lib.rs#L74
this `map_or` can be simplified
/home/runner/work/charted/charted/crates/helm-plugin/src/lib.rs#L81
the following explicit lifetimes could be elided: 'de
Clippy! (nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
the following explicit lifetimes could be elided: 'de: crates/core/src/lib.rs#L87
warning: the following explicit lifetimes could be elided: 'de --> crates/core/src/serde/duration.rs:87:14 | 87 | impl<'de> serde::de::Visitor<'de> for Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 87 - impl<'de> serde::de::Visitor<'de> for Visitor { 87 + impl serde::de::Visitor<'_> for Visitor { |
the feature `entry_insert` has been stable since 1.83.0 and no longer requires an attribute to enable: crates/server/src/lib.rs#L16
warning: the feature `entry_insert` has been stable since 1.83.0 and no longer requires an attribute to enable --> crates/server/src/lib.rs:16:36 | 16 | #![feature(never_type, decl_macro, entry_insert)] | ^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
this `map_or` can be simplified: crates/server/src/lib.rs#L74
warning: this `map_or` can be simplified --> crates/server/src/extract/json.rs:74:75 | 74 | mime.type_() == "application" && (mime.subtype() == "json" || mime.suffix().map_or(false, |n| n == "json")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `mime.suffix().is_some_and(|n| n == "json")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or = note: `#[warn(clippy::unnecessary_map_or)]` on by default
the following explicit lifetimes could be elided: 'de: crates/helm-plugin/src/lib.rs#L81
warning: the following explicit lifetimes could be elided: 'de --> crates/helm-plugin/src/config/repository.rs:81:14 | 81 | impl<'de> de::Visitor<'de> for Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 81 - impl<'de> de::Visitor<'de> for Visitor { 81 + impl de::Visitor<'_> for Visitor { |
Rust CI (Linux (x86_64), Rust nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Nix Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636