[INFO] cloning repository https://github.com/thecog19/HATETRIS-public-beamsearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thecog19/HATETRIS-public-beamsearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthecog19%2FHATETRIS-public-beamsearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthecog19%2FHATETRIS-public-beamsearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0f6b2f3c8fa4c28bcc314170f595ff72839b10a [INFO] checking thecog19/HATETRIS-public-beamsearch against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthecog19%2FHATETRIS-public-beamsearch" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/thecog19/HATETRIS-public-beamsearch [INFO] finished tweaking git repo https://github.com/thecog19/HATETRIS-public-beamsearch [INFO] tweaked toml for git repo https://github.com/thecog19/HATETRIS-public-beamsearch written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thecog19/HATETRIS-public-beamsearch on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thecog19/HATETRIS-public-beamsearch 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55c077f0855cab184c17ad013f2c7e9374bd0079d2e004562ffe4b3667fa0e6e [INFO] running `Command { std: "docker" "start" "-a" "55c077f0855cab184c17ad013f2c7e9374bd0079d2e004562ffe4b3667fa0e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55c077f0855cab184c17ad013f2c7e9374bd0079d2e004562ffe4b3667fa0e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55c077f0855cab184c17ad013f2c7e9374bd0079d2e004562ffe4b3667fa0e6e", kill_on_drop: false }` [INFO] [stdout] 55c077f0855cab184c17ad013f2c7e9374bd0079d2e004562ffe4b3667fa0e6e [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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f52d735586fd09705155b11389191208b91304f3ef3fedf73396741dd23b7bb6 [INFO] running `Command { std: "docker" "start" "-a" "f52d735586fd09705155b11389191208b91304f3ef3fedf73396741dd23b7bb6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling savefile v0.16.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling savefile-derive v0.16.2 [INFO] [stderr] Checking hatetris-public v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_State` [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_StateP` [INFO] [stdout] 47 | pub struct StateP { [INFO] [stdout] | ------ `StateP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_WeightT` [INFO] [stdout] 134 | pub struct WeightT { [INFO] [stdout] | ------- `WeightT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (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/types.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `ReprC` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_REPRC_FOR_WeightDiscreteT` [INFO] [stdout] 140 | pub struct WeightDiscreteT { [INFO] [stdout] | --------------- `WeightDiscreteT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.95s [INFO] running `Command { std: "docker" "inspect" "f52d735586fd09705155b11389191208b91304f3ef3fedf73396741dd23b7bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52d735586fd09705155b11389191208b91304f3ef3fedf73396741dd23b7bb6", kill_on_drop: false }` [INFO] [stdout] f52d735586fd09705155b11389191208b91304f3ef3fedf73396741dd23b7bb6