Skip to content

RS Drive

RS Drive #2108

Triggered via schedule November 8, 2023 04:34
Status Failure
Total duration 24m 6s
Artifacts

rs-drive.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Rust / check_structure_changes
Process completed with exit code 1.
fields `allow_prepend_version` and `force_prepend_version` are never read: packages/rs-platform-serialization-derive/src/lib.rs#L29
warning: fields `allow_prepend_version` and `force_prepend_version` are never read --> packages/rs-platform-serialization-derive/src/lib.rs:29:5 | 21 | struct VersionAttributes { | ----------------- fields in this struct ... 29 | allow_prepend_version: bool, | ^^^^^^^^^^^^^^^^^^^^^ 30 | force_prepend_version: bool, | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
fields `allow_prepend_version` and `force_prepend_version` are never read: packages/rs-platform-serialization-derive/src/lib.rs#L29
warning: fields `allow_prepend_version` and `force_prepend_version` are never read --> packages/rs-platform-serialization-derive/src/lib.rs:29:5 | 21 | struct VersionAttributes { | ----------------- fields in this struct ... 29 | allow_prepend_version: bool, | ^^^^^^^^^^^^^^^^^^^^^ 30 | force_prepend_version: bool, | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
function `derive_borrow_decode_inner` is never used: packages/rs-platform-serialization-derive/src/derive_bincode.rs#L62
warning: function `derive_borrow_decode_inner` is never used --> packages/rs-platform-serialization-derive/src/derive_bincode.rs:62:15 | 62 | pub(crate) fn derive_borrow_decode_inner(input: TokenStream) -> Result<TokenStream> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^
function `derive_borrow_decode_inner` is never used: packages/rs-platform-serialization-derive/src/derive_bincode.rs#L62
warning: function `derive_borrow_decode_inner` is never used --> packages/rs-platform-serialization-derive/src/derive_bincode.rs:62:15 | 62 | pub(crate) fn derive_borrow_decode_inner(input: TokenStream) -> Result<TokenStream> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^
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)