[INFO] fetching crate intricate 0.7.0... [INFO] checking intricate-0.7.0 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate intricate 0.7.0 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate intricate 0.7.0 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded savefile-derive v0.10.1 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded intricate-macros v0.7.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.2 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded serde v1.0.151 [INFO] [stderr] Downloaded savefile v0.10.1 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded opencl-sys v0.2.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded indicatif v0.17.0 [INFO] [stderr] Downloaded cl3 v0.8.1 [INFO] [stderr] Downloaded flate2 v1.0.25 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.10 [INFO] [stderr] Downloaded crossbeam-channel v0.5.6 [INFO] [stderr] Downloaded crossbeam-utils v0.8.11 [INFO] [stderr] Downloaded libm v0.2.6 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded opencl3 v0.8.1 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9a97367cbbdfcd3fff4d295e4a54a18a02607367d9cc94a91d7a082474cbdfe [INFO] running `Command { std: "docker" "start" "-a" "f9a97367cbbdfcd3fff4d295e4a54a18a02607367d9cc94a91d7a082474cbdfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9a97367cbbdfcd3fff4d295e4a54a18a02607367d9cc94a91d7a082474cbdfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a97367cbbdfcd3fff4d295e4a54a18a02607367d9cc94a91d7a082474cbdfe", kill_on_drop: false }` [INFO] [stdout] f9a97367cbbdfcd3fff4d295e4a54a18a02607367d9cc94a91d7a082474cbdfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0791d54896031affb596409483ba6f071df5afc1cdd0238689bea4d4bbca4592 [INFO] running `Command { std: "docker" "start" "-a" "0791d54896031affb596409483ba6f071df5afc1cdd0238689bea4d4bbca4592", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling opencl-sys v0.2.2 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [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] Compiling num-traits v0.2.15 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [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 unicode-width v0.1.9 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking cl3 v0.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking ipnet v2.7.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking indicatif v0.17.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking opencl3 v0.8.1 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling intricate-macros v0.7.0 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Compiling savefile-derive v0.10.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [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: 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: `#[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/model.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 394 | &'b mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 395 | input_samples: &'b Buffer, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 396 | ) -> Result<&Buffer, ModelPredictionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 396 | ) -> Result<&'b Buffer, ModelPredictionError> { [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/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 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 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 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 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: `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)]` (part of `#[warn(unused)]`) on by default [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/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: `#[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/model.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 394 | &'b mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 395 | input_samples: &'b Buffer, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 396 | ) -> Result<&Buffer, ModelPredictionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 396 | ) -> Result<&'b Buffer, ModelPredictionError> { [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/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 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 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 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 warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.39s [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 1` [INFO] running `Command { std: "docker" "inspect" "0791d54896031affb596409483ba6f071df5afc1cdd0238689bea4d4bbca4592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0791d54896031affb596409483ba6f071df5afc1cdd0238689bea4d4bbca4592", kill_on_drop: false }` [INFO] [stdout] 0791d54896031affb596409483ba6f071df5afc1cdd0238689bea4d4bbca4592