[INFO] fetching crate sourcenav 0.2.0... [INFO] checking sourcenav-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate sourcenav 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate sourcenav 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sourcenav 0.2.0 [INFO] finished tweaking crates.io crate sourcenav 0.2.0 [INFO] tweaked toml for crates.io crate sourcenav 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding bitbuffer v0.7.1 (available: v0.11.0) [INFO] [stderr] Adding bitbuffer_derive v0.7.1 (available: v0.11.0) [INFO] [stderr] Adding err-derive v0.2.4 (available: v0.3.1) [INFO] [stderr] Adding euclid v0.19.9 (available: v0.22.11) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.79) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] 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] fa036a5b8b106b2a29739fb39a25be0a6f4bb93cb0508a16b99f7f00658fb5d6 [INFO] running `Command { std: "docker" "start" "-a" "fa036a5b8b106b2a29739fb39a25be0a6f4bb93cb0508a16b99f7f00658fb5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa036a5b8b106b2a29739fb39a25be0a6f4bb93cb0508a16b99f7f00658fb5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa036a5b8b106b2a29739fb39a25be0a6f4bb93cb0508a16b99f7f00658fb5d6", kill_on_drop: false }` [INFO] [stdout] fa036a5b8b106b2a29739fb39a25be0a6f4bb93cb0508a16b99f7f00658fb5d6 [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] 1bb4b3cea2f58b6b408492221328f55bd9f28786e02c3297ad17d5cbc575539f [INFO] running `Command { std: "docker" "start" "-a" "1bb4b3cea2f58b6b408492221328f55bd9f28786e02c3297ad17d5cbc575539f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling syn_util v0.4.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling bitbuffer_derive v0.7.1 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking bitbuffer v0.7.1 [INFO] [stderr] Checking aabb-quadtree v0.2.0 [INFO] [stderr] Checking sourcenav v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `location`, and `flags` are never read [INFO] [stdout] --> src/navmesh.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct NavHidingSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 173 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | location: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 175 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavHidingSpot` 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 `approach_here`, `approach_pre`, `approach_type`, `approach_next`, and `approach_how` are never read [INFO] [stdout] --> src/navmesh.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ApproachArea { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 181 | approach_here: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 182 | approach_pre: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 183 | approach_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 184 | approach_next: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | approach_how: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApproachArea` 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 `from_area_id`, `from_direction`, `to_area_id`, `to_direction`, and `spots` are never read [INFO] [stdout] --> src/navmesh.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct EncounterPath { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 191 | from_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 192 | from_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 193 | to_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | to_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 195 | #[size_bits = 8] [INFO] [stdout] 196 | spots: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterPath` 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 `order` and `distance` are never read [INFO] [stdout] --> src/navmesh.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct EncounterSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 201 | order: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 202 | distance: u8, // divide by 255 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterSpot` 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` and `attributes` are never read [INFO] [stdout] --> src/navmesh.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct VisibleArea { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 217 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 218 | attributes: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisibleArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavPlace` is never constructed [INFO] [stdout] --> src/navmesh.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct NavPlace { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavPlace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/parser.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_ParseError` [INFO] [stdout] 9 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/parser.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_ParseError` [INFO] [stdout] 9 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `location`, and `flags` are never read [INFO] [stdout] --> src/navmesh.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct NavHidingSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 173 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | location: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 175 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavHidingSpot` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_bitbuffer_ReadError_FOR_ParseError` [INFO] [stdout] 9 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] ... [INFO] [stdout] 12 | ReadError(#[error(source)] bitbuffer::ReadError), [INFO] [stdout] | -------------------- `ReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `approach_here`, `approach_pre`, `approach_type`, `approach_next`, and `approach_how` are never read [INFO] [stdout] --> src/navmesh.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ApproachArea { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 181 | approach_here: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 182 | approach_pre: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 183 | approach_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 184 | approach_next: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | approach_how: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApproachArea` 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 `from_area_id`, `from_direction`, `to_area_id`, `to_direction`, and `spots` are never read [INFO] [stdout] --> src/navmesh.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct EncounterPath { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 191 | from_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 192 | from_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 193 | to_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | to_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 195 | #[size_bits = 8] [INFO] [stdout] 196 | spots: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterPath` 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 `order` and `distance` are never read [INFO] [stdout] --> src/navmesh.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct EncounterSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 201 | order: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 202 | distance: u8, // divide by 255 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterSpot` 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` and `attributes` are never read [INFO] [stdout] --> src/navmesh.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct VisibleArea { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 217 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 218 | attributes: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisibleArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavPlace` is never constructed [INFO] [stdout] --> src/navmesh.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct NavPlace { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavPlace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/parser.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_ParseError` [INFO] [stdout] 9 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/parser.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_ParseError` [INFO] [stdout] 9 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/parser.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_bitbuffer_ReadError_FOR_ParseError` [INFO] [stdout] 9 | pub enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] ... [INFO] [stdout] 12 | ReadError(#[error(source)] bitbuffer::ReadError), [INFO] [stdout] | -------------------- `ReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> benches/bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/bench.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | test::black_box(read_areas(data.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = test::black_box(read_areas(data.clone())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/bench.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | test::black_box(get_quad_tree(data.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = test::black_box(get_quad_tree(data.clone())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.82s [INFO] running `Command { std: "docker" "inspect" "1bb4b3cea2f58b6b408492221328f55bd9f28786e02c3297ad17d5cbc575539f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bb4b3cea2f58b6b408492221328f55bd9f28786e02c3297ad17d5cbc575539f", kill_on_drop: false }` [INFO] [stdout] 1bb4b3cea2f58b6b408492221328f55bd9f28786e02c3297ad17d5cbc575539f