[INFO] fetching crate intricate 0.7.0... [INFO] building intricate-0.7.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate intricate 0.7.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate intricate 0.7.0 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate intricate 0.7.0 [INFO] tweaked toml for crates.io crate intricate 0.7.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate intricate 0.7.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded savefile-derive v0.10.1 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded savefile v0.10.1 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded ryu v1.0.12 [INFO] [stderr] Downloaded futures-util v0.3.25 [INFO] [stderr] Downloaded wasm-bindgen v0.2.83 [INFO] [stderr] Downloaded futures-channel v0.3.25 [INFO] [stderr] Downloaded miniz_oxide v0.6.2 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded flate2 v1.0.25 [INFO] [stderr] Downloaded libm v0.2.6 [INFO] [stderr] Downloaded mio v0.8.5 [INFO] [stderr] Downloaded bumpalo v3.11.1 [INFO] [stderr] Downloaded js-sys v0.3.60 [INFO] [stderr] Downloaded serde_json v1.0.91 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded tracing v0.1.37 [INFO] [stderr] Downloaded serde v1.0.151 [INFO] [stderr] Downloaded tokio v1.23.0 [INFO] [stderr] Downloaded openssl v0.10.45 [INFO] [stderr] Downloaded hyper v0.14.23 [INFO] [stderr] Downloaded url v2.3.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.11 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded idna v0.3.0 [INFO] [stderr] Downloaded opencl3 v0.8.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded futures-task v0.3.25 [INFO] [stderr] Downloaded crossbeam-channel v0.5.6 [INFO] [stderr] Downloaded indicatif v0.17.0 [INFO] [stderr] Downloaded opencl-sys v0.2.2 [INFO] [stderr] Downloaded h2 v0.3.15 [INFO] [stderr] Downloaded cl3 v0.8.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded futures-core v0.3.25 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.83 [INFO] [stderr] Downloaded console v0.15.1 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded intricate-macros v0.7.0 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.10 [INFO] [stderr] Downloaded crossbeam-deque v0.8.2 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded tracing-core v0.1.30 [INFO] [stderr] Downloaded itoa v1.0.5 [INFO] [stderr] Downloaded cc v1.0.78 [INFO] [stderr] Downloaded openssl-sys v0.9.80 [INFO] [stderr] Downloaded percent-encoding v2.2.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.33 [INFO] [stderr] Downloaded futures-sink v0.3.25 [INFO] [stderr] Downloaded ipnet v2.7.0 [INFO] [stderr] Downloaded pkg-config v0.3.26 [INFO] [stderr] Downloaded bytes v1.3.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded form_urlencoded v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded reqwest v0.11.13 [INFO] [stderr] Downloaded windows-sys v0.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61afcadd77bf19869e690707549c1d7e59f581aa2ae78fb432ef0b5d4b0d03c0 [INFO] running `Command { std: "docker" "start" "-a" "61afcadd77bf19869e690707549c1d7e59f581aa2ae78fb432ef0b5d4b0d03c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61afcadd77bf19869e690707549c1d7e59f581aa2ae78fb432ef0b5d4b0d03c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61afcadd77bf19869e690707549c1d7e59f581aa2ae78fb432ef0b5d4b0d03c0", kill_on_drop: false }` [INFO] [stdout] 61afcadd77bf19869e690707549c1d7e59f581aa2ae78fb432ef0b5d4b0d03c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ef7809ffe509a392134ca79c56014f2d92d3dab14b8e22fd8a9eddae6c53242 [INFO] running `Command { std: "docker" "start" "-a" "7ef7809ffe509a392134ca79c56014f2d92d3dab14b8e22fd8a9eddae6c53242", 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 cc v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling futures-task v0.3.25 [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 memoffset v0.6.5 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling openssl-sys v0.9.80 [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 foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures-io v0.3.25 [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 opencl-sys v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling savefile v0.10.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling terminal_size v0.1.17 [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 tokio-util v0.7.4 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling h2 v0.3.15 [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 ipnet v2.7.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling savefile-derive v0.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling indicatif v0.17.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling rand_distr v0.4.3 [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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 134 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 134 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 138 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 138 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 205 - drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] 205 + let _ = self.weights_buff.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.weights_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.biases_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 217 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 217 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 221 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 221 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/model.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 394 | &'b mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 395 | input_samples: &'b Buffer, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 396 | ) -> Result<&Buffer, ModelPredictionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 396 | ) -> Result<&'b Buffer, ModelPredictionError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [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" "7ef7809ffe509a392134ca79c56014f2d92d3dab14b8e22fd8a9eddae6c53242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef7809ffe509a392134ca79c56014f2d92d3dab14b8e22fd8a9eddae6c53242", kill_on_drop: false }` [INFO] [stdout] 7ef7809ffe509a392134ca79c56014f2d92d3dab14b8e22fd8a9eddae6c53242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d38a614d507af6ab597e90a643de0803505d31ff5b1a86ab6c2c96551061381 [INFO] running `Command { std: "docker" "start" "-a" "7d38a614d507af6ab597e90a643de0803505d31ff5b1a86ab6c2c96551061381", 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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 134 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 134 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 138 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 138 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 205 - drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] 205 + let _ = self.weights_buff.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.weights_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.biases_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 217 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 217 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 221 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 221 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/model.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 394 | &'b mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 395 | input_samples: &'b Buffer, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 396 | ) -> Result<&Buffer, ModelPredictionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 396 | ) -> Result<&'b Buffer, ModelPredictionError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intricate v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sigmoid` [INFO] [stdout] --> examples/mnist/main.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | activations::{ReLU, SoftMax, Sigmoid}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layer` [INFO] [stdout] --> examples/mnist/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | Conv2D, Dense, Layer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/relu.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ReLU` [INFO] [stdout] ... [INFO] [stdout] 34 | pub struct ReLU<'a> { [INFO] [stdout] | ---- `ReLU` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/sigmoid.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Sigmoid` [INFO] [stdout] ... [INFO] [stdout] 33 | pub struct Sigmoid<'a> { [INFO] [stdout] | ------- `Sigmoid` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/softmax.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_SoftMax` [INFO] [stdout] ... [INFO] [stdout] 58 | pub struct SoftMax<'a> { [INFO] [stdout] | ------- `SoftMax` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 134 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 134 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/activations/softmax.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 138 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 138 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/activations/tanh.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Savefile, ActivationLayer)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_TanH` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct TanH<'a> { [INFO] [stdout] | ---- `TanH` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Conv2D` [INFO] [stdout] ... [INFO] [stdout] 91 | pub struct Conv2D<'a> { [INFO] [stdout] | ------ `Conv2D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 205 - drop(self.weights_buff.as_ref().unwrap()); [INFO] [stdout] 205 + let _ = self.weights_buff.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/conv2d.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/dense.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Dense` [INFO] [stdout] ... [INFO] [stdout] 86 | pub struct Dense<'a> { [INFO] [stdout] | ----- `Dense` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 209 - drop(self.weights_buffer.as_ref().unwrap()); [INFO] [stdout] 209 + let _ = self.weights_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 213 - drop(self.biases_buffer.as_ref().unwrap()); [INFO] [stdout] 213 + let _ = self.biases_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 217 - drop(self.last_inputs_buffer.as_ref().unwrap()); [INFO] [stdout] 217 + let _ = self.last_inputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/layers/dense.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Buffer` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 221 - drop(self.last_outputs_buffer.as_ref().unwrap()); [INFO] [stdout] 221 + let _ = self.last_outputs_buffer.as_ref().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ConstantInitializer` [INFO] [stdout] ... [INFO] [stdout] 47 | pub struct ConstantInitializer { [INFO] [stdout] | ------------------- `ConstantInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_LimitedRandomInitializer` [INFO] [stdout] 66 | /// A Initializer that generates random numbers inside a given range provided by the **new** method [INFO] [stdout] 67 | pub struct LimitedRandomInitializer { [INFO] [stdout] | ------------------------ `LimitedRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_NormalRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 90 | pub struct NormalRandomInitializer { [INFO] [stdout] | ----------------------- `NormalRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_UniformRandomInitializer` [INFO] [stdout] ... [INFO] [stdout] 160 | pub struct UniformRandomInitializer { [INFO] [stdout] | ------------------------ `UniformRandomInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_GlorotUniformInitializer` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct GlorotUniformInitializer(); [INFO] [stdout] | ------------------------ `GlorotUniformInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, Clone, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_GlorotNormalInitializer` [INFO] [stdout] ... [INFO] [stdout] 294 | pub struct GlorotNormalInitializer(); [INFO] [stdout] | ----------------------- `GlorotNormalInitializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/initializers.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Debug, Clone, Savefile, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Initializer` [INFO] [stdout] 378 | /// The enum that contains all of the possible Initializers [INFO] [stdout] 379 | pub enum Initializer { [INFO] [stdout] | ----------- `Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Savefile)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_Model` [INFO] [stdout] ... [INFO] [stdout] 94 | pub struct Model<'a> { [INFO] [stdout] | ----- `Model` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/model.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 394 | &'b mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 395 | input_samples: &'b Buffer, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 396 | ) -> Result<&Buffer, ModelPredictionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 396 | ) -> Result<&'b Buffer, ModelPredictionError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_SERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_DESERIALIZE_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `WithSchema` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_WITHSCHEMA_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Savefile, EnumLayer, FromForAllUnnamedVariants)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Introspect` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SAVEFILE_INTROSPECT_FOR_ModelLayer` [INFO] [stdout] ... [INFO] [stdout] 63 | pub enum ModelLayer<'a> { [INFO] [stdout] | ---------- `ModelLayer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Savefile` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Savefile` may come from an old version of the `savefile_derive` crate, try updating your dependency with `cargo update -p savefile_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Savefile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.16s [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" "7d38a614d507af6ab597e90a643de0803505d31ff5b1a86ab6c2c96551061381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d38a614d507af6ab597e90a643de0803505d31ff5b1a86ab6c2c96551061381", kill_on_drop: false }` [INFO] [stdout] 7d38a614d507af6ab597e90a643de0803505d31ff5b1a86ab6c2c96551061381