Skip to content

ci: speed up workflows and reduce costs #160

ci: speed up workflows and reduce costs

ci: speed up workflows and reduce costs #160

Triggered via pull request November 9, 2023 05:31
Status Failure
Total duration 12m 27s
Artifacts

tests.yml

on: pull_request
Build JS packages  /  Build JS
2m 31s
Build JS packages / Build JS
Determine changed packages
16s
Determine changed packages
Build Platform Docker images  /  Build Drive image
1m 32s
Build Platform Docker images / Build Drive image
Build Platform Docker images  /  Build DAPI image
1m 39s
Build Platform Docker images / Build DAPI image
Build Platform Docker images  /  Build Dashmate helper image
1m 45s
Build Platform Docker images / Build Dashmate helper image
Rust crates security audit
21s
Rust crates security audit
JS dependency versions check
8s
JS dependency versions check
JS NPM security audit
8s
JS NPM security audit
JS code security audit  /  Run Code QL
2m 25s
JS code security audit / Run Code QL
Matrix: JS package
Matrix: Rust package
Test Suite  /  Run Test Suite
Test Suite / Run Test Suite
Test Suite in browser  /  Run Test Suite
Test Suite in browser / Run Test Suite
Dashmate Evonode E2E tests  /  Run Dashmate test
Dashmate Evonode E2E tests / Run Dashmate test
Dashmate full node E2E tests  /  Run Dashmate test
Dashmate full node E2E tests / Run Dashmate test
Dashmate local network E2E tests  /  Run Dashmate test
Dashmate local network E2E tests / Run Dashmate test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 124 warnings
Build Platform Docker images / Build DAPI image
buildx failed with: ERROR: failed to solve: process "/bin/bash -c if [[ \"$TARGETARCH\" == \"arm64\" ]] ; then export SCC_ARCH=aarch64; else export SCC_ARCH=x86_64; fi; curl -Ls https://github.com/mozilla/sccache/releases/download/v0.4.1/sccache-v0.7.0-${SCC_ARCH}-unknown-linux-musl.tar.gz | tar -C /tmp -xz && mv /tmp/sccache-*/sccache /usr/bin/" did not complete successfully: exit code: 2
Build Platform Docker images / Build Drive image
buildx failed with: ERROR: failed to solve: process "/bin/bash -c if [[ \"$TARGETARCH\" == \"arm64\" ]] ; then export SCC_ARCH=aarch64; else export SCC_ARCH=x86_64; fi; curl -Ls https://github.com/mozilla/sccache/releases/download/v0.4.1/sccache-v0.7.0-${SCC_ARCH}-unknown-linux-musl.tar.gz | tar -C /tmp -xz && mv /tmp/sccache-*/sccache /usr/bin/" did not complete successfully: exit code: 2
Build Platform Docker images / Build Dashmate helper image
buildx failed with: ERROR: failed to solve: process "/bin/bash -c if [[ \"$TARGETARCH\" == \"arm64\" ]] ; then export SCC_ARCH=aarch64; else export SCC_ARCH=x86_64; fi; curl -Ls https://github.com/mozilla/sccache/releases/download/v0.4.1/sccache-v0.7.0-${SCC_ARCH}-unknown-linux-musl.tar.gz | tar -C /tmp -xz && mv /tmp/sccache-*/sccache /usr/bin/" did not complete successfully: exit code: 2
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)
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
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.
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)