more api work #203
Annotations
8 errors and 7 warnings
no field `servers` on type `&mut _`:
src/commands/init/mod.rs#L214
error[E0609]: no field `servers` on type `&mut _`
--> src/commands/init/mod.rs:214:23
|
214 | if nw.servers.contains_key(&app.server.name) {
| ^^^^^^^ unknown field
|
unresolved imports `crate::app`, `crate::model`, `crate::util`:
src/commands/init/mod.rs#L17
error[E0432]: unresolved imports `crate::app`, `crate::model`, `crate::util`
--> src/commands/init/mod.rs:17:5
|
17 | app::BaseApp,
| ^^^ unresolved import
18 | interop::{mrpack::MRPackReader, packwiz::FileProvider},
19 | model::{Network, Server, ServerEntry, ServerType, SoftwareType},
| ^^^^^ unresolved import
20 | util::{
| ^^^^ could not find `util` in the crate root
|
help: a similar path exists
|
17 | crate::api::app::BaseApp,
| ~~~~~~~~~~~~~~~
help: a similar path exists
|
19 | rpackwiz::model::{Network, Server, ServerEntry, ServerType, SoftwareType},
| ~~~~~~~~~~~~~~~
|
failed to resolve: could not find `util` in the crate root:
src/commands/init/mod.rs#L20
error[E0433]: failed to resolve: could not find `util` in the crate root
--> src/commands/init/mod.rs:20:5
|
20 | util::{
| ^^^^ could not find `util` in the crate root
|
failed to resolve: could not find `interop` in the crate root:
src/commands/init/mod.rs#L18
error[E0433]: failed to resolve: could not find `interop` in the crate root
--> src/commands/init/mod.rs:18:5
|
18 | interop::{mrpack::MRPackReader, packwiz::FileProvider},
| ^^^^^^^ could not find `interop` in the crate root
|
clippy
Clippy had exited with the 101 exit code
|
build (ubuntu-latest)
Process completed with exit code 101.
|
build (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
build (windows-latest)
The operation was canceled.
|
unused import: `Context`:
src/commands/init/mod.rs#L1
warning: unused import: `Context`
--> src/commands/init/mod.rs:1:20
|
1 | use anyhow::{bail, Context, Result};
| ^^^^^^^
|
unused import: `build::*`:
src/api/app/actions/mod.rs#L3
warning: unused import: `build::*`
--> src/api/app/actions/mod.rs:3:9
|
3 | pub use build::*;
| ^^^^^^^^
|
unused import: `packwiz_mod::*`:
src/api/models/packwiz/mod.rs#L5
warning: unused import: `packwiz_mod::*`
--> src/api/models/packwiz/mod.rs:5:9
|
5 | pub use packwiz_mod::*;
| ^^^^^^^^^^^^^^
|
unused import: `packwiz_pack::*`:
src/api/models/packwiz/mod.rs#L4
warning: unused import: `packwiz_pack::*`
--> src/api/models/packwiz/mod.rs:4:9
|
4 | pub use packwiz_pack::*;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|