Skip to content

Dependency Management #64

Dependency Management

Dependency Management #64

Triggered via pull request June 2, 2024 21:02
Status Success
Total duration 1m 38s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

73 warnings
call to `.clone()` on a reference in this situation does nothing: src/package/management.rs#L192
warning: call to `.clone()` on a reference in this situation does nothing --> src/package/management.rs:192:40 | 192 | let include_path = library_path.clone().join(hash.to_string()); | ^^^^^^^^ | = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed help: remove this redundant call | 192 - let include_path = library_path.clone().join(hash.to_string()); 192 + let include_path = library_path.join(hash.to_string()); |
call to `.clone()` on a reference in this situation does nothing: src/package/management.rs#L178
warning: call to `.clone()` on a reference in this situation does nothing --> src/package/management.rs:178:42 | 178 | let temporary_path = library_path.clone().join("temporary"); | ^^^^^^^^ | = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed help: remove this redundant call | 178 - let temporary_path = library_path.clone().join("temporary"); 178 + let temporary_path = library_path.join("temporary"); |
call to `.clone()` on a reference in this situation does nothing: src/package/management.rs#L176
warning: call to `.clone()` on a reference in this situation does nothing --> src/package/management.rs:176:37 | 176 | let library_path = base_path.clone(); //.join("libs"); | ^^^^^^^^ | = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed help: remove this redundant call | 176 - let library_path = base_path.clone(); //.join("libs"); 176 + let library_path = base_path; //.join("libs"); |
call to `.clone()` on a reference in this situation does nothing: src/package/management.rs#L140
warning: call to `.clone()` on a reference in this situation does nothing --> src/package/management.rs:140:44 | 140 | let sub_dependency_path = root_path.clone().join("libraries"); | ^^^^^^^^ | = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default help: remove this redundant call | 140 - let sub_dependency_path = root_path.clone().join("libraries"); 140 + let sub_dependency_path = root_path.join("libraries"); |
the borrowed expression implements the required traits: src/package/target_properties.rs#L106
warning: the borrowed expression implements the required traits --> src/package/target_properties.rs:106:49 | 106 | std::fs::read_to_string(&absolute_path) | ^^^^^^^^^^^^^^ help: change this to: `absolute_path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: src/package/management.rs#L185
warning: the borrowed expression implements the required traits --> src/package/management.rs:185:28 | 185 | fs::create_dir_all(&library_path)?; | ^^^^^^^^^^^^^ help: change this to: `library_path` | = 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
writing `&PathBuf` instead of `&Path` involves a new object where a slice will do: src/package/management.rs#L80
warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do --> src/package/management.rs:80:22 | 80 | target_path: &PathBuf, | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg help: change this to | 80 ~ target_path: &Path, 81 | ) -> anyhow::Result<DependencyManager> { 82 | // create library folder 83 ~ let library_path = target_path.to_path_buf().join(LIBRARY_DIRECTORY); 84 | fs::create_dir_all(&library_path)?; ... 87 | let mut lock: DependencyLock; 88 ~ let lock_file = target_path.to_path_buf().join("../Lingo.lock"); 89 | ... 96 | // integrity of the build directory 97 ~ if let Ok(()) = lock.init(&target_path.to_path_buf().join("lfc_include")) { 98 | return Ok(DependencyManager { ... 122| // moves the selected packages into the include folder 123~ let include_folder = target_path.to_path_buf().join("lfc_include"); |
unneeded `return` statement: src/package/lock.rs#L105
warning: unneeded `return` statement --> src/package/lock.rs:105:9 | 105 | return Ok(i); | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 105 - return Ok(i); 105 + Ok(i) |
writing `&PathBuf` instead of `&Path` involves a new object where a slice will do: src/package/lock.rs#L83
warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do --> src/package/lock.rs:83:22 | 83 | source_path: &PathBuf, | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default help: change this to | 83 ~ source_path: &Path, 84 | target_path: &PathBuf, ... 88 | for (name, lock) in self.package_locations.iter() { 89 ~ let local_source = source_path.to_path_buf().join(lock.hash.clone()); |
unneeded `return` statement: src/package/lock.rs#L96
warning: unneeded `return` statement --> src/package/lock.rs:96:9 | 96 | return Ok(()); | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 96 - return Ok(()); 96 + Ok(()) |
using `print!()` with a format string that ends in a single newline: src/package/lock.rs#L55
warning: using `print!()` with a format string that ends in a single newline --> src/package/lock.rs:55:13 | 55 | / print!( 56 | | "{} reading ... {}\n", 57 | | lock.0.to_string().green().bold(), 58 | | &temp.display() 59 | | ); | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline = note: `#[warn(clippy::print_with_newline)]` on by default help: use `println!` instead | 55 ~ println!( 56 ~ "{} reading ... {}", |
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/backends/mod.rs#L25
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/backends/mod.rs:25:5 | 25 | / match command { 26 | | CommandSpec::Build(build) => { 27 | | let manager = DependencyManager::from_dependencies( 28 | | dependencies.clone(), ... | 44 | | _ => {} 45 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default help: try | 25 ~ if let CommandSpec::Build(build) = command { 26 + let manager = DependencyManager::from_dependencies( 27 + dependencies.clone(), 28 + &PathBuf::from("./target"), 29 + ) 30 + .expect("failed to create dep manager"); 31 + 32 + // enriching the apps with the target properties from the libraries 33 + let library_properties = manager.get_target_properties().expect("lib properties"); 34 + 35 + // merging app with library target properties 36 + for app in &mut config.apps { 37 + if let Err(e) = app.properties.merge(&library_properties) { 38 + error!("cannot merge properties from the libraries with the app."); 39 + return result; 40 + } 41 + } 42 + } |
explicit call to `.into_iter()` in function argument accepting `IntoIterator`: src/backends/mod.rs#L23
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> src/backends/mod.rs:23:39 | 23 | let dependencies = Vec::from_iter(config.dependencies.clone().into_iter()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `config.dependencies.clone()` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/iter/traits/collect.rs:150:21 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
variants `NotCombineableTargetProperties` and `UnmergableTargetProperties` are never constructed: src/util/errors.rs#L21
warning: variants `NotCombineableTargetProperties` and `UnmergableTargetProperties` are never constructed --> src/util/errors.rs:21:5 | 12 | pub enum LingoError { | ---------- variants in this enum ... 21 | NotCombineableTargetProperties(String), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 22 | UnmergableTargetProperties, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `LingoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
function `merge` is never used: src/package/target_properties.rs#L116
warning: function `merge` is never used --> src/package/target_properties.rs:116:4 | 116 | fn merge<T>( | ^^^^^
associated function `new` is never used: src/package/tree.rs#L53
warning: associated function `new` is never used --> src/package/tree.rs:53:19 | 52 | impl DependencyTreeNode { | ----------------------- associated function in this implementation 53 | pub(crate) fn new() -> DependencyTreeNode { | ^^^
associated constant `DEFAULT_MAIN_REACTOR_RELPATH` is never used: src/package/mod.rs#L312
warning: associated constant `DEFAULT_MAIN_REACTOR_RELPATH` is never used --> src/package/mod.rs:312:11 | 310 | impl ConfigFile { | --------------- associated constant in this implementation 311 | // FIXME: The default should be that it searches the `src` directory for a main reactor 312 | const DEFAULT_MAIN_REACTOR_RELPATH: &'static str = "src/Main.lf"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
type `package::management::LocationDescription` is more private than the item `package::management::DependencyManager::flatten`: src/package/management.rs#L235
warning: type `package::management::LocationDescription` is more private than the item `package::management::DependencyManager::flatten` --> src/package/management.rs:235:5 | 235 | / pub fn flatten( 236 | | root_nodes: Vec<DependencyTreeNode>, 237 | | ) -> anyhow::Result<HashMap<String, LocationDescription>> { | |_____________________________________________________________^ associated function `package::management::DependencyManager::flatten` is reachable at visibility `pub` | note: but type `package::management::LocationDescription` is only usable at visibility `pub(crate)` --> src/package/management.rs:25:1 | 25 | pub(crate) struct LocationDescription { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
type `package::management::LocationDescription` is more private than the item `package::lock::DependencyLock::from`: src/package/lock.rs#L26
warning: type `package::management::LocationDescription` is more private than the item `package::lock::DependencyLock::from` --> src/package/lock.rs:26:5 | 26 | / pub fn from( 27 | | mut unlocked_locations: HashMap<String, LocationDescription>, 28 | | loaded_dependencies: Vec<DependencyTreeNode>, 29 | | ) -> DependencyLock { | |_______________________^ associated function `package::lock::DependencyLock::from` is reachable at visibility `pub` | note: but type `package::management::LocationDescription` is only usable at visibility `pub(crate)` --> src/package/management.rs:25:1 | 25 | pub(crate) struct LocationDescription { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default
unused variable: `e`: src/package/mod.rs#L284
warning: unused variable: `e` --> src/package/mod.rs:284:42 | 284 | Versioning::from_str(v).map_err(|e| E::custom("not a valid version {e}")) | ^ ------------------------- you might have meant to use string interpolation in this string literal | | | unused variable | help: string interpolation only works in `format!` invocations | 284 | Versioning::from_str(v).map_err(|e| E::custom(format!("not a valid version {e}"))) | ++++++++ + help: if this is intentional, prefix it with an underscore | 284 | Versioning::from_str(v).map_err(|_e| E::custom("not a valid version {e}")) | ~~
variable does not need to be mutable: src/package/management.rs#L215
warning: variable does not need to be mutable --> src/package/management.rs:215:13 | 215 | let mut dependencies = vec![]; | ----^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
unused variable: `dependencies`: src/backends/mod.rs#L136
warning: unused variable: `dependencies` --> src/backends/mod.rs:136:35 | 136 | fn for_apps(apps: &[&'a App], dependencies: Vec<(String, PackageDetails)>) -> Self { | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies`
unused variable: `e`: src/backends/mod.rs#L38
warning: unused variable: `e` --> src/backends/mod.rs:38:28 | 38 | if let Err(e) = app.properties.merge(&library_properties) { | ^ help: if this is intentional, prefix it with an underscore: `_e`
unused variable: `build`: src/backends/mod.rs#L26
warning: unused variable: `build` --> src/backends/mod.rs:26:28 | 26 | CommandSpec::Build(build) => { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_build` | = note: `#[warn(unused_variables)]` on by default
unused import: `std::hash::Hash`: src/package/tree.rs#L3
warning: unused import: `std::hash::Hash` --> src/package/tree.rs:3:5 | 3 | use std::hash::Hash; | ^^^^^^^^^^^^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed`: src/args.rs#L137
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed` --> src/args.rs:137:25 | 137 | #[clap(short, long, action)] | ^^^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L137
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:137:7 | 137 | #[clap(short, long, action)] | ^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed`: src/args.rs#L133
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed` --> src/args.rs:133:25 | 133 | #[clap(short, long, action)] | ^^^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L133
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:133:7 | 133 | #[clap(short, long, action)] | ^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]`: src/args.rs#L126
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]` --> src/args.rs:126:3 | 126 | #[clap(about = "Build system for the Lingua Franca coordination language", long_about = None)] | ^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]`: src/args.rs#L125
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]` --> src/args.rs:125:3 | 125 | #[clap(version = env!("CARGO_PKG_VERSION"))] | ^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]`: src/args.rs#L124
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]` --> src/args.rs:124:3 | 124 | #[clap(author = "[email protected]")] | ^^^^
use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]`: src/args.rs#L123
warning: use of deprecated function `<args::CommandLineArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[command(...)]` --> src/args.rs:123:3 | 123 | #[clap(name = "Lingua Franca package manager and build tool")] | ^^^^
use of deprecated function `<args::InitArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L86
warning: use of deprecated function `<args::InitArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:86:7 | 86 | #[clap(value_enum, short, long, default_value_t = Platform::Native)] | ^^^^
use of deprecated function `<args::InitArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L84
warning: use of deprecated function `<args::InitArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:84:7 | 84 | #[clap(value_enum, short, long)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L68
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:68:7 | 68 | #[clap(short, long, default_value_t = 0)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L64
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:64:7 | 64 | #[clap(short, long, value_delimiter = ',')] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed`: src/args.rs#L60
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed` --> src/args.rs:60:25 | 60 | #[clap(short, long, action)] | ^^^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L60
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:60:7 | 60 | #[clap(short, long, action)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed`: src/args.rs#L56
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed` --> src/args.rs:56:25 | 56 | #[clap(short, long, action)] | ^^^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L56
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:56:7 | 56 | #[clap(short, long, action)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed`: src/args.rs#L52
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::bare_action`: `#[arg(action)]` is now the default and is no longer needed` --> src/args.rs:52:25 | 52 | #[clap(short, long, action)] | ^^^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L52
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:52:7 | 52 | #[clap(short, long, action)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L48
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:48:7 | 48 | #[clap(long)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L44
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:44:7 | 44 | #[clap(long)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L40
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:40:7 | 40 | #[clap(short, long)] | ^^^^
use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]`: src/args.rs#L36
warning: use of deprecated function `<args::BuildArgs as clap::Args>::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` --> src/args.rs:36:7 | 36 | #[clap(short, long)] | ^^^^
use of deprecated function `<args::TargetLanguage as clap::ValueEnum>::to_possible_value::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[value(...)]`: src/args.rs#L7
warning: use of deprecated function `<args::TargetLanguage as clap::ValueEnum>::to_possible_value::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[value(...)]` --> src/args.rs:7:3 | 7 | #[clap(rename_all = "lowercase")] | ^^^^ | = note: `#[warn(deprecated)]` on by default
unused import: `DeserializeSeed`: src/package/mod.rs#L21
warning: unused import: `DeserializeSeed` --> src/package/mod.rs:21:17 | 21 | use serde::de::{DeserializeSeed, Error, Visitor}; | ^^^^^^^^^^^^^^^
unused import: `Deserializer`: src/package/target_properties.rs#L3
warning: unused import: `Deserializer` --> src/package/target_properties.rs:3:26 | 3 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; | ^^^^^^^^^^^^
unused imports: `DeserializeSeed`, `Error`, `Visitor`: src/package/target_properties.rs#L2
warning: unused imports: `DeserializeSeed`, `Error`, `Visitor` --> src/package/target_properties.rs:2:17 | 2 | use serde::de::{DeserializeSeed, Error, Visitor}; | ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^
unused import: `serde::de::Unexpected::Str`: src/package/target_properties.rs#L1
warning: unused import: `serde::de::Unexpected::Str` --> src/package/target_properties.rs:1:5 | 1 | use serde::de::Unexpected::Str; | ^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `debug`: src/package/management.rs#L14
warning: unused import: `debug` --> src/package/management.rs:14:11 | 14 | use log::{debug, error}; | ^^^^^
unused import: `git2::ErrorCode::HashsumMismatch`: src/package/management.rs#L13
warning: unused import: `git2::ErrorCode::HashsumMismatch` --> src/package/management.rs:13:5 | 13 | use git2::ErrorCode::HashsumMismatch; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `AppTargetProperties`, `GenericTargetProperties`, `MergeTargetProperties`: src/package/management.rs#L5
warning: unused imports: `AppTargetProperties`, `GenericTargetProperties`, `MergeTargetProperties` --> src/package/management.rs:5:5 | 5 | AppTargetProperties, GenericTargetProperties, LibraryTargetProperties, MergeTargetProperties, | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
TypeScript Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CPP Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
LFC Fallback Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/