[INFO] cloning repository https://github.com/ArbeitsgruppeTobiasHarks/sbta [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArbeitsgruppeTobiasHarks/sbta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArbeitsgruppeTobiasHarks%2Fsbta", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArbeitsgruppeTobiasHarks%2Fsbta'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 259e6b50706c24493b620f8b6a22801d0c01d25a [INFO] checking ArbeitsgruppeTobiasHarks/sbta/259e6b50706c24493b620f8b6a22801d0c01d25a against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArbeitsgruppeTobiasHarks%2Fsbta" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArbeitsgruppeTobiasHarks/sbta 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 git repo https://github.com/ArbeitsgruppeTobiasHarks/sbta [INFO] finished tweaking git repo https://github.com/ArbeitsgruppeTobiasHarks/sbta [INFO] tweaked toml for git repo https://github.com/ArbeitsgruppeTobiasHarks/sbta written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ArbeitsgruppeTobiasHarks/sbta 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" "+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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 19620ec9ab02d65fc80b361ca38e081f199329e919425757aa0ec34390da4272 [INFO] running `Command { std: "docker" "start" "-a" "19620ec9ab02d65fc80b361ca38e081f199329e919425757aa0ec34390da4272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19620ec9ab02d65fc80b361ca38e081f199329e919425757aa0ec34390da4272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19620ec9ab02d65fc80b361ca38e081f199329e919425757aa0ec34390da4272", kill_on_drop: false }` [INFO] [stdout] 19620ec9ab02d65fc80b361ca38e081f199329e919425757aa0ec34390da4272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dae56484b7a3bb72422b2be5cebb6214ade222243fc265b7c1c3eb1f1bd4c7f3 [INFO] running `Command { std: "docker" "start" "-a" "dae56484b7a3bb72422b2be5cebb6214ade222243fc265b7c1c3eb1f1bd4c7f3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking sqlite3-sys v0.15.2 [INFO] [stderr] Checking sqlite v0.32.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking clap v4.4.12 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking sbta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::collections::hash_map::Entry<'_, K1, std::collections::HashSet>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relation.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 76 | k1: K1, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | match map_1.entry(k1.clone()) { [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] error: this value of type `std::collections::hash_map::Entry<'_, K1, std::collections::HashSet>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relation.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 76 | k1: K1, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | match map_1.entry(k1.clone()) { [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: field `0` is never read [INFO] [stdout] --> src/graph.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 473 | Dwell(DwellNavigate<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 473 | Dwell(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:474:11 [INFO] [stdout] | [INFO] [stdout] 474 | Board(BoardNavigate<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 474 | Board(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | Alight(AlightNavigate<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 475 | Alight(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:476:10 [INFO] [stdout] | [INFO] [stdout] 476 | Wait(WaitNavigate<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 476 | Wait(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `edge_idx` and `node_from` are never read [INFO] [stdout] --> src/graph.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 481 | NodeFromOutOfRange { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 482 | edge_idx: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 483 | node_from: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `edge_idx` and `node_to` are never read [INFO] [stdout] --> src/graph.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 485 | NodeToOutOfRange { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 486 | edge_idx: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 487 | node_to: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `idx` is never read [INFO] [stdout] --> src/graph.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 489 | MissingStationIdx { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 490 | idx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `commodity_idx` and `node_idx` are never read [INFO] [stdout] --> src/graph.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 492 | SpawnNodeOutOfBounds { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] 493 | commodity_idx: CommodityIdx, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 494 | node_idx: NodeIdx, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `commodity_idx` and `node_idx` are never read [INFO] [stdout] --> src/graph.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 496 | SpawnNodeIsNotAWaitNode { [INFO] [stdout] | ----------------------- fields in this variant [INFO] [stdout] 497 | commodity_idx: CommodityIdx, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 498 | node_idx: NodeIdx, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `0` is never read [INFO] [stdout] --> src/serialization/graph.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | CouldNotOpen(sqlite::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 194 | CouldNotOpen(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/serialization/graph.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | Sqlite(sqlite::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 | Sqlite(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id` and `node_type` are never read [INFO] [stdout] --> src/serialization/graph.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | InvalidNodeType { node_id: u32, node_type: i64 }, [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `node_idx` and `got_index` are never read [INFO] [stdout] --> src/serialization/graph.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | MissingNodeIndex { node_idx: u32, got_index: i64 }, [INFO] [stdout] | ---------------- ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `node_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | DuplicateNodeIndex { node_idx: u32 }, [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_id` and `edge_type` are never read [INFO] [stdout] --> src/serialization/graph.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | InvalidEdgeType { edge_id: u32, edge_type: i64 }, [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | MissingEdgeIndex { edge_idx: u32 }, [INFO] [stdout] | ---------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | DuplicateEdgeIndex { edge_idx: u32 }, [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `commodity_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | MissingCommodityIndex { commodity_idx: u32 }, [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `commodity_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | DuplicateCommodityIndex { commodity_idx: u32 }, [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | BoardEdgeHasNoVehicleId { edge_idx: usize }, [INFO] [stdout] | ----------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | DriveEdgeHasNoVehicleId { edge_idx: usize }, [INFO] [stdout] | ----------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` and `vehicle_id` are never read [INFO] [stdout] --> src/serialization/graph.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | VehicleOfEdgeDoesNotExist { edge_idx: usize, vehicle_id: u32 }, [INFO] [stdout] | ------------------------- ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `0` is never read [INFO] [stdout] --> src/serialization/graph.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | InvalidGraph(FromRawError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 207 | InvalidGraph(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/timpass/mod.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | CsvError(csv::Error), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 110 | CsvError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/timpass/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | MissingKey(Box), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 | MissingKey(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/timpass/mod.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | InvalidValue(Box), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | InvalidValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serialization/graph.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DBNodeType` [INFO] [stdout] 17 | enum DBNodeType { [INFO] [stdout] | ---------- `DBNodeType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serialization/graph.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DBEdgeType` [INFO] [stdout] 24 | enum DBEdgeType { [INFO] [stdout] | ---------- `DBEdgeType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `sbta` (bin "sbta") due to 2 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 473 | Dwell(DwellNavigate<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 473 | Dwell(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:474:11 [INFO] [stdout] | [INFO] [stdout] 474 | Board(BoardNavigate<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 474 | Board(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | Alight(AlightNavigate<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 475 | Alight(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:476:10 [INFO] [stdout] | [INFO] [stdout] 476 | Wait(WaitNavigate<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 476 | Wait(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `edge_idx` and `node_from` are never read [INFO] [stdout] --> src/graph.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 481 | NodeFromOutOfRange { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 482 | edge_idx: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 483 | node_from: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `edge_idx` and `node_to` are never read [INFO] [stdout] --> src/graph.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 485 | NodeToOutOfRange { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 486 | edge_idx: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 487 | node_to: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `idx` is never read [INFO] [stdout] --> src/graph.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 489 | MissingStationIdx { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 490 | idx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `commodity_idx` and `node_idx` are never read [INFO] [stdout] --> src/graph.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 492 | SpawnNodeOutOfBounds { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] 493 | commodity_idx: CommodityIdx, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 494 | node_idx: NodeIdx, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `commodity_idx` and `node_idx` are never read [INFO] [stdout] --> src/graph.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 496 | SpawnNodeIsNotAWaitNode { [INFO] [stdout] | ----------------------- fields in this variant [INFO] [stdout] 497 | commodity_idx: CommodityIdx, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 498 | node_idx: NodeIdx, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromRawError` 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 `0` is never read [INFO] [stdout] --> src/serialization/graph.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | CouldNotOpen(sqlite::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 194 | CouldNotOpen(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/serialization/graph.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | Sqlite(sqlite::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 | Sqlite(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id` and `node_type` are never read [INFO] [stdout] --> src/serialization/graph.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | InvalidNodeType { node_id: u32, node_type: i64 }, [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `node_idx` and `got_index` are never read [INFO] [stdout] --> src/serialization/graph.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | MissingNodeIndex { node_idx: u32, got_index: i64 }, [INFO] [stdout] | ---------------- ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `node_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | DuplicateNodeIndex { node_idx: u32 }, [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_id` and `edge_type` are never read [INFO] [stdout] --> src/serialization/graph.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | InvalidEdgeType { edge_id: u32, edge_type: i64 }, [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | MissingEdgeIndex { edge_idx: u32 }, [INFO] [stdout] | ---------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | DuplicateEdgeIndex { edge_idx: u32 }, [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `commodity_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | MissingCommodityIndex { commodity_idx: u32 }, [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `commodity_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | DuplicateCommodityIndex { commodity_idx: u32 }, [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | BoardEdgeHasNoVehicleId { edge_idx: usize }, [INFO] [stdout] | ----------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` is never read [INFO] [stdout] --> src/serialization/graph.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | DriveEdgeHasNoVehicleId { edge_idx: usize }, [INFO] [stdout] | ----------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `edge_idx` and `vehicle_id` are never read [INFO] [stdout] --> src/serialization/graph.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | VehicleOfEdgeDoesNotExist { edge_idx: usize, vehicle_id: u32 }, [INFO] [stdout] | ------------------------- ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` 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 `0` is never read [INFO] [stdout] --> src/serialization/graph.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | InvalidGraph(FromRawError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImportGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 207 | InvalidGraph(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/timpass/mod.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | CsvError(csv::Error), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 110 | CsvError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/timpass/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | MissingKey(Box), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 | MissingKey(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/timpass/mod.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | InvalidValue(Box), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | InvalidValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serialization/graph.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DBNodeType` [INFO] [stdout] 17 | enum DBNodeType { [INFO] [stdout] | ---------- `DBNodeType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serialization/graph.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DBEdgeType` [INFO] [stdout] 24 | enum DBEdgeType { [INFO] [stdout] | ---------- `DBEdgeType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `sbta` (bin "sbta" test) due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dae56484b7a3bb72422b2be5cebb6214ade222243fc265b7c1c3eb1f1bd4c7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dae56484b7a3bb72422b2be5cebb6214ade222243fc265b7c1c3eb1f1bd4c7f3", kill_on_drop: false }` [INFO] [stdout] dae56484b7a3bb72422b2be5cebb6214ade222243fc265b7c1c3eb1f1bd4c7f3