[INFO] fetching crate ed-journals 0.5.1... [INFO] checking ed-journals-0.5.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ed-journals 0.5.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ed-journals 0.5.1 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 ed-journals 0.5.1 [INFO] finished tweaking crates.io crate ed-journals 0.5.1 [INFO] tweaked toml for crates.io crate ed-journals 0.5.1 written to /workspace/builds/worker-3-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 107 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding inotify v0.9.6 (available: v0.11.0) [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.2) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 156e1d4919c24729179e7259d8ac6945798ead32be8b9980e1fcd55df460c717 [INFO] running `Command { std: "docker" "start" "-a" "156e1d4919c24729179e7259d8ac6945798ead32be8b9980e1fcd55df460c717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "156e1d4919c24729179e7259d8ac6945798ead32be8b9980e1fcd55df460c717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156e1d4919c24729179e7259d8ac6945798ead32be8b9980e1fcd55df460c717", kill_on_drop: false }` [INFO] [stdout] 156e1d4919c24729179e7259d8ac6945798ead32be8b9980e1fcd55df460c717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 88133bd2385869dcbe39bf4be8bc0e3dbbd0f1c155d22296ccab83102bffb483 [INFO] running `Command { std: "docker" "start" "-a" "88133bd2385869dcbe39bf4be8bc0e3dbbd0f1c155d22296ccab83102bffb483", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling kinded_macros v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking kinded v0.3.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking regex-macro v0.2.0 [INFO] [stderr] Checking ed-journals v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EngineerError` [INFO] [stdout] --> src/modules/logs/content/log_event_content/engineer_progress_event.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::civilization::{Engineer, EngineerError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/modules/state/models/planet_state.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Species` [INFO] [stdout] --> src/modules/state/models/system_state.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exobiology::{SpawnSourceStar, Species, TargetSystem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/modules/state/models/system_state.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Species` [INFO] [stdout] --> src/modules/state/models/system_state.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | use crate::exobiology::{SpawnSource, Species}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Atmosphere`, `PlanetClass`, `PlanetComposition`, `StarClass`, `StarLuminosity`, and `Volcanism` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Atmosphere, AtmosphereDensity, AtmosphereType, Nebula, PlanetClass, PlanetComposition, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | StarClass, StarLuminosity, Volcanism, VolcanismType, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_str_deserialize_impl` [INFO] [stdout] --> src/modules/civilization/models/engineer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{from_str_deserialize_impl, try_from_deserialize_impl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::galaxy::StarClass::Y` [INFO] [stdout] --> src/modules/ship/models/ship_module/ship_internal_module.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::galaxy::StarClass::Y; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShipInternalModule` [INFO] [stdout] --> src/modules/ship/models/ship_module.rs:204:70 [INFO] [stdout] | [INFO] [stdout] 204 | use crate::ship::{HardpointMounting, HardpointSize, ModuleClass, ShipInternalModule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EngineerError` [INFO] [stdout] --> src/modules/logs/content/log_event_content/engineer_progress_event.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::civilization::{Engineer, EngineerError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/modules/state/models/planet_state.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Species` [INFO] [stdout] --> src/modules/state/models/system_state.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exobiology::{SpawnSourceStar, Species, TargetSystem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Atmosphere`, `PlanetClass`, `PlanetComposition`, `StarClass`, `StarLuminosity`, and `Volcanism` [INFO] [stdout] --> src/modules/exobiology/models/spawn_source.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Atmosphere, AtmosphereDensity, AtmosphereType, Nebula, PlanetClass, PlanetComposition, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | StarClass, StarLuminosity, Volcanism, VolcanismType, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_str_deserialize_impl` [INFO] [stdout] --> src/modules/civilization/models/engineer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{from_str_deserialize_impl, try_from_deserialize_impl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::galaxy::StarClass::Y` [INFO] [stdout] --> src/modules/ship/models/ship_module/ship_internal_module.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::galaxy::StarClass::Y; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/modules/logs/content/log_event_content/community_goal_event.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let goal: CommunityGoalEvent = serde_json::from_str( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_goal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/modules/logs/content/log_event_content/community_goal_event.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let goal: CommunityGoalEventGoal = serde_json::from_str( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_goal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/logs/content/log_event_content.rs:878:13 [INFO] [stdout] | [INFO] [stdout] 877 | LogEventContent::CarrierJump(event) => event.system_info.body_id, [INFO] [stdout] | ----------------------------------- matches all the relevant values [INFO] [stdout] 878 | LogEventContent::CarrierJump(event) => event.system_info.body_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/logs/content/log_event_content.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 889 | LogEventContent::Touchdown(event) => event.body_id, [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] 890 | LogEventContent::ScanOrganic(event) => event.body, [INFO] [stdout] 891 | LogEventContent::Touchdown(event) => event.body_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/logs/content/log_event_content.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 900 | LogEventContent::CarrierJump(event) => &event.system_info.body, [INFO] [stdout] | ----------------------------------- matches all the relevant values [INFO] [stdout] 901 | LogEventContent::CarrierJump(event) => &event.system_info.body, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/modules/logs/blocking/log_dir_reader.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | for entry in reader { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/state/models/commander_state.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 81 | LogEventContent::CarrierJump(carrier_jump) => { [INFO] [stdout] | ------------------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 141 | LogEventContent::CarrierJump(_) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/modules/state/models/commander_state.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | LogEventContent::Died(event) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/state/models/game_state.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 133 | let mut state = GameState::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut genuses = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/exobiology/models/variant.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut lines = content.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/exobiology/models/variant.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut lines = content.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/civilization/models/crime.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut lines = content.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/logs/content/log_event_content.rs:878:13 [INFO] [stdout] | [INFO] [stdout] 877 | LogEventContent::CarrierJump(event) => event.system_info.body_id, [INFO] [stdout] | ----------------------------------- matches all the relevant values [INFO] [stdout] 878 | LogEventContent::CarrierJump(event) => event.system_info.body_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/logs/content/log_event_content.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 889 | LogEventContent::Touchdown(event) => event.body_id, [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] 890 | LogEventContent::ScanOrganic(event) => event.body, [INFO] [stdout] 891 | LogEventContent::Touchdown(event) => event.body_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/logs/content/log_event_content.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 900 | LogEventContent::CarrierJump(event) => &event.system_info.body, [INFO] [stdout] | ----------------------------------- matches all the relevant values [INFO] [stdout] 901 | LogEventContent::CarrierJump(event) => &event.system_info.body, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/state/models/commander_state.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 81 | LogEventContent::CarrierJump(carrier_jump) => { [INFO] [stdout] | ------------------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 141 | LogEventContent::CarrierJump(_) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/modules/state/models/commander_state.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | LogEventContent::Died(event) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/ship/models/blueprint.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut lines = contents.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/ship/models/ship_module.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut lines = content.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_file_header` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut found_file_header = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_file_header` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_file_header` is never read [INFO] [stdout] --> src/lib.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | found_file_header = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_game_event_is_parsed_correctly` is never used [INFO] [stdout] --> src/modules/logs/content/log_event_content/load_game_event.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn load_game_event_is_parsed_correctly() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ed-journals` (lib test) due to 2 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "88133bd2385869dcbe39bf4be8bc0e3dbbd0f1c155d22296ccab83102bffb483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88133bd2385869dcbe39bf4be8bc0e3dbbd0f1c155d22296ccab83102bffb483", kill_on_drop: false }` [INFO] [stdout] 88133bd2385869dcbe39bf4be8bc0e3dbbd0f1c155d22296ccab83102bffb483