adapt for testability #89
Annotations
31 errors and 44 warnings
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Clippy:
crates/form/src/elems/button.rs#L33
unused variable: `elem_json`
|
Clippy:
crates/form/src/elems/dropdown.rs#L22
unused variable: `elem_json`
|
Clippy:
crates/form/src/elems/input.rs#L22
unused variable: `elem_json`
|
Clippy:
crates/form/src/elems/label.rs#L18
unused variable: `elem_json`
|
Clippy:
crates/form/src/elems/slider.rs#L26
unused variable: `elem_json`
|
Clippy:
crates/form/src/elems/step_slider.rs#L23
unused variable: `elem_json`
|
Clippy:
crates/form/src/elems/toggle.rs#L20
unused variable: `elem_json`
|
Clippy:
crates/form/src/window/custom.rs#L28
unused variable: `form_json`
|
Clippy:
crates/form/src/window/modal.rs#L27
unused variable: `form_json`
|
Clippy:
crates/form/src/window/simple.rs#L31
unused variable: `form_json`
|
Check:
crates/proto/src/lib.rs#L9
file not found for module `sub_client`
|
Check:
crates/proto/src/gamepackets.rs#L43
visibility qualifiers are not permitted here
|
Check:
crates/proto/src/gamepackets.rs#L37
unresolved import `crate::sub_client::SubClientID`
|
Check:
crates/proto/src/listener.rs#L7
unresolved import `crate::r#mod`
|
Check:
crates/proto/src/connection/mod.rs#L72
cannot find type `ConnectionSharedSender` in this scope
|
Check:
crates/proto/src/connection/mod.rs#L72
cannot find type `ConnectionSharedReceiver` in this scope
|
Check:
crates/proto/src/connection/mod.rs#L81
cannot find struct, variant or union type `ConnectionSharedSender` in this scope
|
Check:
crates/proto/src/connection/mod.rs#L90
cannot find struct, variant or union type `ConnectionSharedReceiver` in this scope
|
Check:
crates/proto/src/batch.rs#L41
cannot borrow `encryption` as mutable, as it is not declared as mutable
|
Check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test Suite:
crates/proto/src/lib.rs#L9
file not found for module `sub_client`
|
Test Suite:
crates/proto/src/gamepackets.rs#L43
visibility qualifiers are not permitted here
|
Test Suite:
crates/proto/src/gamepackets.rs#L37
unresolved import `crate::sub_client::SubClientID`
|
Test Suite:
crates/proto/src/listener.rs#L7
unresolved import `crate::r#mod`
|
Test Suite:
crates/proto/src/connection/mod.rs#L72
cannot find type `ConnectionSharedSender` in this scope
|
Test Suite:
crates/proto/src/connection/mod.rs#L72
cannot find type `ConnectionSharedReceiver` in this scope
|
Test Suite:
crates/proto/src/connection/mod.rs#L81
cannot find struct, variant or union type `ConnectionSharedSender` in this scope
|
Test Suite:
crates/proto/src/connection/mod.rs#L90
cannot find struct, variant or union type `ConnectionSharedReceiver` in this scope
|
Test Suite:
crates/proto/src/batch.rs#L41
cannot borrow `encryption` as mutable, as it is not declared as mutable
|
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Check:
crates/addon/src/behavior/mod.rs#L180
unused variable: `path`
|
Check:
crates/addon/src/behavior/mod.rs#L187
unused variable: `addons`
|
Check:
crates/addon/src/resource/mod.rs#L44
unused variable: `path`
|
Check:
crates/addon/src/resource/mod.rs#L51
unused variable: `addons`
|
Check
`bedrockrs_addon` (lib) generated 4 warnings
|
Check:
crates/form/src/elems/button.rs#L33
unused variable: `elem_json`
|
Check:
crates/form/src/elems/dropdown.rs#L22
unused variable: `elem_json`
|
Check:
crates/form/src/elems/input.rs#L22
unused variable: `elem_json`
|
Check:
crates/form/src/elems/label.rs#L18
unused variable: `elem_json`
|
Check:
crates/form/src/elems/slider.rs#L26
unused variable: `elem_json`
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Suite
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite:
crates/addon/src/behavior/mod.rs#L180
unused variable: `path`
|
Test Suite:
crates/addon/src/behavior/mod.rs#L187
unused variable: `addons`
|
Test Suite:
crates/addon/src/resource/mod.rs#L44
unused variable: `path`
|
Test Suite:
crates/addon/src/resource/mod.rs#L51
unused variable: `addons`
|
Test Suite:
crates/form/src/elems/button.rs#L33
unused variable: `elem_json`
|
Test Suite:
crates/form/src/elems/dropdown.rs#L22
unused variable: `elem_json`
|
Test Suite:
crates/form/src/elems/input.rs#L22
unused variable: `elem_json`
|
Test Suite:
crates/form/src/elems/label.rs#L18
unused variable: `elem_json`
|
Test Suite:
crates/form/src/elems/slider.rs#L26
unused variable: `elem_json`
|
Test Suite:
crates/form/src/elems/step_slider.rs#L23
unused variable: `elem_json`
|