sc-meta - dependency refactor, full support for referencing the framework by git commit #245
Annotations
16 errors and 3 warnings
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L417:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L433:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L447:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L463:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L478:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L496:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L513:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L527:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L417:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L433:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L447:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L463:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L478:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L496:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L513:
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;
|
|
[clippy] framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs#L527:
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;
|
|
Plotter tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[clippy] framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs#L58:
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
|
[clippy] framework/meta-lib/src/contract/wasm_cargo_toml_generate.rs#L58:
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
|