[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 master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArbeitsgruppeTobiasHarks%2Fsbta" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArbeitsgruppeTobiasHarks/sbta on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "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-tc1/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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlite v0.32.0 [INFO] [stderr] Downloaded num-derive v0.4.1 [INFO] [stderr] Downloaded sqlite3-sys v0.15.2 [INFO] [stderr] Downloaded clap v4.4.12 [INFO] [stderr] Downloaded sqlite3-src v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f549831bdada0a7425245303fa48ebdefe0511788ee6982d113091a492e8377 [INFO] running `Command { std: "docker" "start" "-a" "0f549831bdada0a7425245303fa48ebdefe0511788ee6982d113091a492e8377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f549831bdada0a7425245303fa48ebdefe0511788ee6982d113091a492e8377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f549831bdada0a7425245303fa48ebdefe0511788ee6982d113091a492e8377", kill_on_drop: false }` [INFO] [stdout] 0f549831bdada0a7425245303fa48ebdefe0511788ee6982d113091a492e8377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 219995f88d3fb8da016d5e1aa87ad1b8700d019d925eb604dea6e002defe453c [INFO] running `Command { std: "docker" "start" "-a" "219995f88d3fb8da016d5e1aa87ad1b8700d019d925eb604dea6e002defe453c", 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] Checking memchr v2.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking log v0.4.20 [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 aho-corasick v1.1.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sqlite3-sys v0.15.2 [INFO] [stderr] Checking sqlite v0.32.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [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 clap v4.4.12 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking sbta v0.1.0 (/opt/rustwide/workdir) [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] warning: 28 warnings emitted [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] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.64s [INFO] running `Command { std: "docker" "inspect" "219995f88d3fb8da016d5e1aa87ad1b8700d019d925eb604dea6e002defe453c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219995f88d3fb8da016d5e1aa87ad1b8700d019d925eb604dea6e002defe453c", kill_on_drop: false }` [INFO] [stdout] 219995f88d3fb8da016d5e1aa87ad1b8700d019d925eb604dea6e002defe453c