[INFO] cloning repository https://github.com/luteberget/bnb_spp_rail [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luteberget/bnb_spp_rail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluteberget%2Fbnb_spp_rail", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluteberget%2Fbnb_spp_rail'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff30360cd856d3d70c232fa0a076c5a122f15164 [INFO] building luteberget/bnb_spp_rail against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluteberget%2Fbnb_spp_rail" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 48% (79/162) Updating files: 49% (80/162) Updating files: 50% (81/162) Updating files: 51% (83/162) Updating files: 52% (85/162) Updating files: 53% (86/162) Updating files: 54% (88/162) Updating files: 55% (90/162) Updating files: 56% (91/162) Updating files: 57% (93/162) Updating files: 58% (94/162) Updating files: 59% (96/162) Updating files: 60% (98/162) Updating files: 61% (99/162) Updating files: 62% (101/162) Updating files: 63% (103/162) Updating files: 64% (104/162) Updating files: 65% (106/162) Updating files: 66% (107/162) Updating files: 67% (109/162) Updating files: 68% (111/162) Updating files: 69% (112/162) Updating files: 70% (114/162) Updating files: 71% (116/162) Updating files: 72% (117/162) Updating files: 73% (119/162) Updating files: 74% (120/162) Updating files: 75% (122/162) Updating files: 76% (124/162) Updating files: 77% (125/162) Updating files: 78% (127/162) Updating files: 79% (128/162) Updating files: 80% (130/162) Updating files: 81% (132/162) Updating files: 82% (133/162) Updating files: 83% (135/162) Updating files: 84% (137/162) Updating files: 85% (138/162) Updating files: 86% (140/162) Updating files: 87% (141/162) Updating files: 88% (143/162) Updating files: 89% (145/162) Updating files: 90% (146/162) Updating files: 91% (148/162) Updating files: 92% (150/162) Updating files: 93% (151/162) Updating files: 94% (153/162) Updating files: 95% (154/162) Updating files: 96% (156/162) Updating files: 97% (158/162) Updating files: 98% (159/162) Updating files: 99% (161/162) Updating files: 100% (162/162) Updating files: 100% (162/162), done. [INFO] validating manifest of git repo https://github.com/luteberget/bnb_spp_rail on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luteberget/bnb_spp_rail [INFO] finished tweaking git repo https://github.com/luteberget/bnb_spp_rail [INFO] tweaked toml for git repo https://github.com/luteberget/bnb_spp_rail written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/luteberget/bnb_spp_rail already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45676e19e6d7e63e966f908358467e610fc950aba869a8ff441a499f6a3178be [INFO] running `Command { std: "docker" "start" "-a" "45676e19e6d7e63e966f908358467e610fc950aba869a8ff441a499f6a3178be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45676e19e6d7e63e966f908358467e610fc950aba869a8ff441a499f6a3178be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45676e19e6d7e63e966f908358467e610fc950aba869a8ff441a499f6a3178be", kill_on_drop: false }` [INFO] [stdout] 45676e19e6d7e63e966f908358467e610fc950aba869a8ff441a499f6a3178be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06bb0ee15cd57a1c41396842b9ca43c5f1f54541e4822e84ca50a96f7666c3eb [INFO] running `Command { std: "docker" "start" "-a" "06bb0ee15cd57a1c41396842b9ca43c5f1f54541e4822e84ca50a96f7666c3eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling bnb_spp_rail v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `train_info`, `line_movements`, and `station_movements` are never read [INFO] [stdout] --> src/problem.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Problem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 32 | pub status: Status, [INFO] [stdout] 33 | pub train_info: TrainInfos, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub line_movements: LineMovements, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub station_movements: StationMovements, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `now`, `lined_routes`, `blocks`, `slowdowns`, and `dispatcher_solved_conflicts` are never read [INFO] [stdout] --> src/problem.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 41 | pub now: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub trains: Vec, [INFO] [stdout] 43 | pub lined_routes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub blocks: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub slowdowns: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | pub dispatcher_solved_conflicts: Vec<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `train_positions`, `train_mode`, `train_hold_main`, `current_length`, and `train_category` are never read [INFO] [stdout] --> src/problem.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Train { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 53 | pub train_positions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub train_mode: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | pub train_hold_main: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub current_length: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub train_category: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Train` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_position`, `time_in`, `station_position`, and `track_circuit_position` are never read [INFO] [stdout] --> src/problem.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct TrainPosition { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 72 | pub current_position: CurrentPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub time_in: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | pub station_position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub track_circuit_position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_id`, `stopping_point_id`, and `route_id` are never read [INFO] [stdout] --> src/problem.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct StationPosition { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 81 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | pub stopping_point_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | pub route_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_id` and `track_circuit_id` are never read [INFO] [stdout] --> src/problem.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TrackCircuitPosition { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 89 | pub track_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | pub track_circuit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackCircuitPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_id`, `route_id`, `train_id`, and `type_` are never read [INFO] [stdout] --> src/problem.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct LinedRoute { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 96 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | pub route_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 98 | pub train_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 99 | #[serde(rename = "type")] [INFO] [stdout] 100 | pub type_: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_id`, `start_time`, `duration`, `block_type`, `resources`, and `long_term` are never read [INFO] [stdout] --> src/problem.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 113 | pub block_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 114 | pub start_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 115 | pub duration: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 116 | pub block_type: BlockType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 117 | pub resources: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 118 | pub long_term: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_resource` and `track_resource` are never read [INFO] [stdout] --> src/problem.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct BlockResource { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 124 | pub station_resource: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | pub track_resource: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_id`, `route_id`, and `stopping_point_id` are never read [INFO] [stdout] --> src/problem.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct StationBlockResource { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 131 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | pub route_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | pub stopping_point_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationBlockResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_id` is never read [INFO] [stdout] --> src/problem.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct TrackBlockResource { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 139 | pub track_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackBlockResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `slowdown_id`, `start_time`, `duration`, `speed`, `resources`, and `description` are never read [INFO] [stdout] --> src/problem.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Slowdown { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 145 | pub slowdown_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 146 | pub start_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 147 | pub duration: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 148 | pub speed: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | pub resources: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 150 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slowdown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `train_infos` is never read [INFO] [stdout] --> src/problem.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TrainInfos { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 156 | pub train_infos: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct TrainInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 162 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | pub priority: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | pub default_length: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub speed: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 166 | pub line_point_headway: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | pub followers: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 168 | pub crossings: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_movements` is never read [INFO] [stdout] --> src/problem.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct LineMovements { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 174 | pub line_movements: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_movements` is never read [INFO] [stdout] --> src/problem.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct TrainLineMovements { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 180 | pub track_movements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainLineMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct TrackMovement { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 186 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 187 | pub track_circuit_infos: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 188 | pub reachable_track_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 189 | pub track_runtime_infos: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 190 | pub min_cumulative_runtime: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 191 | pub min_cumulative_runtimes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | pub best_out_track_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 193 | pub correct_path_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | pub min_reverse_switches: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | pub min_reverse_switches_by_track: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 196 | pub preferred_out_track_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 197 | pub min_non_preferred: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | pub min_non_preferred_by_track: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | pub distance_from_mandatory_non_preferred: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | pub available_mask: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackMovement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_running_time`, `line_headway`, `track_circuit_running_times`, `reverse_track_running_time`, and `reverse_track_circuit_running_times` are never read [INFO] [stdout] --> src/problem.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct TrackRuntimeInfo { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 206 | pub track_running_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | pub line_headway: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 208 | pub track_circuit_running_times: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | pub reverse_track_running_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | pub reverse_track_circuit_running_times: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackRuntimeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_circuit_id` and `running_time` are never read [INFO] [stdout] --> src/problem.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct TrackCircuitRunningTime { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 216 | pub track_circuit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub running_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackCircuitRunningTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct TrackCircuitInfo { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 223 | pub track_circuit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 224 | pub dwell_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 225 | pub activities: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 226 | pub new_projected_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | pub dwell_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 228 | #[serde(rename = "activityIds")] [INFO] [stdout] 229 | pub activity_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 230 | pub penalty: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 231 | pub end_of_graph: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 232 | pub earliest_departure_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 233 | pub relative_edt: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackCircuitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `train_movements` is never read [INFO] [stdout] --> src/problem.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct StationMovements { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 246 | pub train_movements: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `station_movements` is never read [INFO] [stdout] --> src/problem.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct TrainStationMovements { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 252 | pub station_movements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainStationMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_nodes` and `entry_track_ids` are never read [INFO] [stdout] --> src/problem.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct TrainStationMovement { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 258 | pub station_nodes: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 259 | pub entry_track_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainStationMovement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct StationNode { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 265 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 266 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 267 | pub default_min_cumulative_runtime: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub min_cumulative_runtime: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub next_edges: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 270 | pub min_clearance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 271 | pub available_mask: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 272 | pub correct_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 273 | pub dwell_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 274 | pub activities: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 275 | pub runtime_info_set: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | pub prev_edges: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 277 | #[serde(rename = "isPreferred")] [INFO] [stdout] 278 | pub is_preferred: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 279 | #[serde(rename = "activityIds")] [INFO] [stdout] 280 | pub activity_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 281 | pub reachable_stopping_points: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 282 | pub reachable_tracks: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | pub new_projected_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 284 | pub dwell_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 285 | pub relative_edt: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 286 | pub earliest_departure_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 287 | pub end_of_graph: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 288 | pub penalty: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime_infos` is never read [INFO] [stdout] --> src/problem.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct RuntimeInfoSet { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 294 | pub runtime_infos: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeInfoSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `running_time` and `clearance` are never read [INFO] [stdout] --> src/problem.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct RuntimeInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 300 | pub running_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 301 | pub clearance: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.60s [INFO] running `Command { std: "docker" "inspect" "06bb0ee15cd57a1c41396842b9ca43c5f1f54541e4822e84ca50a96f7666c3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06bb0ee15cd57a1c41396842b9ca43c5f1f54541e4822e84ca50a96f7666c3eb", kill_on_drop: false }` [INFO] [stdout] 06bb0ee15cd57a1c41396842b9ca43c5f1f54541e4822e84ca50a96f7666c3eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fcd829e480d28331a867efefa26149c5a2c9ddf79603d872e3fe6e2b5cd010c [INFO] running `Command { std: "docker" "start" "-a" "8fcd829e480d28331a867efefa26149c5a2c9ddf79603d872e3fe6e2b5cd010c", kill_on_drop: false }` [INFO] [stderr] Compiling bnb_spp_rail v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `train_info`, `line_movements`, and `station_movements` are never read [INFO] [stdout] --> src/problem.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Problem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 32 | pub status: Status, [INFO] [stdout] 33 | pub train_info: TrainInfos, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub line_movements: LineMovements, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub station_movements: StationMovements, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `now`, `lined_routes`, `blocks`, `slowdowns`, and `dispatcher_solved_conflicts` are never read [INFO] [stdout] --> src/problem.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 41 | pub now: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub trains: Vec, [INFO] [stdout] 43 | pub lined_routes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub blocks: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub slowdowns: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | pub dispatcher_solved_conflicts: Vec<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `train_positions`, `train_mode`, `train_hold_main`, `current_length`, and `train_category` are never read [INFO] [stdout] --> src/problem.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Train { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 53 | pub train_positions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub train_mode: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | pub train_hold_main: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub current_length: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub train_category: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Train` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_position`, `time_in`, `station_position`, and `track_circuit_position` are never read [INFO] [stdout] --> src/problem.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct TrainPosition { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 72 | pub current_position: CurrentPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub time_in: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | pub station_position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub track_circuit_position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_id`, `stopping_point_id`, and `route_id` are never read [INFO] [stdout] --> src/problem.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct StationPosition { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 81 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | pub stopping_point_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | pub route_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_id` and `track_circuit_id` are never read [INFO] [stdout] --> src/problem.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TrackCircuitPosition { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 89 | pub track_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | pub track_circuit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackCircuitPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_id`, `route_id`, `train_id`, and `type_` are never read [INFO] [stdout] --> src/problem.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct LinedRoute { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 96 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | pub route_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 98 | pub train_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 99 | #[serde(rename = "type")] [INFO] [stdout] 100 | pub type_: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_id`, `start_time`, `duration`, `block_type`, `resources`, and `long_term` are never read [INFO] [stdout] --> src/problem.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 113 | pub block_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 114 | pub start_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 115 | pub duration: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 116 | pub block_type: BlockType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 117 | pub resources: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 118 | pub long_term: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_resource` and `track_resource` are never read [INFO] [stdout] --> src/problem.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct BlockResource { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 124 | pub station_resource: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | pub track_resource: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_id`, `route_id`, and `stopping_point_id` are never read [INFO] [stdout] --> src/problem.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct StationBlockResource { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 131 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | pub route_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | pub stopping_point_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationBlockResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_id` is never read [INFO] [stdout] --> src/problem.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct TrackBlockResource { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 139 | pub track_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackBlockResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `slowdown_id`, `start_time`, `duration`, `speed`, `resources`, and `description` are never read [INFO] [stdout] --> src/problem.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Slowdown { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 145 | pub slowdown_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 146 | pub start_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 147 | pub duration: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 148 | pub speed: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | pub resources: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 150 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slowdown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `train_infos` is never read [INFO] [stdout] --> src/problem.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TrainInfos { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 156 | pub train_infos: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct TrainInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 162 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | pub priority: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | pub default_length: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub speed: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 166 | pub line_point_headway: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | pub followers: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 168 | pub crossings: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_movements` is never read [INFO] [stdout] --> src/problem.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct LineMovements { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 174 | pub line_movements: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_movements` is never read [INFO] [stdout] --> src/problem.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct TrainLineMovements { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 180 | pub track_movements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainLineMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct TrackMovement { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 186 | pub station_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 187 | pub track_circuit_infos: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 188 | pub reachable_track_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 189 | pub track_runtime_infos: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 190 | pub min_cumulative_runtime: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 191 | pub min_cumulative_runtimes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | pub best_out_track_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 193 | pub correct_path_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | pub min_reverse_switches: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | pub min_reverse_switches_by_track: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 196 | pub preferred_out_track_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 197 | pub min_non_preferred: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | pub min_non_preferred_by_track: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | pub distance_from_mandatory_non_preferred: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | pub available_mask: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackMovement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_running_time`, `line_headway`, `track_circuit_running_times`, `reverse_track_running_time`, and `reverse_track_circuit_running_times` are never read [INFO] [stdout] --> src/problem.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct TrackRuntimeInfo { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 206 | pub track_running_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | pub line_headway: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 208 | pub track_circuit_running_times: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | pub reverse_track_running_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | pub reverse_track_circuit_running_times: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackRuntimeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `track_circuit_id` and `running_time` are never read [INFO] [stdout] --> src/problem.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct TrackCircuitRunningTime { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 216 | pub track_circuit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub running_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackCircuitRunningTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct TrackCircuitInfo { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 223 | pub track_circuit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 224 | pub dwell_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 225 | pub activities: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 226 | pub new_projected_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | pub dwell_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 228 | #[serde(rename = "activityIds")] [INFO] [stdout] 229 | pub activity_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 230 | pub penalty: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 231 | pub end_of_graph: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 232 | pub earliest_departure_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 233 | pub relative_edt: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackCircuitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `train_movements` is never read [INFO] [stdout] --> src/problem.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct StationMovements { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 246 | pub train_movements: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `station_movements` is never read [INFO] [stdout] --> src/problem.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct TrainStationMovements { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 252 | pub station_movements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainStationMovements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `station_nodes` and `entry_track_ids` are never read [INFO] [stdout] --> src/problem.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct TrainStationMovement { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 258 | pub station_nodes: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 259 | pub entry_track_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainStationMovement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/problem.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct StationNode { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 265 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 266 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 267 | pub default_min_cumulative_runtime: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub min_cumulative_runtime: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub next_edges: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 270 | pub min_clearance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 271 | pub available_mask: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 272 | pub correct_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 273 | pub dwell_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 274 | pub activities: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 275 | pub runtime_info_set: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | pub prev_edges: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 277 | #[serde(rename = "isPreferred")] [INFO] [stdout] 278 | pub is_preferred: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 279 | #[serde(rename = "activityIds")] [INFO] [stdout] 280 | pub activity_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 281 | pub reachable_stopping_points: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 282 | pub reachable_tracks: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | pub new_projected_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 284 | pub dwell_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 285 | pub relative_edt: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 286 | pub earliest_departure_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 287 | pub end_of_graph: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 288 | pub penalty: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime_infos` is never read [INFO] [stdout] --> src/problem.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct RuntimeInfoSet { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 294 | pub runtime_infos: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeInfoSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `running_time` and `clearance` are never read [INFO] [stdout] --> src/problem.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct RuntimeInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 300 | pub running_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 301 | pub clearance: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "8fcd829e480d28331a867efefa26149c5a2c9ddf79603d872e3fe6e2b5cd010c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fcd829e480d28331a867efefa26149c5a2c9ddf79603d872e3fe6e2b5cd010c", kill_on_drop: false }` [INFO] [stdout] 8fcd829e480d28331a867efefa26149c5a2c9ddf79603d872e3fe6e2b5cd010c