Skip to content

refactor: more macros #169

refactor: more macros

refactor: more macros #169

Triggered via push February 1, 2024 16:03
Status Failure
Total duration 39s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

75 errors and 6 warnings
no method named `worlds` found for mutable reference `&mut app::App` in the current scope: src/commands/world/unpack.rs#L18
error[E0599]: no method named `worlds` found for mutable reference `&mut app::App` in the current scope --> src/commands/world/unpack.rs:18:9 | 18 | app.worlds().unpack(&world_name)?; | ^^^^^^ method not found in `&mut App`
no method named `worlds` found for mutable reference `&mut app::App` in the current scope: src/commands/world/pack.rs#L17
error[E0599]: no method named `worlds` found for mutable reference `&mut app::App` in the current scope --> src/commands/world/pack.rs:17:9 | 17 | app.worlds().pack(&world_name)?; | ^^^^^^ method not found in `&mut App`
no method named `markdown` found for reference `&app::App` in the current scope: src/commands/info.rs#L10
error[E0599]: no method named `markdown` found for reference `&app::App` in the current scope --> src/commands/info.rs:10:21 | 10 | let table = app.markdown().table_server(); | ^^^^^^^^ help: there is a method with a similar name: `refresh_markdown`
no method named `maven` found for reference `&app::App` in the current scope: src/sources/quilt.rs#L15
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/sources/quilt.rs:15:14 | 14 | / self.0 15 | | .maven() | | -^^^^^ method not found in `&app::App` | |_____________| |
no method named `maven` found for reference `&app::App` in the current scope: src/sources/neoforge.rs#L53
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/sources/neoforge.rs:53:14 | 52 | / self.0 53 | | .maven() | | -^^^^^ method not found in `&app::App` | |_____________| |
no method named `maven` found for reference `&app::App` in the current scope: src/sources/neoforge.rs#L16
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/sources/neoforge.rs:16:14 | 14 | let (_, versions) = self | _____________________________- 15 | | .0 16 | | .maven() | | -^^^^^ method not found in `&app::App` | |_____________| |
no method named `maven` found for reference `&app::App` in the current scope: src/sources/forge.rs#L54
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/sources/forge.rs:54:14 | 53 | / self.0 54 | | .maven() | | -^^^^^ method not found in `&app::App` | |_____________| |
no method named `maven` found for reference `&app::App` in the current scope: src/sources/forge.rs#L17
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/sources/forge.rs:17:14 | 15 | let (_, versions) = self | _____________________________- 16 | | .0 17 | | .maven() | | -^^^^^ method not found in `&app::App` | |_____________| |
no method named `papermc` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L190
error[E0599]: no method named `papermc` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:190:21 | 190 | app.papermc() | ^^^^^^^ method not found in `&app::App`
no method named `papermc` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L185
error[E0599]: no method named `papermc` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:185:21 | 185 | app.papermc() | ^^^^^^^ method not found in `&app::App`
no method named `papermc` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L180
error[E0599]: no method named `papermc` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:180:21 | 180 | app.papermc() | ^^^^^^^ method not found in `&app::App`
no method named `forge` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L177
error[E0599]: no method named `forge` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:177:49 | 177 | ServerType::Forge { loader } => app.forge().resolve_source(loader).await, | ^^^^^ method not found in `&app::App`
no method named `neoforge` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L176
error[E0599]: no method named `neoforge` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:176:52 | 176 | ServerType::NeoForge { loader } => app.neoforge().resolve_source(loader).await, | ^^^^^^^^ method not found in `&app::App`
no method named `quilt` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L175
error[E0599]: no method named `quilt` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:175:56 | 175 | ServerType::Quilt { installer, .. } => app.quilt().resolve_installer(installer).await, | ^^^^^ method not found in `&app::App`
no method named `fabric` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L173
error[E0599]: no method named `fabric` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:173:21 | 173 | app.fabric().resolve_source(loader, installer).await | ^^^^^^ method not found in `&app::App`
no method named `purpur` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L171
error[E0599]: no method named `purpur` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:171:49 | 171 | ServerType::Purpur { build } => app.purpur().resolve_source(version, build).await, | ^^^^^^ method not found in `&app::App`
no method named `papermc` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L169
error[E0599]: no method named `papermc` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:169:21 | 169 | app.papermc().resolve_source(project, version, build).await | ^^^^^^^ method not found in `&app::App`
no method named `vanilla` found for reference `&app::App` in the current scope: src/model/servertype/mod.rs#L167
error[E0599]: no method named `vanilla` found for reference `&app::App` in the current scope --> src/model/servertype/mod.rs:167:43 | 167 | ServerType::Vanilla {} => app.vanilla().resolve_source(version).await, | ^^^^^^^ method not found in `&app::App`
no method named `modrinth` found for mutable reference `&mut app::App` in the current scope: src/interop/packwiz.rs#L183
error[E0599]: no method named `modrinth` found for mutable reference `&mut app::App` in the current scope --> src/interop/packwiz.rs:183:30 | 183 | match self.0.modrinth().version_from_hash(&down.hash, fmt).await { | ^^^^^^^^ method not found in `&mut App`
no method named `maven` found for reference `&app::App` in the current scope: src/model/downloadable/mod.rs#L129
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/model/downloadable/mod.rs:129:21 | 129 | app.maven() | ^^^^^ method not found in `&app::App`
no method named `jenkins` found for reference `&app::App` in the current scope: src/model/downloadable/mod.rs#L118
error[E0599]: no method named `jenkins` found for reference `&app::App` in the current scope --> src/model/downloadable/mod.rs:118:21 | 118 | app.jenkins() | ^^^^^^^ method not found in `&app::App`
no method named `github` found for reference `&app::App` in the current scope: src/model/downloadable/mod.rs#L110
error[E0599]: no method named `github` found for reference `&app::App` in the current scope --> src/model/downloadable/mod.rs:110:21 | 110 | app.github().resolve_source(repo, tag, asset).await | ^^^^^^ method not found in `&app::App`
no method named `hangar` found for reference `&app::App` in the current scope: src/model/downloadable/mod.rs#L108
error[E0599]: no method named `hangar` found for reference `&app::App` in the current scope --> src/model/downloadable/mod.rs:108:49 | 108 | Self::Hangar { id, version } => app.hangar().resolve_source(id, version).await, | ^^^^^^ method not found in `&app::App`
no method named `spigot` found for reference `&app::App` in the current scope: src/model/downloadable/mod.rs#L107
error[E0599]: no method named `spigot` found for reference `&app::App` in the current scope --> src/model/downloadable/mod.rs:107:49 | 107 | Self::Spigot { id, version } => app.spigot().resolve_source(id, version).await, | ^^^^^^ method not found in `&app::App`
no method named `curserinth` found for reference `&app::App` in the current scope: src/model/downloadable/mod.rs#L106
error[E0599]: no method named `curserinth` found for reference `&app::App` in the current scope --> src/model/downloadable/mod.rs:106:53 | 106 | Self::CurseRinth { id, version } => app.curserinth().resolve_source(id, version).await, | ^^^^^^^^^^ method not found in `&app::App`
no method named `modrinth` found for reference `&app::App` in the current scope: src/model/downloadable/mod.rs#L105
error[E0599]: no method named `modrinth` found for reference `&app::App` in the current scope --> src/model/downloadable/mod.rs:105:51 | 105 | Self::Modrinth { id, version } => app.modrinth().resolve_source(id, version).await, | ^^^^^^^^ method not found in `&app::App`
no method named `modrinth` found for mutable reference `&'a mut app::App` in the current scope: src/interop/mrpack.rs#L48
error[E0599]: no method named `modrinth` found for mutable reference `&'a mut app::App` in the current scope --> src/interop/mrpack.rs:48:41 | 48 | if let Ok(ver) = self.0.modrinth().version_from_hash(hash, "sha512").await { | ^^^^^^^^ method not found in `&mut App`
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L326
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:326:78 | 326 | let desc = self.0.jenkins().fetch_description(url, job).await?; | ^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` note: required by a bound in `std::ops::ControlFlow::Break` --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/control_flow.rs:93:5
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L326
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:326:28 | 326 | let desc = self.0.jenkins().fetch_description(url, job).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L326
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:326:21 | 326 | let desc = self.0.jenkins().fetch_description(url, job).await?; | ^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature
no method named `jenkins` found for reference `&app::App` in the current scope: src/interop/markdown.rs#L326
error[E0599]: no method named `jenkins` found for reference `&app::App` in the current scope --> src/interop/markdown.rs:326:35 | 326 | let desc = self.0.jenkins().fetch_description(url, job).await?; | ^^^^^^^ method not found in `&app::App`
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L311
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:311:78 | 311 | let desc = self.0.github().fetch_repo_description(repo).await?; | ^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` note: required by a bound in `std::ops::ControlFlow::Break` --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/control_flow.rs:93:5
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L311
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:311:28 | 311 | let desc = self.0.github().fetch_repo_description(repo).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L311
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:311:21 | 311 | let desc = self.0.github().fetch_repo_description(repo).await?; | ^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature
no method named `github` found for reference `&app::App` in the current scope: src/interop/markdown.rs#L311
error[E0599]: no method named `github` found for reference `&app::App` in the current scope --> src/interop/markdown.rs:311:35 | 311 | let desc = self.0.github().fetch_repo_description(repo).await?; | ^^^^^^ method not found in `&app::App`
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L287
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:287:36 | 287 | let (name, desc) = self.0.spigot().fetch_info(id).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: within `(_, str)`, the trait `std::marker::Sized` is not implemented for `str` = note: required because it appears within the type `(_, str)` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature
the size for values of type `str` cannot be known at compilation time: src/interop/markdown.rs#L287
error[E0277]: the size for values of type `str` cannot be known at compilation time --> src/interop/markdown.rs:287:28 | 287 | let (name, desc) = self.0.spigot().fetch_info(id).await?; | ^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature
no method named `spigot` found for reference `&app::App` in the current scope: src/interop/markdown.rs#L287
error[E0599]: no method named `spigot` found for reference `&app::App` in the current scope --> src/interop/markdown.rs:287:43 | 287 | let (name, desc) = self.0.spigot().fetch_info(id).await?; | ^^^^^^ method not found in `&app::App`
no method named `curserinth` found for reference `&app::App` in the current scope: src/interop/markdown.rs#L281
error[E0599]: no method named `curserinth` found for reference `&app::App` in the current scope --> src/interop/markdown.rs:281:35 | 281 | let proj = self.0.curserinth().fetch_project(id).await?; | ^^^^^^^^^^ method not found in `&app::App`
no method named `modrinth` found for reference `&app::App` in the current scope: src/interop/markdown.rs#L271
error[E0599]: no method named `modrinth` found for reference `&app::App` in the current scope --> src/interop/markdown.rs:271:35 | 271 | let proj = self.0.modrinth().fetch_project(id).await?; | ^^^^^^^^ method not found in `&app::App`
no method named `worlds` found for mutable reference `&mut app::App` in the current scope: src/core/worlds.rs#L54
error[E0599]: no method named `worlds` found for mutable reference `&mut app::App` in the current scope --> src/core/worlds.rs:54:26 | 54 | self.app.worlds().unpack(name)?; | ^^^^^^ method not found in `&mut App`
no method named `forge` found for mutable reference `&mut app::App` in the current scope: src/core/serverjar.rs#L68
error[E0599]: no method named `forge` found for mutable reference `&mut app::App` in the current scope --> src/core/serverjar.rs:68:30 | 68 | self.app.forge().resolve_version(&loader).await? | ^^^^^ method not found in `&mut App`
no method named `neoforge` found for mutable reference `&mut app::App` in the current scope: src/core/serverjar.rs#L58
error[E0599]: no method named `neoforge` found for mutable reference `&mut app::App` in the current scope --> src/core/serverjar.rs:58:30 | 58 | self.app.neoforge().resolve_version(&loader).await? | ^^^^^^^^ method not found in `&mut App`
no method named `forge` found for mutable reference `&mut app::App` in the current scope: src/core/scripts.rs#L27
error[E0599]: no method named `forge` found for mutable reference `&mut app::App` in the current scope --> src/core/scripts.rs:27:34 | 27 | let l = self.app.forge().resolve_version(loader).await?; | ^^^^^ method not found in `&mut App`
no method named `neoforge` found for mutable reference `&mut app::App` in the current scope: src/core/scripts.rs#L15
error[E0599]: no method named `neoforge` found for mutable reference `&mut app::App` in the current scope --> src/core/scripts.rs:15:34 | 15 | let l = self.app.neoforge().resolve_version(loader).await?; | ^^^^^^^^ method not found in `&mut App`
no method named `github` found for struct `app::App` in the current scope: src/commands/version.rs#L32
error[E0599]: no method named `github` found for struct `app::App` in the current scope --> src/commands/version.rs:32:28 | 32 | let releases = app.github().fetch_releases(&repo_name).await?; | ^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `github` not found for this struct
no method named `markdown` found for struct `app::App` in the current scope: src/commands/markdown.rs#L23
error[E0599]: no method named `markdown` found for struct `app::App` in the current scope --> src/commands/markdown.rs:23:9 | 23 | app.markdown().update_files().await?; | ^^^^^^^^ help: there is a method with a similar name: `refresh_markdown` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `markdown` not found for this struct
no method named `markdown` found for struct `app::App` in the current scope: src/commands/init/mod.rs#L258
error[E0599]: no method named `markdown` found for struct `app::App` in the current scope --> src/commands/init/mod.rs:258:25 | 258 | app.markdown().update_files().await?; | ^^^^^^^^ help: there is a method with a similar name: `refresh_markdown` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `markdown` not found for this struct
no method named `markdown` found for struct `app::App` in the current scope: src/commands/init/mod.rs#L252
error[E0599]: no method named `markdown` found for struct `app::App` in the current scope --> src/commands/init/mod.rs:252:22 | 252 | _ => app.markdown().init_server()?, | ^^^^^^^^ help: there is a method with a similar name: `refresh_markdown` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `markdown` not found for this struct
no method named `markdown` found for struct `app::App` in the current scope: src/commands/init/mod.rs#L251
error[E0599]: no method named `markdown` found for struct `app::App` in the current scope --> src/commands/init/mod.rs:251:38 | 251 | InitType::Network => app.markdown().init_network()?, | ^^^^^^^^ help: there is a method with a similar name: `refresh_markdown` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `markdown` not found for this struct
no method named `packwiz` found for struct `app::App` in the current scope: src/commands/init/mod.rs#L196
error[E0599]: no method named `packwiz` found for struct `app::App` in the current scope --> src/commands/init/mod.rs:196:17 | 196 | app.packwiz().import_from_source(src.clone()).await?; | ^^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `packwiz` not found for this struct
no method named `mrpack` found for struct `app::App` in the current scope: src/commands/init/mod.rs#L191
error[E0599]: no method named `mrpack` found for struct `app::App` in the current scope --> src/commands/init/mod.rs:191:17 | 191 | app.mrpack() | ^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `mrpack` not found for this struct
no method named `vanilla` found for struct `app::App` in the current scope: src/commands/init/mod.rs#L154
error[E0599]: no method named `vanilla` found for struct `app::App` in the current scope --> src/commands/init/mod.rs:154:22 | 153 | let latest_ver = app | __________________________________- 154 | | .vanilla() | | -^^^^^^^ method not found in `app::App` | |_____________________| | | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `vanilla` not found for this struct
no method named `packwiz` found for struct `app::App` in the current scope: src/commands/init/mod.rs#L70
error[E0599]: no method named `packwiz` found for struct `app::App` in the current scope --> src/commands/init/mod.rs:70:31 | 70 | InitType::Packwiz(app.packwiz().get_file_provider(&src)?) | ^^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `packwiz` not found for this struct
no method named `packwiz` found for struct `app::App` in the current scope: src/commands/import/packwiz.rs#L11
error[E0599]: no method named `packwiz` found for struct `app::App` in the current scope --> src/commands/import/packwiz.rs:11:9 | 11 | app.packwiz().import_all(&args.source).await?; | ^^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `packwiz` not found for this struct
no method named `mrpack` found for struct `app::App` in the current scope: src/commands/import/mrpack.rs#L50
error[E0599]: no method named `mrpack` found for struct `app::App` in the current scope --> src/commands/import/mrpack.rs:50:9 | 50 | app.mrpack() | ^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `mrpack` not found for this struct
no method named `packwiz` found for struct `app::App` in the current scope: src/commands/export/packwiz.rs#L20
error[E0599]: no method named `packwiz` found for struct `app::App` in the current scope --> src/commands/export/packwiz.rs:20:9 | 20 | app.packwiz().export_all(output_dir).await?; | ^^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `packwiz` not found for this struct
no method named `mrpack` found for struct `app::App` in the current scope: src/commands/export/mrpack.rs#L37
error[E0599]: no method named `mrpack` found for struct `app::App` in the current scope --> src/commands/export/mrpack.rs:37:9 | 37 | app.mrpack() | ^^^^^^ method not found in `app::App` | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `mrpack` not found for this struct
no method named `mclogs` found for mutable reference `&mut app::App` in the current scope: src/hot_reload/mod.rs#L461
error[E0599]: no method named `mclogs` found for mutable reference `&mut app::App` in the current scope --> src/hot_reload/mod.rs:461:55 | 461 | ... Some(self.builder.app.mclogs().paste_log(&content).await?) | ^^^^^^ help: there is a method with a similar name: `log`
no method named `mclogs` found for mutable reference `&mut app::App` in the current scope: src/hot_reload/mod.rs#L453
error[E0599]: no method named `mclogs` found for mutable reference `&mut app::App` in the current scope --> src/hot_reload/mod.rs:453:56 | 453 | ... let log = self.builder.app.mclogs().paste_log(&content).await?; | ^^^^^^ help: there is a method with a similar name: `log`
no method named `hooks` found for mutable reference `&'a mut app::App` in the current scope: src/core/mod.rs#L109
error[E0599]: no method named `hooks` found for mutable reference `&'a mut app::App` in the current scope --> src/core/mod.rs:109:14 | 108 | / self.app 109 | | .hooks() | | -^^^^^ method not found in `&mut App` | |_____________| |
no method named `hooks` found for mutable reference `&'a mut app::App` in the current scope: src/core/mod.rs#L61
error[E0599]: no method named `hooks` found for mutable reference `&'a mut app::App` in the current scope --> src/core/mod.rs:61:14 | 60 | / self.app 61 | | .hooks() | | -^^^^^ method not found in `&mut App` | |_____________| |
no method named `modrinth` found for struct `app::App` in the current scope: src/commands/add/modrinth.rs#L62
error[E0599]: no method named `modrinth` found for struct `app::App` in the current scope --> src/commands/add/modrinth.rs:62:10 | 61 | let versions = app | ____________________- 62 | | .modrinth() | | -^^^^^^^^ method not found in `app::App` | |_________| | | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `modrinth` not found for this struct
no method named `modrinth` found for struct `app::App` in the current scope: src/commands/add/modrinth.rs#L32
error[E0599]: no method named `modrinth` found for struct `app::App` in the current scope --> src/commands/add/modrinth.rs:32:10 | 31 | let projects = app | ____________________- 32 | | .modrinth() | | -^^^^^^^^ method not found in `app::App` | |_________| | | ::: src/app/mod.rs:83:1 | 83 | pub struct App { | -------------- method `modrinth` not found for this struct
no method named `maven` found for reference `&app::App` in the current scope: src/app/from_string.rs#L441
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/app/from_string.rs:441:30 | 440 | for v in self | __________________________________- 441 | | .maven() | | -^^^^^ method not found in `&app::App` | |_____________________________| |
no method named `maven` found for reference `&app::App` in the current scope: src/app/from_string.rs#L369
error[E0599]: no method named `maven` found for reference `&app::App` in the current scope --> src/app/from_string.rs:369:48 | 369 | if let Ok(meta) = self.maven().find_maven_artifact(urlstr).await { | ^^^^^ method not found in `&app::App`
no method named `github` found for reference `&app::App` in the current scope: src/app/from_string.rs#L237
error[E0599]: no method named `github` found for reference `&app::App` in the current scope --> src/app/from_string.rs:237:36 | 237 | let rel = self.github().fetch_release(&repo, &tag).await?; | ^^^^^^ method not found in `&app::App`
no method named `github` found for reference `&app::App` in the current scope: src/app/from_string.rs#L209
error[E0599]: no method named `github` found for reference `&app::App` in the current scope --> src/app/from_string.rs:209:45 | 209 | let releases = self.github().fetch_releases(&repo).await?; | ^^^^^^ method not found in `&app::App`
no method named `curserinth` found for reference `&app::App` in the current scope: src/app/from_string.rs#L160
error[E0599]: no method named `curserinth` found for reference `&app::App` in the current scope --> src/app/from_string.rs:160:46 | 160 | let (versions, _) = self.curserinth().fetch_versions(&id).await?; | ^^^^^^^^^^ method not found in `&app::App`
no method named `curserinth` found for reference `&app::App` in the current scope: src/app/from_string.rs#L121
error[E0599]: no method named `curserinth` found for reference `&app::App` in the current scope --> src/app/from_string.rs:121:46 | 121 | let (versions, _) = self.curserinth().fetch_versions(id).await?; | ^^^^^^^^^^ method not found in `&app::App`
no method named `modrinth` found for reference `&app::App` in the current scope: src/app/from_string.rs#L85
error[E0599]: no method named `modrinth` found for reference `&app::App` in the current scope --> src/app/from_string.rs:85:41 | 85 | let versions = self.modrinth().fetch_versions(id).await?; | ^^^^^^^^ method not found in `&app::App`
no method named `markdown` found for reference `&app::App` in the current scope: src/app/actions.rs#L26
error[E0599]: no method named `markdown` found for reference `&app::App` in the current scope --> src/app/actions.rs:26:18 | 26 | self.markdown().update_files().await | ^^^^^^^^ help: there is a method with a similar name: `refresh_markdown`
clippy
Clippy had exited with the 101 exit code
build (ubuntu-latest)
Process completed with exit code 101.
build (windows-latest)
The operation was canceled.
unused import: `Context`: src/commands/add/modrinth.rs#L1
warning: unused import: `Context` --> src/commands/add/modrinth.rs:1:20 | 1 | use anyhow::{bail, Context, Result}; | ^^^^^^^
unused import: `crate::sources`: src/app/mod.rs#L18
warning: unused import: `crate::sources` --> src/app/mod.rs:18:5 | 18 | use crate::sources; | ^^^^^^^^^^^^^^ | = 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/.
build (windows-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/.