Skip to content

Support for reading CCGameManager.dat and other plist based local files #49

Support for reading CCGameManager.dat and other plist based local files

Support for reading CCGameManager.dat and other plist based local files #49

Triggered via pull request December 28, 2023 19:53
@staduststadust
synchronize #42
plist-support
Status Success
Total duration 45s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

rust-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

64 warnings
methods `expect_text`, `expect_tag_end`, `expect_simple_tag`, and `expect_key` are never used: src/serde/de/plist.rs#L70
warning: methods `expect_text`, `expect_tag_end`, `expect_simple_tag`, and `expect_key` are never used --> src/serde/de/plist.rs:70:8 | 46 | impl<'de> PlistDeserializer<'de> { | -------------------------------- methods in this implementation ... 70 | fn expect_text(&mut self) -> Result<Cow<'de, [u8]>, Error<'de>> { | ^^^^^^^^^^^ ... 77 | fn expect_tag_end(&mut self, tag: &str) -> Result<(), Error<'de>> { | ^^^^^^^^^^^^^^ ... 84 | fn expect_simple_tag(&mut self, tag: &str) -> Result<Cow<'de, [u8]>, Error<'de>> { | ^^^^^^^^^^^^^^^^^ ... 91 | fn expect_key(&mut self) -> Result<Cow<'de, [u8]>, Error<'de>> { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unused variable: `visitor`: src/serde/de/plist.rs#L299
warning: unused variable: `visitor` --> src/serde/de/plist.rs:299:41 | 299 | fn deserialize_ignored_any<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L292
warning: unused variable: `visitor` --> src/serde/de/plist.rs:292:40 | 292 | fn deserialize_identifier<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L284
warning: unused variable: `visitor` --> src/serde/de/plist.rs:284:70 | 284 | self, name: &'static str, variants: &'static [&'static str], visitor: V, | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `variants`: src/serde/de/plist.rs#L284
warning: unused variable: `variants` --> src/serde/de/plist.rs:284:35 | 284 | self, name: &'static str, variants: &'static [&'static str], visitor: V, | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants`
unused variable: `name`: src/serde/de/plist.rs#L284
warning: unused variable: `name` --> src/serde/de/plist.rs:284:15 | 284 | self, name: &'static str, variants: &'static [&'static str], visitor: V, | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
unused variable: `visitor`: src/serde/de/plist.rs#L275
warning: unused variable: `visitor` --> src/serde/de/plist.rs:275:68 | 275 | self, name: &'static str, fields: &'static [&'static str], visitor: V, | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `fields`: src/serde/de/plist.rs#L275
warning: unused variable: `fields` --> src/serde/de/plist.rs:275:35 | 275 | self, name: &'static str, fields: &'static [&'static str], visitor: V, | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields`
unused variable: `name`: src/serde/de/plist.rs#L275
warning: unused variable: `name` --> src/serde/de/plist.rs:275:15 | 275 | self, name: &'static str, fields: &'static [&'static str], visitor: V, | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
unused variable: `visitor`: src/serde/de/plist.rs#L267
warning: unused variable: `visitor` --> src/serde/de/plist.rs:267:33 | 267 | fn deserialize_map<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L260
warning: unused variable: `visitor` --> src/serde/de/plist.rs:260:74 | 260 | fn deserialize_tuple_struct<V>(self, name: &'static str, len: usize, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `len`: src/serde/de/plist.rs#L260
warning: unused variable: `len` --> src/serde/de/plist.rs:260:62 | 260 | fn deserialize_tuple_struct<V>(self, name: &'static str, len: usize, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^ help: if this is intentional, prefix it with an underscore: `_len`
unused variable: `name`: src/serde/de/plist.rs#L260
warning: unused variable: `name` --> src/serde/de/plist.rs:260:42 | 260 | fn deserialize_tuple_struct<V>(self, name: &'static str, len: usize, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
unused variable: `visitor`: src/serde/de/plist.rs#L253
warning: unused variable: `visitor` --> src/serde/de/plist.rs:253:47 | 253 | fn deserialize_tuple<V>(self, len: usize, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `len`: src/serde/de/plist.rs#L253
warning: unused variable: `len` --> src/serde/de/plist.rs:253:35 | 253 | fn deserialize_tuple<V>(self, len: usize, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^ help: if this is intentional, prefix it with an underscore: `_len`
unused variable: `visitor`: src/serde/de/plist.rs#L246
warning: unused variable: `visitor` --> src/serde/de/plist.rs:246:33 | 246 | fn deserialize_seq<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L239
warning: unused variable: `visitor` --> src/serde/de/plist.rs:239:64 | 239 | fn deserialize_newtype_struct<V>(self, name: &'static str, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `name`: src/serde/de/plist.rs#L239
warning: unused variable: `name` --> src/serde/de/plist.rs:239:44 | 239 | fn deserialize_newtype_struct<V>(self, name: &'static str, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
unused variable: `visitor`: src/serde/de/plist.rs#L232
warning: unused variable: `visitor` --> src/serde/de/plist.rs:232:61 | 232 | fn deserialize_unit_struct<V>(self, name: &'static str, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `name`: src/serde/de/plist.rs#L232
warning: unused variable: `name` --> src/serde/de/plist.rs:232:41 | 232 | fn deserialize_unit_struct<V>(self, name: &'static str, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
unused variable: `visitor`: src/serde/de/plist.rs#L225
warning: unused variable: `visitor` --> src/serde/de/plist.rs:225:34 | 225 | fn deserialize_unit<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L218
warning: unused variable: `visitor` --> src/serde/de/plist.rs:218:36 | 218 | fn deserialize_option<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L211
warning: unused variable: `visitor` --> src/serde/de/plist.rs:211:38 | 211 | fn deserialize_byte_buf<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L204
warning: unused variable: `visitor` --> src/serde/de/plist.rs:204:35 | 204 | fn deserialize_bytes<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L197
warning: unused variable: `visitor` --> src/serde/de/plist.rs:197:36 | 197 | fn deserialize_string<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L190
warning: unused variable: `visitor` --> src/serde/de/plist.rs:190:33 | 190 | fn deserialize_str<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L183
warning: unused variable: `visitor` --> src/serde/de/plist.rs:183:34 | 183 | fn deserialize_char<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L176
warning: unused variable: `visitor` --> src/serde/de/plist.rs:176:33 | 176 | fn deserialize_f64<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L169
warning: unused variable: `visitor` --> src/serde/de/plist.rs:169:33 | 169 | fn deserialize_f32<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L162
warning: unused variable: `visitor` --> src/serde/de/plist.rs:162:33 | 162 | fn deserialize_u64<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L155
warning: unused variable: `visitor` --> src/serde/de/plist.rs:155:33 | 155 | fn deserialize_u32<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L148
warning: unused variable: `visitor` --> src/serde/de/plist.rs:148:33 | 148 | fn deserialize_u16<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L141
warning: unused variable: `visitor` --> src/serde/de/plist.rs:141:32 | 141 | fn deserialize_u8<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L134
warning: unused variable: `visitor` --> src/serde/de/plist.rs:134:33 | 134 | fn deserialize_i64<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L127
warning: unused variable: `visitor` --> src/serde/de/plist.rs:127:33 | 127 | fn deserialize_i32<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L120
warning: unused variable: `visitor` --> src/serde/de/plist.rs:120:33 | 120 | fn deserialize_i16<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L113
warning: unused variable: `visitor` --> src/serde/de/plist.rs:113:32 | 113 | fn deserialize_i8<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L106
warning: unused variable: `visitor` --> src/serde/de/plist.rs:106:34 | 106 | fn deserialize_bool<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
unused variable: `visitor`: src/serde/de/plist.rs#L99
warning: unused variable: `visitor` --> src/serde/de/plist.rs:99:33 | 99 | fn deserialize_any<V>(self, visitor: V) -> Result<<V as Visitor<'de>>::Value, Self::Error> | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` | = note: `#[warn(unused_variables)]` on by default
unused import: `std::ops::Deref`: src/serde/de/plist.rs#L2
warning: unused import: `std::ops::Deref` --> src/serde/de/plist.rs:2:5 | 2 | use std::ops::Deref; | ^^^^^^^^^^^^^^^
unused import: `write`: src/serde/de/plist.rs#L1
warning: unused import: `write` --> src/serde/de/plist.rs:1:43 | 1 | use std::fmt::{Debug, Display, Formatter, write}; | ^^^^^
unused imports: `collections::HashMap`, `fmt::Formatter`: src/serde/de/mod.rs#L10
warning: unused imports: `collections::HashMap`, `fmt::Formatter` --> src/serde/de/mod.rs:10:11 | 10 | use std::{collections::HashMap, fmt::Formatter}; | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
unused imports: `Deserializer`, `MapAccess`, `Visitor`: src/serde/de/mod.rs#L7
warning: unused imports: `Deserializer`, `MapAccess`, `Visitor` --> src/serde/de/mod.rs:7:10 | 7 | de::{MapAccess, Visitor}, | ^^^^^^^^^ ^^^^^^^ 8 | Deserializer, | ^^^^^^^^^^^^
unused import: `crate::serde::IndexedDeserializer`: src/serde/de/mod.rs#L5
warning: unused import: `crate::serde::IndexedDeserializer` --> src/serde/de/mod.rs:5:5 | 5 | use crate::serde::IndexedDeserializer; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Clippy Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check: src/serde/de/mod.rs#L5
unused import: `crate::serde::IndexedDeserializer`
Check: src/serde/de/mod.rs#L7
unused imports: `Deserializer`, `MapAccess`, `Visitor`
Check: src/serde/de/mod.rs#L10
unused imports: `collections::HashMap`, `fmt::Formatter`
Check: src/serde/de/plist.rs#L1
unused import: `write`
Check: src/serde/de/plist.rs#L2
unused import: `std::ops::Deref`
Check: src/serde/de/plist.rs#L99
unused variable: `visitor`
Check: src/serde/de/plist.rs#L106
unused variable: `visitor`
Check: src/serde/de/plist.rs#L113
unused variable: `visitor`
Check: src/serde/de/plist.rs#L120
unused variable: `visitor`
Check: src/serde/de/plist.rs#L127
unused variable: `visitor`
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/