[INFO] fetching crate genie-scx 4.0.0... [INFO] checking genie-scx-4.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate genie-scx 4.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate genie-scx 4.0.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genie-scx 4.0.0 [INFO] finished tweaking crates.io crate genie-scx 4.0.0 [INFO] tweaked toml for crates.io crate genie-scx 4.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c09866b8f7eb1318d0d6dca18d42355ba0a759b77745e28322108ce58863ce4 [INFO] running `Command { std: "docker" "start" "-a" "1c09866b8f7eb1318d0d6dca18d42355ba0a759b77745e28322108ce58863ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c09866b8f7eb1318d0d6dca18d42355ba0a759b77745e28322108ce58863ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c09866b8f7eb1318d0d6dca18d42355ba0a759b77745e28322108ce58863ce4", kill_on_drop: false }` [INFO] [stdout] 1c09866b8f7eb1318d0d6dca18d42355ba0a759b77745e28322108ce58863ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76d1a0c27c939b978bd07ff3f796ba067e857a5c03e35f9e3b66fa95f3fb599f [INFO] running `Command { std: "docker" "start" "-a" "76d1a0c27c939b978bd07ff3f796ba067e857a5c03e35f9e3b66fa95f3fb599f", kill_on_drop: false }` [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking genie-support v1.0.0 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking genie-scx v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/bitmap.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl BitmapInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `own_memory`, `width`, `height`, `orientation`, `info`, and `pixels` are never read [INFO] [stdout] --> src/bitmap.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Bitmap { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 79 | own_memory: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | orientation: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | info: BitmapInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | pixels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitmap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write_to` and `write_empty` are never used [INFO] [stdout] --> src/bitmap.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Bitmap { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn write_empty(mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mission_bmp` is never read [INFO] [stdout] --> src/format.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) struct RGEScen { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | mission_bmp: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RGEScen` has derived impls for the traits `Default`, `Clone`, and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `combat_mode` and `naval_mode` are never read [INFO] [stdout] --> src/format.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct TribeScen { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 557 | combat_mode: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | naval_mode: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TribeScen` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `set_name` are never used [INFO] [stdout] --> src/player.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl ScenarioPlayerData { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 104 | /// Get the default player name. [INFO] [stdout] 105 | pub fn name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_name(&mut self, name: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/convert/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn convert(&self, scen: &mut Scenario) -> Result<(), ConvertError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/convert/aoc_to_wk.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AoCToWK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/format.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn read_from(mut input: impl Read, version: SCXVersion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/format.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn write_to(&self, mut output: impl Write, version: SCXVersion) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/format.rs:1114:5 [INFO] [stdout] | [INFO] [stdout] 1114 | pub fn version(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/format.rs:1118:5 [INFO] [stdout] | [INFO] [stdout] 1118 | pub fn description(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/header.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DLCOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_from(mut input: impl Read) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/header.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/header.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct SCXHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/types.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | pub enum VictoryCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | Capture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | Create, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | Destroy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | DestroyMultiple, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | BringToArea, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | BringToObject, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | Attribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | Explore, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | CreateInArea, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | DestroyAll, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | DestroyPlayer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | Points, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | Other(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/victory.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct VictoryEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn read_from(mut input: impl Read) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/victory.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/victory.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct VictoryPointEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn read_from(mut input: impl Read, version: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/victory.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn write_to(&self, mut output: impl Write, version: f32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/victory.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct VictoryConditions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub version: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub total_points: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub starting_points: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub starting_group: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub point_entries: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn from(input: &mut R, has_version: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn read_from(mut input: impl Read, has_version: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/victory.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn write_to(&self, mut output: impl Write, version: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/bitmap.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl BitmapInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `own_memory`, `width`, `height`, `orientation`, `info`, and `pixels` are never read [INFO] [stdout] --> src/bitmap.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Bitmap { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 79 | own_memory: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | orientation: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | info: BitmapInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | pixels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bitmap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write_to` and `write_empty` are never used [INFO] [stdout] --> src/bitmap.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Bitmap { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn write_empty(mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mission_bmp` is never read [INFO] [stdout] --> src/format.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) struct RGEScen { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | mission_bmp: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RGEScen` has derived impls for the traits `Default`, `Clone`, and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `combat_mode` and `naval_mode` are never read [INFO] [stdout] --> src/format.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct TribeScen { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 557 | combat_mode: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | naval_mode: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TribeScen` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `set_name` are never used [INFO] [stdout] --> src/player.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl ScenarioPlayerData { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 104 | /// Get the default player name. [INFO] [stdout] 105 | pub fn name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_name(&mut self, name: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/convert/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn convert(&self, scen: &mut Scenario) -> Result<(), ConvertError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/convert/aoc_to_wk.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AoCToWK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/format.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn read_from(mut input: impl Read, version: SCXVersion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/format.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn write_to(&self, mut output: impl Write, version: SCXVersion) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/format.rs:1114:5 [INFO] [stdout] | [INFO] [stdout] 1114 | pub fn version(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/format.rs:1118:5 [INFO] [stdout] | [INFO] [stdout] 1118 | pub fn description(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/header.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DLCOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_from(mut input: impl Read) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/header.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/header.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct SCXHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/types.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | pub enum VictoryCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | Capture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | Create, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | Destroy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | DestroyMultiple, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | BringToArea, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | BringToObject, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | Attribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | Explore, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | CreateInArea, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | DestroyAll, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | DestroyPlayer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | Points, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/types.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | Other(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/victory.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct VictoryEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn read_from(mut input: impl Read) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/victory.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn write_to(&self, mut output: impl Write) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/victory.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct VictoryPointEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn read_from(mut input: impl Read, version: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/victory.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn write_to(&self, mut output: impl Write, version: f32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/victory.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct VictoryConditions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub version: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub total_points: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub starting_points: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub starting_group: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/victory.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub point_entries: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn from(input: &mut R, has_version: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/victory.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn read_from(mut input: impl Read, has_version: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/victory.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn write_to(&self, mut output: impl Write, version: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "76d1a0c27c939b978bd07ff3f796ba067e857a5c03e35f9e3b66fa95f3fb599f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d1a0c27c939b978bd07ff3f796ba067e857a5c03e35f9e3b66fa95f3fb599f", kill_on_drop: false }` [INFO] [stdout] 76d1a0c27c939b978bd07ff3f796ba067e857a5c03e35f9e3b66fa95f3fb599f