Skip to content

ci: speed up workflows and reduce costs #179

ci: speed up workflows and reduce costs

ci: speed up workflows and reduce costs #179

Triggered via pull request November 10, 2023 12:30
Status Cancelled
Total duration 9m 23s
Artifacts

tests.yml

on: pull_request
Determine changed packages
14s
Determine changed packages
Build JS packages  /  Build JS
2m 23s
Build JS packages / Build JS
Matrix: Build Docker images
Rust crates security audit
38s
Rust crates security audit
JS dependency versions check
12s
JS dependency versions check
JS NPM security audit
8s
JS NPM security audit
Matrix: Rust packages
JS code security audit  /  Run Code QL
3m 59s
JS code security audit / Run Code QL
Matrix: JS packages
Matrix: Test Suite
Matrix: Dashmate E2E tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 124 warnings
JS NPM security audit
Process completed with exit code 1.
Test Suite (Test Suite, test:suite -b) / Run Test Suite
Canceling since a higher priority waiting request for 'Tests-refs/pull/1545/merge' exists
Test Suite (Test Suite in browser, test:browsers) / Run Test Suite in browser
Canceling since a higher priority waiting request for 'Tests-refs/pull/1545/merge' exists
Dashmate E2E tests (Local network, test/e2e/localNetwork.spec.js, true) / Run Dashmate test
Canceling since a higher priority waiting request for 'Tests-refs/pull/1545/merge' exists
Rust packages (drive-abci) / Tests
Canceling since a higher priority waiting request for 'Tests-refs/pull/1545/merge' exists
Rust packages (drive-abci) / Tests
The operation was canceled.
Tests
The template is not valid. (Line: 171, Col: 35): Unexpected value ''
Tests
The template is not valid. (Line: 171, Col: 35): Unexpected value ''
Rust crates security audit
5 warnings found!
Rust crates security audit
Unknown warning kind unsound found, please, file a bug
Rust crates security audit
Unknown warning kind unsound found, please, file a bug
Rust crates security audit
Unknown warning kind unsound found, please, file a bug
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
unused import: `io::Read`: packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read` --> packages/rs-platform-serialization/src/features/impl_std.rs:17:5 | 17 | io::Read, | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
function `platform_versioned_decode_from_std_read` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:30:8 | 30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `new` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:44:12 | 43 | impl<R> IoReader<R> { | ------------------- associated function in this implementation 44 | pub fn new(reader: R) -> Self { | ^^^
function `encode_into_std_write` is never used: packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used --> packages/rs-platform-serialization/src/features/impl_std.rs:70:8 | 70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>( | ^^^^^^^^^^^^^^^^^^^^^
associated items `new` and `bytes_written` are never used: packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used --> packages/rs-platform-serialization/src/features/impl_std.rs:87:12 | 86 | impl<'a, W: std::io::Write> IoWriter<'a, W> { | ------------------------------------------- associated items in this implementation 87 | pub fn new(writer: &'a mut W) -> Self { | ^^^ ... 94 | pub fn bytes_written(&self) -> usize { | ^^^^^^^^^^^^^
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:27:1 | 27 | impl_platform_versioned_borrow_decode!(bool); | -------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: `#[warn(unconditional_recursion)]` on by default = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:38:1 | 38 | impl_platform_versioned_borrow_decode!(u8); | ------------------------------------------ in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:48:1 | 48 | impl_platform_versioned_borrow_decode!(NonZeroU8); | ------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:58:1 | 58 | impl_platform_versioned_borrow_decode!(u16); | ------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
function cannot return without recursing: packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing --> packages/rs-platform-serialization/src/de/mod.rs:104:13 | 104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>( 105 | | decoder: &mut D, 106 | | platform_version: &PlatformVersion, 107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> { | |________________________________________________________________________^ cannot return without recursing 108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode( 109 | | decoder, 110 | | platform_version, 111 | | ) | |_________________- recursive call site | ::: packages/rs-platform-serialization/src/de/impls.rs:68:1 | 68 | impl_platform_versioned_borrow_decode!(NonZeroU16); | -------------------------------------------------- in this macro invocation | = help: a `loop` may express intention better if this is on purpose = note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Client.ts#L162
Assignment to function parameter 'options'
JS packages (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 packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.spec.ts#L5
Using exported name 'Client' as identifier for default export
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L5
Using exported name 'Client' as identifier for default export
JS packages (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)
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.