[INFO] fetching crate intricate 0.7.0... [INFO] building intricate-0.7.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate intricate 0.7.0 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate intricate 0.7.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 567eca8ddc53aa65cc6f293a283657fb24fa01f4881a6cd02ceef60b4987f351 [INFO] running `Command { std: "docker" "start" "-a" "567eca8ddc53aa65cc6f293a283657fb24fa01f4881a6cd02ceef60b4987f351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "567eca8ddc53aa65cc6f293a283657fb24fa01f4881a6cd02ceef60b4987f351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "567eca8ddc53aa65cc6f293a283657fb24fa01f4881a6cd02ceef60b4987f351", kill_on_drop: false }` [INFO] [stdout] 567eca8ddc53aa65cc6f293a283657fb24fa01f4881a6cd02ceef60b4987f351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 768ec0d0dc583076ef22836c09c325c3797fea12c98ae577c1a7acce165a7c43 [INFO] running `Command { std: "docker" "start" "-a" "768ec0d0dc583076ef22836c09c325c3797fea12c98ae577c1a7acce165a7c43", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling opencl-sys v0.2.2 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling savefile v0.10.1 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling cl3 v0.8.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling savefile-derive v0.10.1 [INFO] [stderr] Compiling indicatif v0.17.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling opencl3 v0.8.1 [INFO] [stderr] Compiling intricate-macros v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling 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: 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: 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: 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] | `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [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" "768ec0d0dc583076ef22836c09c325c3797fea12c98ae577c1a7acce165a7c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768ec0d0dc583076ef22836c09c325c3797fea12c98ae577c1a7acce165a7c43", kill_on_drop: false }` [INFO] [stdout] 768ec0d0dc583076ef22836c09c325c3797fea12c98ae577c1a7acce165a7c43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faa25304739dab22e4e7f631dc984bdf022dc2f0f7c7b32a195c3288ee6d9899 [INFO] running `Command { std: "docker" "start" "-a" "faa25304739dab22e4e7f631dc984bdf022dc2f0f7c7b32a195c3288ee6d9899", kill_on_drop: false }` [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: 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: 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: 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] | `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] [stderr] Compiling 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/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: 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: 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: 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: 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/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: 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: 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] = note: `#[warn(dropping_references)]` on by default [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: 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: 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] 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/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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.54s [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" "faa25304739dab22e4e7f631dc984bdf022dc2f0f7c7b32a195c3288ee6d9899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa25304739dab22e4e7f631dc984bdf022dc2f0f7c7b32a195c3288ee6d9899", kill_on_drop: false }` [INFO] [stdout] faa25304739dab22e4e7f631dc984bdf022dc2f0f7c7b32a195c3288ee6d9899