Finish up GameVersion conversion (lets pretend libraries dont exist) #28
Annotations
21 warnings
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/.
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
macros/src/lib.rs#L78
warning: unused variable: `attr`
--> macros/src/lib.rs:78:23
|
78 | pub fn data_structure(attr: TokenStream, item: TokenStream) -> TokenStream {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_attr`
|
= note: `#[warn(unused_variables)]` on by default
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
macros/src/lib.rs#L78
warning: unused variable: `item`
--> macros/src/lib.rs:78:42
|
78 | pub fn data_structure(attr: TokenStream, item: TokenStream) -> TokenStream {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/utils/mod.rs#L23
warning: unused import: `archive::*`
--> core/src/utils/mod.rs:23:9
|
23 | pub use archive::*;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/net/download/assets.rs#L23
warning: unused variable: `client`
--> core/src/net/download/assets.rs:23:5
|
23 | client: &Client,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
|
= note: `#[warn(unused_variables)]` on by default
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/net/download/assets.rs#L24
warning: unused variable: `index`
--> core/src/net/download/assets.rs:24:5
|
24 | index: GameAssetIndex,
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/utils/mod.rs#L29
warning: function `sha256` is never used
--> core/src/utils/mod.rs:29:8
|
29 | pub fn sha256(data: impl Deref<Target = [u8]>) -> Result<impl AsRef<[u8]>> {
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/utils/mod.rs#L40
warning: function `sha1` is never used
--> core/src/utils/mod.rs:40:8
|
40 | pub fn sha1(data: impl Deref<Target = [u8]>) -> Result<impl AsRef<[u8]>> {
| ^^^^
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/utils/archive.rs#L30
warning: function `extract` is never used
--> core/src/utils/archive.rs:30:14
|
30 | pub async fn extract(data: Bytes, format: ArchiveFormat, dest: impl AsRef<Path>) -> Result<()> {
| ^^^^^^^
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/utils/archive.rs#L42
warning: function `extract_tar` is never used
--> core/src/utils/archive.rs:42:10
|
42 | async fn extract_tar<T: Read + Send + 'static>(
| ^^^^^^^^^^^
|
Run cargo test --locked --no-run --message-format=json | cargo-action-fmt:
core/src/utils/archive.rs#L50
warning: function `extract_tar_gz` is never used
--> core/src/utils/archive.rs:50:10
|
50 | async fn extract_tar_gz(data: Bytes, dest: PathBuf) -> Result<()> {
| ^^^^^^^^^^^^^^
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
macros/src/lib.rs#L78
warning: unused variable: `attr`
--> macros/src/lib.rs:78:23
|
78 | pub fn data_structure(attr: TokenStream, item: TokenStream) -> TokenStream {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_attr`
|
= note: `#[warn(unused_variables)]` on by default
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
macros/src/lib.rs#L78
warning: unused variable: `item`
--> macros/src/lib.rs:78:42
|
78 | pub fn data_structure(attr: TokenStream, item: TokenStream) -> TokenStream {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
macros/src/lib.rs#L78
warning: unused variable: `attr`
--> macros/src/lib.rs:78:23
|
78 | pub fn data_structure(attr: TokenStream, item: TokenStream) -> TokenStream {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_attr`
|
= note: `#[warn(unused_variables)]` on by default
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
macros/src/lib.rs#L78
warning: unused variable: `item`
--> macros/src/lib.rs:78:42
|
78 | pub fn data_structure(attr: TokenStream, item: TokenStream) -> TokenStream {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
core/src/utils/mod.rs#L23
warning: unused import: `archive::*`
--> core/src/utils/mod.rs:23:9
|
23 | pub use archive::*;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
core/src/net/download/assets.rs#L23
warning: unused variable: `client`
--> core/src/net/download/assets.rs:23:5
|
23 | client: &Client,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
|
= note: `#[warn(unused_variables)]` on by default
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
core/src/net/download/assets.rs#L24
warning: unused variable: `index`
--> core/src/net/download/assets.rs:24:5
|
24 | index: GameAssetIndex,
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
core/src/utils/mod.rs#L29
warning: function `sha256` is never used
--> core/src/utils/mod.rs:29:8
|
29 | pub fn sha256(data: impl Deref<Target = [u8]>) -> Result<impl AsRef<[u8]>> {
| ^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
core/src/utils/mod.rs#L40
warning: function `sha1` is never used
--> core/src/utils/mod.rs:40:8
|
40 | pub fn sha1(data: impl Deref<Target = [u8]>) -> Result<impl AsRef<[u8]>> {
| ^^^^
|
Run cargo check --locked --message-format=json | cargo-action-fmt:
core/src/utils/archive.rs#L30
warning: function `extract` is never used
--> core/src/utils/archive.rs:30:14
|
30 | pub async fn extract(data: Bytes, format: ArchiveFormat, dest: impl AsRef<Path>) -> Result<()> {
| ^^^^^^^
|
Loading