Finish apply_dist()
#7778
web.yml
on: pull_request
Build and deploy site and docs
32s
Annotations
82 errors
returning the result of a `let` binding from a block:
cargo-dist/src/init/apply_dist/installers.rs#L322
error: returning the result of a `let` binding from a block
--> cargo-dist/src/init/apply_dist/installers.rs:322:9
|
321 | let doc = src.deserialize_toml_edit().into_diagnostic().unwrap();
| ----------------------------------------------------------------- unnecessary `let` binding
322 | doc
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
help: return the expression directly
|
321 ~
322 ~ src.deserialize_toml_edit().into_diagnostic().unwrap()
|
|
returning the result of a `let` binding from a block:
cargo-dist/src/init/apply_dist/ci.rs#L190
error: returning the result of a `let` binding from a block
--> cargo-dist/src/init/apply_dist/ci.rs:190:9
|
189 | let doc = src.deserialize_toml_edit().into_diagnostic().unwrap();
| ----------------------------------------------------------------- unnecessary `let` binding
190 | doc
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
help: return the expression directly
|
189 ~
190 ~ src.deserialize_toml_edit().into_diagnostic().unwrap()
|
|
returning the result of a `let` binding from a block:
cargo-dist/src/init/apply_dist/artifacts.rs#L108
error: returning the result of a `let` binding from a block
--> cargo-dist/src/init/apply_dist/artifacts.rs:108:9
|
107 | let doc = src.deserialize_toml_edit().into_diagnostic().unwrap();
| ----------------------------------------------------------------- unnecessary `let` binding
108 | doc
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `-D clippy::let-and-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::let_and_return)]`
help: return the expression directly
|
107 ~
108 ~ src.deserialize_toml_edit().into_diagnostic().unwrap()
|
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L6
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:6:8
|
6 | pub fn apply(
| ^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/publishers.rs#L6
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/publishers.rs:6:8
|
6 | pub fn apply(table: &mut toml_edit::Table, publishers: &Option<PublisherLayer>) {
| ^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/hosts.rs#L6
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/hosts.rs:6:8
|
6 | pub fn apply(table: &mut toml_edit::Table, hosts: &Option<HostLayer>) {
| ^^^^^
|
function `apply_optional_min_glibc_version` is never used:
cargo-dist/src/init/apply_dist/helpers.rs#L80
error: function `apply_optional_min_glibc_version` is never used
--> cargo-dist/src/init/apply_dist/helpers.rs:80:8
|
80 | pub fn apply_optional_min_glibc_version(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_cargo_builds` is never used:
cargo-dist/src/init/apply_dist/builds.rs#L60
error: function `apply_cargo_builds` is never used
--> cargo-dist/src/init/apply_dist/builds.rs:60:4
|
60 | fn apply_cargo_builds(builds_table: &mut toml_edit::Table, builds: &BuildLayer) {
| ^^^^^^^^^^^^^^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/builds.rs#L7
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/builds.rs:7:8
|
7 | pub fn apply(table: &mut toml_edit::Table, builds: &Option<BuildLayer>) {
| ^^^^^
|
function `apply_default_install_path` is never used:
cargo-dist/src/init/apply_dist/mod.rs#L236
error: function `apply_default_install_path` is never used
--> cargo-dist/src/init/apply_dist/mod.rs:236:4
|
236 | fn apply_default_install_path(installers: &Option<InstallerLayer>) -> InstallerLayer {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_dist_to_metadata` is never used:
cargo-dist/src/init/apply_dist/mod.rs#L26
error: function `apply_dist_to_metadata` is never used
--> cargo-dist/src/init/apply_dist/mod.rs:26:8
|
26 | pub fn apply_dist_to_metadata(metadata: &mut toml_edit::Item, meta: &TomlLayer) {
| ^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_dist_to_workspace_toml` is never used:
cargo-dist/src/init/apply_dist/mod.rs#L20
error: function `apply_dist_to_workspace_toml` is never used
--> cargo-dist/src/init/apply_dist/mod.rs:20:8
|
20 | pub fn apply_dist_to_workspace_toml(workspace_toml: &mut toml_edit::DocumentMut, meta: &TomlLayer) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L6
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:6:8
|
6 | pub fn apply(
| ^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/publishers.rs#L6
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/publishers.rs:6:8
|
6 | pub fn apply(table: &mut toml_edit::Table, publishers: &Option<PublisherLayer>) {
| ^^^^^
|
function `apply_installers_pkg` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L281
error: function `apply_installers_pkg` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:281:4
|
281 | fn apply_installers_pkg(installers_table: &mut toml_edit::Table, pkg: &PkgInstallerLayer) {
| ^^^^^^^^^^^^^^^^^^^^
|
function `apply_installers_shell` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L266
error: function `apply_installers_shell` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:266:4
|
266 | fn apply_installers_shell(installers_table: &mut toml_edit::Table, shell: &ShellInstallerLayer) {
| ^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_installers_powershell` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L248
error: function `apply_installers_powershell` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:248:4
|
248 | fn apply_installers_powershell(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_installers_npm` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L220
error: function `apply_installers_npm` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:220:4
|
220 | fn apply_installers_npm(installers_table: &mut toml_edit::Table, npm: &NpmInstallerLayer) {
| ^^^^^^^^^^^^^^^^^^^^
|
function `apply_installers_msi` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L204
error: function `apply_installers_msi` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:204:4
|
204 | fn apply_installers_msi(installers_table: &mut toml_edit::Table, msi: &MsiInstallerLayer) {
| ^^^^^^^^^^^^^^^^^^^^
|
function `apply_installers_homebrew` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L172
error: function `apply_installers_homebrew` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:172:4
|
172 | fn apply_installers_homebrew(
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_installers_common` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L141
error: function `apply_installers_common` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:141:4
|
141 | fn apply_installers_common(table: &mut toml_edit::Table, common: &CommonInstallerLayer) {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/installers.rs#L11
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/installers.rs:11:8
|
11 | pub fn apply(table: &mut toml_edit::Table, installers: &Option<InstallerLayer>) {
| ^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/hosts.rs#L6
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/hosts.rs:6:8
|
6 | pub fn apply(table: &mut toml_edit::Table, hosts: &Option<HostLayer>) {
| ^^^^^
|
function `apply_optional_min_glibc_version` is never used:
cargo-dist/src/init/apply_dist/helpers.rs#L80
error: function `apply_optional_min_glibc_version` is never used
--> cargo-dist/src/init/apply_dist/helpers.rs:80:8
|
80 | pub fn apply_optional_min_glibc_version(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_string_or_list` is never used:
cargo-dist/src/init/apply_dist/helpers.rs#L62
error: function `apply_string_or_list` is never used
--> cargo-dist/src/init/apply_dist/helpers.rs:62:8
|
62 | pub fn apply_string_or_list<I>(table: &mut toml_edit::Table, key: &str, desc: &str, list: Option<I>)
| ^^^^^^^^^^^^^^^^^^^^
|
function `apply_string_list` is never used:
cargo-dist/src/init/apply_dist/helpers.rs#L41
error: function `apply_string_list` is never used
--> cargo-dist/src/init/apply_dist/helpers.rs:41:8
|
41 | pub fn apply_string_list<I>(table: &mut toml_edit::Table, key: &str, desc: &str, list: Option<I>)
| ^^^^^^^^^^^^^^^^^
|
function `apply_optional_value` is never used:
cargo-dist/src/init/apply_dist/helpers.rs#L26
error: function `apply_optional_value` is never used
--> cargo-dist/src/init/apply_dist/helpers.rs:26:8
|
26 | pub fn apply_optional_value<I>(table: &mut toml_edit::Table, key: &str, desc: &str, val: Option<I>)
| ^^^^^^^^^^^^^^^^^^^^
|
function `skip_string_list` is never used:
cargo-dist/src/init/apply_dist/helpers.rs#L14
error: function `skip_string_list` is never used
--> cargo-dist/src/init/apply_dist/helpers.rs:14:8
|
14 | pub fn skip_string_list<I>(_table: &mut toml_edit::Table, key: &str, desc: &str, _list: Option<I>) {
| ^^^^^^^^^^^^^^^^
|
function `skip_optional_value` is never used:
cargo-dist/src/init/apply_dist/helpers.rs#L5
error: function `skip_optional_value` is never used
--> cargo-dist/src/init/apply_dist/helpers.rs:5:8
|
5 | pub fn skip_optional_value<I>(
| ^^^^^^^^^^^^^^^^^^^
|
function `apply_ci_common` is never used:
cargo-dist/src/init/apply_dist/ci.rs#L81
error: function `apply_ci_common` is never used
--> cargo-dist/src/init/apply_dist/ci.rs:81:4
|
81 | fn apply_ci_common(table: &mut toml_edit::Table, common: &CommonCiLayer) {
| ^^^^^^^^^^^^^^^
|
function `apply_ci_github` is never used:
cargo-dist/src/init/apply_dist/ci.rs#L42
error: function `apply_ci_github` is never used
--> cargo-dist/src/init/apply_dist/ci.rs:42:4
|
42 | fn apply_ci_github(ci_table: &mut toml_edit::Table, github: &GithubCiLayer) {
| ^^^^^^^^^^^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/ci.rs#L7
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/ci.rs:7:8
|
7 | pub fn apply(table: &mut toml_edit::Table, ci: &Option<CiLayer>) {
| ^^^^^
|
function `apply_cargo_builds` is never used:
cargo-dist/src/init/apply_dist/builds.rs#L60
error: function `apply_cargo_builds` is never used
--> cargo-dist/src/init/apply_dist/builds.rs:60:4
|
60 | fn apply_cargo_builds(builds_table: &mut toml_edit::Table, builds: &BuildLayer) {
| ^^^^^^^^^^^^^^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/builds.rs#L7
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/builds.rs:7:8
|
7 | pub fn apply(table: &mut toml_edit::Table, builds: &Option<BuildLayer>) {
| ^^^^^
|
function `apply_artifacts_archives` is never used:
cargo-dist/src/init/apply_dist/artifacts.rs#L47
error: function `apply_artifacts_archives` is never used
--> cargo-dist/src/init/apply_dist/artifacts.rs:47:4
|
47 | fn apply_artifacts_archives(
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply` is never used:
cargo-dist/src/init/apply_dist/artifacts.rs#L7
error: function `apply` is never used
--> cargo-dist/src/init/apply_dist/artifacts.rs:7:8
|
7 | pub fn apply(table: &mut toml_edit::Table, artifacts: &Option<ArtifactLayer>) {
| ^^^^^
|
function `apply_default_install_path` is never used:
cargo-dist/src/init/apply_dist/mod.rs#L236
error: function `apply_default_install_path` is never used
--> cargo-dist/src/init/apply_dist/mod.rs:236:4
|
236 | fn apply_default_install_path(installers: &Option<InstallerLayer>) -> InstallerLayer {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_dist_to_metadata` is never used:
cargo-dist/src/init/apply_dist/mod.rs#L26
error: function `apply_dist_to_metadata` is never used
--> cargo-dist/src/init/apply_dist/mod.rs:26:8
|
26 | pub fn apply_dist_to_metadata(metadata: &mut toml_edit::Item, meta: &TomlLayer) {
| ^^^^^^^^^^^^^^^^^^^^^^
|
function `apply_dist_to_workspace_toml` is never used:
cargo-dist/src/init/apply_dist/mod.rs#L20
error: function `apply_dist_to_workspace_toml` is never used
--> cargo-dist/src/init/apply_dist/mod.rs:20:8
|
20 | pub fn apply_dist_to_workspace_toml(workspace_toml: &mut toml_edit::DocumentMut, meta: &TomlLayer) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
unused variable: `builds_table`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L7
error: unused variable: `builds_table`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:7:5
|
7 | builds_table: &mut toml_edit::Table,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builds_table`
|
unused variable: `system_dependencies`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L10
error: unused variable: `system_dependencies`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:10:14
|
10 | let Some(system_dependencies) = system_dependencies else {
| ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_dependencies`
|
unused variable: `publishers`:
cargo-dist/src/init/apply_dist/publishers.rs#L6
error: unused variable: `publishers`
--> cargo-dist/src/init/apply_dist/publishers.rs:6:44
|
6 | pub fn apply(table: &mut toml_edit::Table, publishers: &Option<PublisherLayer>) {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publishers`
|
unused variable: `hosts`:
cargo-dist/src/init/apply_dist/hosts.rs#L6
error: unused variable: `hosts`
--> cargo-dist/src/init/apply_dist/hosts.rs:6:44
|
6 | pub fn apply(table: &mut toml_edit::Table, hosts: &Option<HostLayer>) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
|
unused variable: `desc`:
cargo-dist/src/init/apply_dist/helpers.rs#L14
error: unused variable: `desc`
--> cargo-dist/src/init/apply_dist/helpers.rs:14:70
|
14 | pub fn skip_string_list<I>(_table: &mut toml_edit::Table, key: &str, desc: &str, _list: Option<I>) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_desc`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
unused variable: `builds_table`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L7
error: unused variable: `builds_table`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:7:5
|
7 | builds_table: &mut toml_edit::Table,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builds_table`
|
unused variable: `system_dependencies`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L10
error: unused variable: `system_dependencies`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:10:14
|
10 | let Some(system_dependencies) = system_dependencies else {
| ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_dependencies`
|
unused variable: `publishers`:
cargo-dist/src/init/apply_dist/publishers.rs#L6
error: unused variable: `publishers`
--> cargo-dist/src/init/apply_dist/publishers.rs:6:44
|
6 | pub fn apply(table: &mut toml_edit::Table, publishers: &Option<PublisherLayer>) {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publishers`
|
unused variable: `hosts`:
cargo-dist/src/init/apply_dist/hosts.rs#L6
error: unused variable: `hosts`
--> cargo-dist/src/init/apply_dist/hosts.rs:6:44
|
6 | pub fn apply(table: &mut toml_edit::Table, hosts: &Option<HostLayer>) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
|
unused variable: `desc`:
cargo-dist/src/init/apply_dist/helpers.rs#L14
error: unused variable: `desc`
--> cargo-dist/src/init/apply_dist/helpers.rs:14:70
|
14 | pub fn skip_string_list<I>(_table: &mut toml_edit::Table, key: &str, desc: &str, _list: Option<I>) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_desc`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L2
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:2:32
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `super::helpers::*`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L1
error: unused import: `super::helpers::*`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:1:5
|
1 | use super::helpers::*;
| ^^^^^^^^^^^^^^^^^
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/publishers.rs#L2
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/publishers.rs:2:32
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `super::helpers::*`:
cargo-dist/src/init/apply_dist/publishers.rs#L1
error: unused import: `super::helpers::*`
--> cargo-dist/src/init/apply_dist/publishers.rs:1:5
|
1 | use super::helpers::*;
| ^^^^^^^^^^^^^^^^^
|
unused import: `assert_ne`:
cargo-dist/src/init/apply_dist/installers.rs#L317
error: unused import: `assert_ne`
--> cargo-dist/src/init/apply_dist/installers.rs:317:40
|
317 | use pretty_assertions::{assert_eq, assert_ne};
| ^^^^^^^^^
|
unused imports: `ChecksumStyle`, `CompressionImpl`, `ZipStyle`:
cargo-dist/src/init/apply_dist/installers.rs#L315
error: unused imports: `ChecksumStyle`, `CompressionImpl`, `ZipStyle`
--> cargo-dist/src/init/apply_dist/installers.rs:315:17
|
315 | use crate::{ChecksumStyle, CompressionImpl, ZipStyle};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^
|
unused import: `DocumentMut`:
cargo-dist/src/init/apply_dist/installers.rs#L3
error: unused import: `DocumentMut`
--> cargo-dist/src/init/apply_dist/installers.rs:3:33
|
3 | use axoasset::toml_edit::{self, DocumentMut, Item, Table};
| ^^^^^^^^^^^
|
unused import: `BoolOrOptExt`:
cargo-dist/src/init/apply_dist/installers.rs#L2
error: unused import: `BoolOrOptExt`
--> cargo-dist/src/init/apply_dist/installers.rs:2:40
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^^^^^^^
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/hosts.rs#L3
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/hosts.rs:3:32
|
3 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `super::helpers::*`:
cargo-dist/src/init/apply_dist/hosts.rs#L1
error: unused import: `super::helpers::*`
--> cargo-dist/src/init/apply_dist/hosts.rs:1:5
|
1 | use super::helpers::*;
| ^^^^^^^^^^^^^^^^^
|
unused import: `crate::config::JobStyle`:
cargo-dist/src/init/apply_dist/ci.rs#L184
error: unused import: `crate::config::JobStyle`
--> cargo-dist/src/init/apply_dist/ci.rs:184:9
|
184 | use crate::config::JobStyle;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `DocumentMut`:
cargo-dist/src/init/apply_dist/ci.rs#L5
error: unused import: `DocumentMut`
--> cargo-dist/src/init/apply_dist/ci.rs:5:33
|
5 | use axoasset::toml_edit::{self, DocumentMut, Item, Table};
| ^^^^^^^^^^^
|
unused import: `BoolOrOptExt`:
cargo-dist/src/init/apply_dist/ci.rs#L4
error: unused import: `BoolOrOptExt`
--> cargo-dist/src/init/apply_dist/ci.rs:4:40
|
4 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^^^^^^^
|
unused import: `BoolOrOptExt`:
cargo-dist/src/init/apply_dist/builds.rs#L4
error: unused import: `BoolOrOptExt`
--> cargo-dist/src/init/apply_dist/builds.rs:4:40
|
4 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^^^^^^^
|
unused import: `assert_ne`:
cargo-dist/src/init/apply_dist/artifacts.rs#L103
error: unused import: `assert_ne`
--> cargo-dist/src/init/apply_dist/artifacts.rs:103:40
|
103 | use pretty_assertions::{assert_eq, assert_ne};
| ^^^^^^^^^
|
unused import: `DocumentMut`:
cargo-dist/src/init/apply_dist/artifacts.rs#L101
error: unused import: `DocumentMut`
--> cargo-dist/src/init/apply_dist/artifacts.rs:101:37
|
101 | use axoasset::toml_edit::{self, DocumentMut, Item, Table};
| ^^^^^^^^^^^
|
unused import: `DocumentMut`:
cargo-dist/src/init/apply_dist/artifacts.rs#L5
error: unused import: `DocumentMut`
--> cargo-dist/src/init/apply_dist/artifacts.rs:5:33
|
5 | use axoasset::toml_edit::{self, DocumentMut, Item, Table};
| ^^^^^^^^^^^
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/artifacts.rs#L4
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/artifacts.rs:4:32
|
4 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `BoolOr`:
cargo-dist/src/init/apply_dist/mod.rs#L2
error: unused import: `BoolOr`
--> cargo-dist/src/init/apply_dist/mod.rs:2:32
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L2
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:2:32
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `super::helpers::*`:
cargo-dist/src/init/apply_dist/system_dependencies.rs#L1
error: unused import: `super::helpers::*`
--> cargo-dist/src/init/apply_dist/system_dependencies.rs:1:5
|
1 | use super::helpers::*;
| ^^^^^^^^^^^^^^^^^
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/publishers.rs#L2
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/publishers.rs:2:32
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `super::helpers::*`:
cargo-dist/src/init/apply_dist/publishers.rs#L1
error: unused import: `super::helpers::*`
--> cargo-dist/src/init/apply_dist/publishers.rs:1:5
|
1 | use super::helpers::*;
| ^^^^^^^^^^^^^^^^^
|
unused import: `DocumentMut`:
cargo-dist/src/init/apply_dist/installers.rs#L3
error: unused import: `DocumentMut`
--> cargo-dist/src/init/apply_dist/installers.rs:3:33
|
3 | use axoasset::toml_edit::{self, DocumentMut, Item, Table};
| ^^^^^^^^^^^
|
unused import: `BoolOrOptExt`:
cargo-dist/src/init/apply_dist/installers.rs#L2
error: unused import: `BoolOrOptExt`
--> cargo-dist/src/init/apply_dist/installers.rs:2:40
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^^^^^^^
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/hosts.rs#L3
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/hosts.rs:3:32
|
3 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `super::helpers::*`:
cargo-dist/src/init/apply_dist/hosts.rs#L1
error: unused import: `super::helpers::*`
--> cargo-dist/src/init/apply_dist/hosts.rs:1:5
|
1 | use super::helpers::*;
| ^^^^^^^^^^^^^^^^^
|
unused import: `DocumentMut`:
cargo-dist/src/init/apply_dist/ci.rs#L5
error: unused import: `DocumentMut`
--> cargo-dist/src/init/apply_dist/ci.rs:5:33
|
5 | use axoasset::toml_edit::{self, DocumentMut, Item, Table};
| ^^^^^^^^^^^
|
unused import: `BoolOrOptExt`:
cargo-dist/src/init/apply_dist/ci.rs#L4
error: unused import: `BoolOrOptExt`
--> cargo-dist/src/init/apply_dist/ci.rs:4:40
|
4 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^^^^^^^
|
unused import: `BoolOrOptExt`:
cargo-dist/src/init/apply_dist/builds.rs#L4
error: unused import: `BoolOrOptExt`
--> cargo-dist/src/init/apply_dist/builds.rs:4:40
|
4 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^^^^^^^
|
unused import: `DocumentMut`:
cargo-dist/src/init/apply_dist/artifacts.rs#L5
error: unused import: `DocumentMut`
--> cargo-dist/src/init/apply_dist/artifacts.rs:5:33
|
5 | use axoasset::toml_edit::{self, DocumentMut, Item, Table};
| ^^^^^^^^^^^
|
unused imports: `BoolOrOptExt`, `BoolOr`:
cargo-dist/src/init/apply_dist/artifacts.rs#L4
error: unused imports: `BoolOrOptExt`, `BoolOr`
--> cargo-dist/src/init/apply_dist/artifacts.rs:4:32
|
4 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^ ^^^^^^^^^^^^
|
unused import: `BoolOr`:
cargo-dist/src/init/apply_dist/mod.rs#L2
error: unused import: `BoolOr`
--> cargo-dist/src/init/apply_dist/mod.rs:2:32
|
2 | use crate::config::v1::layer::{BoolOr, BoolOrOptExt};
| ^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|