[INFO] fetching crate fuzzy-expert 0.1.0... [INFO] testing fuzzy-expert-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fuzzy-expert 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate fuzzy-expert 0.1.0 [INFO] finished tweaking crates.io crate fuzzy-expert 0.1.0 [INFO] tweaked toml for crates.io crate fuzzy-expert 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fuzzy-expert 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding fixed-map v0.8.2 (available: v0.9.5) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed-map v0.8.2 [INFO] [stderr] Downloaded fixed-map-derive v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eef60930cf5ba0e82e76a9b0c2432bb9942c91fd0b3fed9f6184998f8732d56 [INFO] running `Command { std: "docker" "start" "-a" "0eef60930cf5ba0e82e76a9b0c2432bb9942c91fd0b3fed9f6184998f8732d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eef60930cf5ba0e82e76a9b0c2432bb9942c91fd0b3fed9f6184998f8732d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eef60930cf5ba0e82e76a9b0c2432bb9942c91fd0b3fed9f6184998f8732d56", kill_on_drop: false }` [INFO] [stdout] 0eef60930cf5ba0e82e76a9b0c2432bb9942c91fd0b3fed9f6184998f8732d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36f5e3deb6f63cff3b2805fa747c9c92d7496d5ec770246be929efa3285ac255 [INFO] running `Command { std: "docker" "start" "-a" "36f5e3deb6f63cff3b2805fa747c9c92d7496d5ec770246be929efa3285ac255", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fixed-map-derive v0.8.2 [INFO] [stderr] Compiling fixed-map v0.8.2 [INFO] [stderr] Compiling fuzzy-expert v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Probability` is never constructed [INFO] [stdout] --> src/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Probability(f64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Fact` is never used [INFO] [stdout] --> src/lib.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum Fact { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.13s [INFO] running `Command { std: "docker" "inspect" "36f5e3deb6f63cff3b2805fa747c9c92d7496d5ec770246be929efa3285ac255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f5e3deb6f63cff3b2805fa747c9c92d7496d5ec770246be929efa3285ac255", kill_on_drop: false }` [INFO] [stdout] 36f5e3deb6f63cff3b2805fa747c9c92d7496d5ec770246be929efa3285ac255 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 665f14adcee71b5909d037529cadd94ea7e5af2bda2a05e48ba9315352744ea6 [INFO] running `Command { std: "docker" "start" "-a" "665f14adcee71b5909d037529cadd94ea7e5af2bda2a05e48ba9315352744ea6", kill_on_drop: false }` [INFO] [stdout] warning: struct `Probability` is never constructed [INFO] [stdout] --> src/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Probability(f64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Fact` is never used [INFO] [stdout] --> src/lib.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum Fact { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fuzzy-expert v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Probability` is never constructed [INFO] [stdout] --> src/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Probability(f64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Fact` is never used [INFO] [stdout] --> src/lib.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum Fact { [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/inference.rs:336:44 [INFO] [stdout] | [INFO] [stdout] 336 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Key` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Score` and up 2 bodies [INFO] [stdout] 337 | enum Score { [INFO] [stdout] | ----- `Score` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Key` (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/inference.rs:342:44 [INFO] [stdout] | [INFO] [stdout] 342 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Key` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Ratio` and up 2 bodies [INFO] [stdout] 343 | enum Ratio { [INFO] [stdout] | ----- `Ratio` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_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 warning originates in the derive macro `Key` (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/inference.rs:348:44 [INFO] [stdout] | [INFO] [stdout] 348 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Key` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Credit` and up 2 bodies [INFO] [stdout] 349 | enum Credit { [INFO] [stdout] | ------ `Credit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_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 warning originates in the derive macro `Key` (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/inference.rs:354:44 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Key` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Decision` and up 2 bodies [INFO] [stdout] 355 | enum Decision { [INFO] [stdout] | -------- `Decision` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_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 warning originates in the derive macro `Key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "665f14adcee71b5909d037529cadd94ea7e5af2bda2a05e48ba9315352744ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665f14adcee71b5909d037529cadd94ea7e5af2bda2a05e48ba9315352744ea6", kill_on_drop: false }` [INFO] [stdout] 665f14adcee71b5909d037529cadd94ea7e5af2bda2a05e48ba9315352744ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73398d5c3bb27bd3e52cbba9a252e0313d8cbaebbc3ae35a4005aa4d125a7800 [INFO] running `Command { std: "docker" "start" "-a" "73398d5c3bb27bd3e52cbba9a252e0313d8cbaebbc3ae35a4005aa4d125a7800", kill_on_drop: false }` [INFO] [stderr] warning: struct `Probability` is never constructed [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:23:8 [INFO] [stdout] running 5 tests [INFO] [stderr] | [INFO] [stderr] 23 | struct Probability(f64); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Fact` is never used [INFO] [stderr] --> src/lib.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | enum Fact { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/inference.rs:336:44 [INFO] [stderr] | [INFO] [stderr] 336 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stderr] | ^-- [INFO] [stderr] | | [INFO] [stderr] | `Key` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Score` and up 2 bodies [INFO] [stderr] 337 | enum Score { [INFO] [stderr] | ----- `Score` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/inference.rs:342:44 [INFO] [stderr] | [INFO] [stderr] 342 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stderr] | ^-- [INFO] [stderr] | | [INFO] [stderr] | `Key` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Ratio` and up 2 bodies [INFO] [stderr] 343 | enum Ratio { [INFO] [stderr] | ----- `Ratio` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/inference.rs:348:44 [INFO] [stderr] | [INFO] [stderr] 348 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stderr] | ^-- [INFO] [stderr] | | [INFO] [stderr] | `Key` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Credit` and up 2 bodies [INFO] [stderr] 349 | enum Credit { [INFO] [stderr] | ------ `Credit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/inference.rs:354:44 [INFO] [stderr] | [INFO] [stderr] 354 | #[derive(Clone, Copy, Debug, Eq, Hash, Key, Ord, PartialEq, PartialOrd)] [INFO] [stderr] | ^-- [INFO] [stderr] | | [INFO] [stderr] | `Key` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_KEY_FOR_Decision` and up 2 bodies [INFO] [stderr] 355 | enum Decision { [INFO] [stderr] | -------- `Decision` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Key` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Key` may come from an old version of the `fixed_map_derive` crate, try updating your dependency with `cargo update -p fixed_map_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `fuzzy-expert` (lib) generated 2 warnings [INFO] [stderr] warning: `fuzzy-expert` (lib test) generated 6 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fuzzy_expert-7264465d81897959) [INFO] [stdout] test math::test_tile ... ok [INFO] [stdout] test math::test_meshgrid ... ok [INFO] [stdout] test math::test_interp ... ok [INFO] [stdout] test math::test_max ... ok [INFO] [stdout] test inference::test_bank_loan ... ok [INFO] [stderr] Doc-tests fuzzy_expert [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73398d5c3bb27bd3e52cbba9a252e0313d8cbaebbc3ae35a4005aa4d125a7800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73398d5c3bb27bd3e52cbba9a252e0313d8cbaebbc3ae35a4005aa4d125a7800", kill_on_drop: false }` [INFO] [stdout] 73398d5c3bb27bd3e52cbba9a252e0313d8cbaebbc3ae35a4005aa4d125a7800