sc-meta - dependency refactor, full support for referencing the framework by git commit #245
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (9)
framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs|58 col 50| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs:58:50
|
58 | *path = change_from_base_to_adapter_path(&path);
| ^^^^^ help: change this to: path
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|417 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:417:13
|
417 | DependencyReference::Version(VersionReq::from_version_str("1.2.30")),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|433 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:433:13
|
433 | DependencyReference::Version(VersionReq::from_version_str("1.2.31").strict()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|447 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:447:13
|
447 | DependencyReference::Version(VersionReq::from_version_str("4.5.60")),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|463 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:463:13
|
463 | DependencyReference::Version(VersionReq::from_version_str("4.5.61").strict()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|478 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:478:13
|
478 | DependencyReference::GitCommit(GitCommitReference {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|496 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:496:13
|
496 | DependencyReference::GitCommit(GitCommitReference {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|513 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:513:13
|
513 | DependencyReference::Path("a/b/c".to_owned()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs|527 col 13| error[E0433]: failed to resolve: use of undeclared type DependencyReference
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:527:13
|
527 | DependencyReference::Path("d/e/f".to_owned()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type DependencyReference
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Filtered Findings (0)
Annotations
Check warning on line 58 in framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs
github-actions / clippy
[clippy] framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs#L58
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs:58:50
|
58 | *path = change_from_base_to_adapter_path(&path);
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw output
framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs:58:50:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs:58:50
|
58 | *path = change_from_base_to_adapter_path(&path);
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__
Check failure on line 417 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L417
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:417:13
|
417 | DependencyReference::Version(VersionReq::from_version_str("1.2.30")),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:417:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:417:13
|
417 | DependencyReference::Version(VersionReq::from_version_str("1.2.30")),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__
Check failure on line 433 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L433
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:433:13
|
433 | DependencyReference::Version(VersionReq::from_version_str("1.2.31").strict()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:433:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:433:13
|
433 | DependencyReference::Version(VersionReq::from_version_str("1.2.31").strict()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__
Check failure on line 447 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L447
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:447:13
|
447 | DependencyReference::Version(VersionReq::from_version_str("4.5.60")),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:447:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:447:13
|
447 | DependencyReference::Version(VersionReq::from_version_str("4.5.60")),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__
Check failure on line 463 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L463
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:463:13
|
463 | DependencyReference::Version(VersionReq::from_version_str("4.5.61").strict()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:463:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:463:13
|
463 | DependencyReference::Version(VersionReq::from_version_str("4.5.61").strict()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__
Check failure on line 478 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L478
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:478:13
|
478 | DependencyReference::GitCommit(GitCommitReference {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:478:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:478:13
|
478 | DependencyReference::GitCommit(GitCommitReference {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__
Check failure on line 496 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L496
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:496:13
|
496 | DependencyReference::GitCommit(GitCommitReference {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:496:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:496:13
|
496 | DependencyReference::GitCommit(GitCommitReference {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__
Check failure on line 513 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L513
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:513:13
|
513 | DependencyReference::Path("a/b/c".to_owned()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:513:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:513:13
|
513 | DependencyReference::Path("a/b/c".to_owned()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__
Check failure on line 527 in framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs
github-actions / clippy
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L527
error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:527:13
|
527 | DependencyReference::Path("d/e/f".to_owned()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
Raw output
framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:527:13:e:error[E0433]: failed to resolve: use of undeclared type `DependencyReference`
--> framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs:527:13
|
527 | DependencyReference::Path("d/e/f".to_owned()),
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DependencyReference`
|
help: consider importing this enum through its public re-export
|
368 + use crate::cargo_toml::DependencyReference;
|
__END__