Skip to content

ci: speed up workflows and reduce costs #152

ci: speed up workflows and reduce costs

ci: speed up workflows and reduce costs #152

Triggered via pull request November 8, 2023 14:03
Status Failure
Total duration 23m 25s
Artifacts

tests.yml

on: pull_request
Build JS packages  /  Build JS
2m 58s
Build JS packages / Build JS
Determine changed packages
23s
Determine changed packages
Build Platform Docker images  /  Build Drive image
5m 58s
Build Platform Docker images / Build Drive image
Build Platform Docker images  /  Build DAPI image
5m 14s
Build Platform Docker images / Build DAPI image
Build Platform Docker images  /  Build Dashmate helper image
5m 17s
Build Platform Docker images / Build Dashmate helper image
Rust crates security audit
24s
Rust crates security audit
JS dependency versions check
15s
JS dependency versions check
JS NPM security audit
14s
JS NPM security audit
JS code security audit  /  Run Code QL
3m 42s
JS code security audit / Run Code QL
Matrix: JS package
Matrix: Rust package
Test Suite  /  Run Test Suite
4m 3s
Test Suite / Run Test Suite
Test Suite in browser  /  Run Test Suite
10m 12s
Test Suite in browser / Run Test Suite
Dashmate local network E2E tests  /  Run Dashmate test
13s
Dashmate local network E2E tests / Run Dashmate test
Dashmate full node E2E tests  /  Run Dashmate test
7s
Dashmate full node E2E tests / Run Dashmate test
Dashmate Evonode E2E tests  /  Run Dashmate test
6s
Dashmate Evonode E2E tests / Run Dashmate test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 124 warnings
Dashmate full node E2E tests / Run Dashmate test
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action 'everpcpc/actions-cache/restore@v1'.
Dashmate Evonode E2E tests / Run Dashmate test
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action 'everpcpc/actions-cache/restore@v1'.
Dashmate local network E2E tests / Run Dashmate test
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action 'everpcpc/actions-cache/restore@v1'.
Test Suite / Run Test Suite
Process completed with exit code 1.
Rust crates security audit
5 warnings found!
Rust crates security audit
Unknown warning kind unsound found, please, file a bug
Rust crates security audit
Unknown warning kind unsound found, please, file a bug
Rust crates security audit
Unknown warning kind unsound found, please, file a bug
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
JS package (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Client.ts#L162
Assignment to function parameter 'options'
JS package (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Fetcher/Fetcher.ts#L140
Returning an awaited value that is not a promise is not allowed
JS package (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.spec.ts#L5
Using exported name 'Client' as identifier for default export
JS package (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L5
Using exported name 'Client' as identifier for default export
JS package (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L8
Using exported name 'createAssetLockTransaction' as identifier for default export
JS code security audit / Run Code QL
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)