Skip to content

ci: speed up workflows and reduce costs #171

ci: speed up workflows and reduce costs

ci: speed up workflows and reduce costs #171

Re-run triggered November 10, 2023 05:33
Status Failure
Total duration 6m 56s
Artifacts

tests.yml

on: pull_request
Determine changed packages
16s
Determine changed packages
Build JS packages  /  Build JS
2m 27s
Build JS packages / Build JS
Build Platform Docker images  /  Build Drive image
4m 52s
Build Platform Docker images / Build Drive image
Build Platform Docker images  /  Build DAPI image
4m 54s
Build Platform Docker images / Build DAPI image
Build Platform Docker images  /  Build Dashmate helper image
4m 43s
Build Platform Docker images / Build Dashmate helper image
Rust crates security audit
28s
Rust crates security audit
JS dependency versions check
14s
JS dependency versions check
JS NPM security audit
9s
JS NPM security audit
Matrix: Rust package
JS code security audit  /  Run Code QL
3m 9s
JS code security audit / Run Code QL
Matrix: JS package
Test Suite  /  Run Test Suite
6m 36s
Test Suite / Run Test Suite
Test Suite in browser  /  Run Test Suite
2m 12s
Test Suite in browser / Run Test Suite
Dashmate local network E2E tests  /  Run Dashmate test
1m 33s
Dashmate local network E2E tests / Run Dashmate test
Dashmate full node E2E tests  /  Run Dashmate test
3m 19s
Dashmate full node E2E tests / Run Dashmate test
Dashmate Evonode E2E tests  /  Run Dashmate test
3m 27s
Dashmate Evonode E2E tests / Run Dashmate test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 124 warnings
JS NPM security audit
Process completed with exit code 1.
Dashmate local network E2E tests / Run Dashmate test
Process completed with exit code 2.
Test Suite in browser / Run Test Suite
Process completed with exit code 1.
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)
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 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.
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