Skip to content

Remove unused imports. #619

Remove unused imports.

Remove unused imports. #619

Triggered via push March 31, 2024 22:51
Status Failure
Total duration 1m 19s
Artifacts 1

ci.yml

on: push
Matrix: Check build
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 22 warnings
cargo-build: linking with `i686-w64-mingw32-gcc` failed: exit status: 1
error: linking with `i686-w64-mingw32-gcc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/rust/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/rust/bin" VSLANG="1033" "i686-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-Wl,--large-address-aware" "/rust/lib/rustlib/i686-pc-windows-gnu/lib/rsbegin.o" "/tmp/rustccwQaFg/symbols.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.11dzsudrjkgoyhvk.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.11wxgdtswczwb8lg.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.12cpzh6tfl1yj03l.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.16zrcw3qjjy6412j.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.180946xijgdzpwtr.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.18emsknvanszitr8.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1b7jzz4ein235tp8.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1bm7u5lzihfb3zyu.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1bs9lyr9oxq6033o.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1cjfj4hwzbutjwuf.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1cux6x0t5wnflnky.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1dl6s4zqtollkooo.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1eiua6dmbd4li9h7.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1fnas04288icxww8.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1fnw27awbmb36wek.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1i04cbxgf6mgmuni.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1jalonyhat3ulmyu.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1k2ck8rj0ardd68i.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1k89zh7lsw7b8h03.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1kuc5d8cfv3eaow3.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1lgxjjmvwy3zhhi3.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1n5qkoheznwboarv.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1p7tnel8spwx9lyg.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1prz7oiz24ldm73k.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1q2trjzxt42c6wsj.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1q5jwu7fbk3b6oon.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1q6syl64suhaa7q9.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1quqoa9bpuqk3mac.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1r7eomkehwie5xsl.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1se7pbswj8142ple.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1thlvp92he9d7kcd.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1x5f99tuutceogfi.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1xxakyfeailc2qaz.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1zuszy07e82zfvv9.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.1zyv3dpes7a2tewn.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.21iv2wo9i8wxrynq.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.229pqv6e9djmr3k4.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.23e3tf7iam2kiu32.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/zoogcomment-75d74b8962ce02a4.23kbfvyib2nyer
cargo-build: aborting due to 1 previous error; 1 warning emitted
error: aborting due to 1 previous error; 1 warning emitted
cargo-build: linking with `i686-w64-mingw32-gcc` failed: exit status: 1
error: linking with `i686-w64-mingw32-gcc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/rust/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/rust/bin" VSLANG="1033" "i686-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-Wl,--large-address-aware" "/rust/lib/rustlib/i686-pc-windows-gnu/lib/rsbegin.o" "/tmp/rustclLMn5r/symbols.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.13xkl5n3ou57yl4c.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.14qqc34gwqthzb09.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.15f91z8qb7hu5y72.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.17nd3zscvevb7axc.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.19upyr945itt6c24.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1aneupu5mpgqmd7n.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1bg126xn0s0af5jb.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1bwsiuuf196nxcyw.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1cdj2gto8vzv9l69.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1cvmlvfeap5w20nu.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1dh5q4lubew41vmj.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1dvw8fdum5g81zps.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1emiah4mfjsab4wg.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1eveio14p8s7japl.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1gz3s4eu8i81uru7.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1h8683je54196wq3.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1iwleiscmcvgb7ty.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1jlh2n667nfzmu10.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1kzd6wklbnp0279j.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1lu8hq0qe11ip9u0.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1m8cpiu4cs2njfn4.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1mwvwah47h8qxe0v.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1on7b0wj0avu5oxk.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1ot8nthhemxe8ycr.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1rifzmcpzbf4enr5.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1s2n5cce9bvj1an7.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1vyf5q4uz3amnn71.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1w9zvoxmz85mgp8r.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1wyc1dwh8or0xnw5.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1y4cteviw7ra0il8.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.1yxvl4df6gt6spgt.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.20ovbxcnvcgcsijw.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.236pn5a8j9p231je.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.23e591f39xgompdq.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.23lpgqpc87lqmz4v.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.23svgg34qsonyu4q.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.25heofkv46ohcuhe.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.2bzo7l6a9utqkjbc.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.2bzqzh9tt3mzlsoq.rcgu.o" "/target/i686-pc-windows-gnu/debug/deps/opusgain-eb575792c4949a62.2c2yiukkabrl5s85.rcgu.o" "/target/i686-p
cargo-build: aborting due to 1 previous error
error: aborting due to 1 previous error
Check build (i686-pc-windows-gnu, ubuntu-latest)
JsValue(Error: The process '/home/runner/.cargo/bin/cross' failed with exit code 101 Error: The process '/home/runner/.cargo/bin/cross' failed with exit code 101 at ExecState._setResult (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.1/dist/index.js:1:61859) at ExecState.CheckComplete (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.1/dist/index.js:1:61419) at ChildProcess.<anonymous> (/home/runner/work/_actions/FrancisRussell/ferrous-actions/v0.1.0-beta.1/dist/index.js:1:60260) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5))
Check build (x86_64-unknown-linux-musl, ubuntu-latest)
The job was canceled because "i686-pc-windows-gnu_ubunt" failed.
Check build (x86_64-unknown-linux-musl, ubuntu-latest)
The operation was canceled.
Check build (x86_64-pc-windows-gnu, ubuntu-latest)
The job was canceled because "i686-pc-windows-gnu_ubunt" failed.
Check build (x86_64-pc-windows-gnu, ubuntu-latest)
The operation was canceled.
Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, FrancisRussell/ferrous-actions@v0.1.0-beta.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-clippy: the item `TryFrom` is imported redundantly: src/header/fixed_point_gain.rs#L1
warning: the item `TryFrom` is imported redundantly --> src/header/fixed_point_gain.rs:1:5 | 1 | use std::convert::TryFrom; | ^^^^^^^^^^^^^^^^^^^^^ --> /rustc/8df7e723ea729a7f917501cc2d91d640b7021373/library/std/src/prelude/mod.rs:148:13 | = note: the item `TryFrom` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-clippy: 1 warning emitted
warning: 1 warning emitted
cargo-clippy: the item `Into` is imported redundantly: src/bin/zoogcomment.rs#L12
warning: the item `Into` is imported redundantly --> src/bin/zoogcomment.rs:12:5 | 12 | use std::convert::Into; | ^^^^^^^^^^^^^^^^^^ --> /rustc/8df7e723ea729a7f917501cc2d91d640b7021373/library/std/src/prelude/mod.rs:148:13 | = note: the item `Into` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-clippy: this function has too many lines (127/100): src/bin/zoogcomment.rs#L270
warning: this function has too many lines (127/100) --> src/bin/zoogcomment.rs:270:1 | 270 | / fn main_impl() -> Result<(), AppError> { 271 | | let interrupt_checker = CtrlCChecker::new()?; 272 | | let cli = Cli::parse_from(wild::args_os()); 273 | | let operation_mode = match (cli.list, cli.modify, cli.replace) { ... | 411 | | Ok(()) 412 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines note: the lint level is defined here --> src/bin/zoogcomment.rs:1:9 | 1 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::too_many_lines)]` implied by `#[warn(clippy::pedantic)]`
cargo-clippy: item in documentation is missing backticks: src/bin/opusgain.rs#L173
warning: item in documentation is missing backticks --> src/bin/opusgain.rs:173:9 | 173 | /// ReplayGain (normalize to -18 LUFS) | ^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown note: the lint level is defined here --> src/bin/opusgain.rs:1:9 | 1 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]` help: try | 173 | /// `ReplayGain` (normalize to -18 LUFS) | ~~~~~~~~~~~~
cargo-clippy: 2 warnings emitted
warning: 2 warnings emitted
cargo-clippy: 1 warning emitted
warning: 1 warning emitted
Cargo test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, FrancisRussell/ferrous-actions@v0.1.0-beta.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check build (x86_64-apple-darwin, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, FrancisRussell/ferrous-actions@v0.1.0-beta.1, actions/upload-artifact@v3.1.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-build: the item `TryFrom` is imported redundantly: src/header/fixed_point_gain.rs#L1
warning: the item `TryFrom` is imported redundantly --> src/header/fixed_point_gain.rs:1:5 | 1 | use std::convert::TryFrom; | ^^^^^^^^^^^^^^^^^^^^^ --> /rustc/8df7e723ea729a7f917501cc2d91d640b7021373/library/std/src/prelude/mod.rs:148:13 | = note: the item `TryFrom` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-build: 1 warning emitted
warning: 1 warning emitted
cargo-build: the item `Into` is imported redundantly: src/bin/zoogcomment.rs#L12
warning: the item `Into` is imported redundantly --> src/bin/zoogcomment.rs:12:5 | 12 | use std::convert::Into; | ^^^^^^^^^^^^^^^^^^ --> /rustc/8df7e723ea729a7f917501cc2d91d640b7021373/library/std/src/prelude/mod.rs:148:13 | = note: the item `Into` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-build: 1 warning emitted
warning: 1 warning emitted
Check build (i686-pc-windows-gnu, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, FrancisRussell/ferrous-actions@v0.1.0-beta.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-build: the item `TryFrom` is imported redundantly: src/header/fixed_point_gain.rs#L1
warning: the item `TryFrom` is imported redundantly --> src/header/fixed_point_gain.rs:1:5 | 1 | use std::convert::TryFrom; | ^^^^^^^^^^^^^^^^^^^^^ --> /rustc/8df7e723ea729a7f917501cc2d91d640b7021373\library\std\src\prelude\mod.rs:148:13 | = note: the item `TryFrom` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-build: 1 warning emitted
warning: 1 warning emitted
cargo-build: the item `Into` is imported redundantly: src/bin/zoogcomment.rs#L12
warning: the item `Into` is imported redundantly --> src/bin/zoogcomment.rs:12:5 | 12 | use std::convert::Into; | ^^^^^^^^^^^^^^^^^^ --> /rustc/8df7e723ea729a7f917501cc2d91d640b7021373\library\std\src\prelude\mod.rs:148:13 | = note: the item `Into` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-build: the item `TryFrom` is imported redundantly: src/header/fixed_point_gain.rs#L1
warning: the item `TryFrom` is imported redundantly --> src/header/fixed_point_gain.rs:1:5 | 1 | use std::convert::TryFrom; | ^^^^^^^^^^^^^^^^^^^^^ | ::: /rust/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:148:13 | 148 | pub use core::prelude::rust_2021::*; | ------------------------ the item `TryFrom` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-build: 1 warning emitted
warning: 1 warning emitted
cargo-build: the item `Into` is imported redundantly: src/bin/zoogcomment.rs#L12
warning: the item `Into` is imported redundantly --> src/bin/zoogcomment.rs:12:5 | 12 | use std::convert::Into; | ^^^^^^^^^^^^^^^^^^ | ::: /rust/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:148:13 | 148 | pub use core::prelude::rust_2021::*; | ------------------------ the item `Into` is already defined here | = note: `#[warn(unused_imports)]` on by default
cargo-build: 1 warning emitted
warning: 1 warning emitted

Artifacts

Produced during runtime
Name Size
zoog-debug-x86_64-apple-darwin Expired
11.2 MB