Skip to content

Simplify fallback example #167

Simplify fallback example

Simplify fallback example #167

Triggered via push February 2, 2025 19:28
Status Cancelled
Total duration 3m 27s
Artifacts 8

rust.yml

on: push
Matrix: CD
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
CD (x86_64-apple-darwin - macos-12)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
CD (x86_64-apple-darwin - macos-12)
GitHub Actions has encountered an internal error when running your job.
the borrowed expression implements the required traits: tests/cli.rs#L43
warning: the borrowed expression implements the required traits --> tests/cli.rs:43:19 | 43 | sudo.args(&["-n", "-E"]).arg(cmd.get_program()).args(cmd.get_args()); | ^^^^^^^^^^^^^ help: change this to: `["-n", "-E"]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
use of `unwrap_or_else` to construct default value: src/lib.rs#L1067
warning: use of `unwrap_or_else` to construct default value --> src/lib.rs:1067:67 | 1067 | let user_suffix = user_id().map(|id| format!("-u{}", id)).unwrap_or_else(String::new); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
use of `unwrap_or_else` to construct default value: src/lib.rs#L1067
warning: use of `unwrap_or_else` to construct default value --> src/lib.rs:1067:67 | 1067 | let user_suffix = user_id().map(|id| format!("-u{}", id)).unwrap_or_else(String::new); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default

Artifacts

Produced during runtime
Name Size Digest
bkt.v0.8.2.aarch64-apple-darwin Expired
579 KB
sha256:3c745fc1d200ff0731594692c3000fd6c8e0627cd1dc14691366cc4db905a312
bkt.v0.8.2.aarch64-unknown-linux-gnu Expired
622 KB
sha256:5d8d2b3894a217126250debdbefbff7f132f4093ec7e89ae3148dba37d1fea89
bkt.v0.8.2.arm-unknown-linux-gnueabihf Expired
634 KB
sha256:9b13652fbbc6a2df6b88a7a0c867881a285f82add7b0aa94917c13fbde50b460
bkt.v0.8.2.i686-unknown-linux-gnu Expired
678 KB
sha256:fb5e5652e91724b3c37841904165f42dc5acaa502434e2802f9842e08d6cd935
bkt.v0.8.2.i686-unknown-linux-musl Expired
707 KB
sha256:04243ca39867b846b2a0572dabd43d3b311322103e29aa5ec9fb71eb4502f894
bkt.v0.8.2.x86_64-pc-windows-msvc Expired
463 KB
sha256:1487dfb1ca2cf5d73fc710e9b7c01804c332ce2a432d2b91021a53f92c3c1a20
bkt.v0.8.2.x86_64-unknown-linux-gnu Expired
629 KB
sha256:ece4dd947901ca4c19401932a5f8bcbeab30c821c9b6554f373037409071b8ae
bkt.v0.8.2.x86_64-unknown-linux-musl Expired
689 KB
sha256:bfc7a0283f78dd6622cd1c627c31cf42e83e427769a19abc258e8d1247c018e3