[INFO] fetching crate intricate 0.7.0... [INFO] checking intricate-0.7.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate intricate 0.7.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate intricate 0.7.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate intricate 0.7.0 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate intricate 0.7.0 [INFO] tweaked toml for crates.io crate intricate 0.7.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate intricate 0.7.0 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" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded intricate-macros v0.7.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.33 [INFO] [stderr] Downloaded savefile-derive v0.10.1 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded console v0.15.1 [INFO] [stderr] Downloaded indicatif v0.17.0 [INFO] [stderr] Downloaded miniz_oxide v0.6.2 [INFO] [stderr] Downloaded cl3 v0.8.1 [INFO] [stderr] Downloaded serde v1.0.151 [INFO] [stderr] Downloaded libm v0.2.6 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded futures-util v0.3.25 [INFO] [stderr] Downloaded h2 v0.3.15 [INFO] [stderr] Downloaded hyper v0.14.23 [INFO] [stderr] Downloaded openssl v0.10.45 [INFO] [stderr] Downloaded serde_json v1.0.91 [INFO] [stderr] Downloaded security-framework v2.7.0 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded openssl-sys v0.9.80 [INFO] [stderr] Downloaded opencl3 v0.8.1 [INFO] [stderr] Downloaded reqwest v0.11.13 [INFO] [stderr] Downloaded flate2 v1.0.25 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded bytes v1.3.0 [INFO] [stderr] Downloaded ipnet v2.7.0 [INFO] [stderr] Downloaded ryu v1.0.12 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded socket2 v0.4.7 [INFO] [stderr] Downloaded savefile v0.10.1 [INFO] [stderr] Downloaded opencl-sys v0.2.2 [INFO] [stderr] Downloaded futures-channel v0.3.25 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded futures-sink v0.3.25 [INFO] [stderr] Downloaded futures-task v0.3.25 [INFO] [stderr] Downloaded tokio v1.23.0 [INFO] [stderr] Downloaded itoa v1.0.5 [INFO] [stderr] Downloaded futures-core v0.3.25 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2311cc6f1a19f12a3e82f75c4c01e2d1c0d0ac7ebef516ef7dd890212673111 [INFO] running `Command { std: "docker" "start" "-a" "d2311cc6f1a19f12a3e82f75c4c01e2d1c0d0ac7ebef516ef7dd890212673111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2311cc6f1a19f12a3e82f75c4c01e2d1c0d0ac7ebef516ef7dd890212673111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2311cc6f1a19f12a3e82f75c4c01e2d1c0d0ac7ebef516ef7dd890212673111", kill_on_drop: false }` [INFO] [stdout] d2311cc6f1a19f12a3e82f75c4c01e2d1c0d0ac7ebef516ef7dd890212673111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77b9491e59a0b88e97a74d04c802d30e6fc20a98cad6cf692891133cd3a456ea [INFO] running `Command { std: "docker" "start" "-a" "77b9491e59a0b88e97a74d04c802d30e6fc20a98cad6cf692891133cd3a456ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling opencl-sys v0.2.2 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling savefile v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking cl3 v0.8.1 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking ipnet v2.7.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking indicatif v0.17.0 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking opencl3 v0.8.1 [INFO] [stderr] Compiling savefile-derive v0.10.1 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling intricate-macros v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.13 [INFO] [stderr] Checking intricate v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn predict_with_buffer<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 396 | ) -> Result<&Buffer, ModelPredictionError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn predict_with_buffer<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 396 | ) -> Result<&Buffer, ModelPredictionError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 134 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 134 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 138 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 138 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 205 - drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] 205 + let _ = self.weights_buff.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.weights_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.biases_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 217 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 217 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 221 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 221 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `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/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(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_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 134 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 134 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 138 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 138 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `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/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(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_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 205 - drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] 205 + let _ = self.weights_buff.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `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/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(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_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.weights_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.biases_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 217 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 217 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 221 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 221 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sigmoid` [INFO] [stdout] --> examples/mnist/main.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | activations::{ReLU, SoftMax, Sigmoid}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, 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_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `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/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, 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_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layer` [INFO] [stdout] --> examples/mnist/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | Conv2D, Dense, Layer, [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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, 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_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, 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_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, 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_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, 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_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(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_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` 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 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 `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "77b9491e59a0b88e97a74d04c802d30e6fc20a98cad6cf692891133cd3a456ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b9491e59a0b88e97a74d04c802d30e6fc20a98cad6cf692891133cd3a456ea", kill_on_drop: false }` [INFO] [stdout] 77b9491e59a0b88e97a74d04c802d30e6fc20a98cad6cf692891133cd3a456ea