[INFO] fetching crate dumbnet 0.1.0...
[INFO] checking dumbnet-0.1.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864
[INFO] extracting crate dumbnet 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate dumbnet 0.1.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dumbnet 0.1.0
[INFO] finished tweaking crates.io crate dumbnet 0.1.0
[INFO] tweaked toml for crates.io crate dumbnet 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate crates.io crate dumbnet 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded quote v1.0.2
[INFO] [stderr] Downloaded serde_derive v1.0.104
[INFO] [stderr] Downloaded clicolors-control v1.0.1
[INFO] [stderr] Downloaded atty v0.2.13
[INFO] [stderr] Downloaded unicode-xid v0.2.0
[INFO] [stderr] Downloaded autocfg v0.1.7
[INFO] [stderr] Downloaded bincode v1.2.1
[INFO] [stderr] Downloaded getrandom v0.1.13
[INFO] [stderr] Downloaded gnuplot v0.0.32
[INFO] [stderr] Downloaded indicatif v0.13.0
[INFO] [stderr] Downloaded serde v1.0.104
[INFO] [stderr] Downloaded num-traits v0.2.10
[INFO] [stderr] Downloaded generic-array v0.13.2
[INFO] [stderr] Downloaded ppv-lite86 v0.2.6
[INFO] [stderr] Downloaded syn v1.0.11
[INFO] [stderr] Downloaded regex v1.3.1
[INFO] [stderr] Downloaded regex-syntax v0.6.12
[INFO] [stderr] Downloaded proc-macro2 v1.0.6
[INFO] [stderr] Downloaded termios v0.3.1
[INFO] [stderr] Downloaded unicode-width v0.1.7
[INFO] [stderr] Downloaded libc v0.2.66
[INFO] [stderr] Downloaded c2-chacha v0.2.3
[INFO] [stderr] Downloaded console v0.9.1
[INFO] [stderr] Downloaded numeric-array v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 587b9508f33d5f5b1f708d37af8086987782f002c907178af6117cdfd4763a96
[INFO] running `Command { std: "docker" "start" "-a" "587b9508f33d5f5b1f708d37af8086987782f002c907178af6117cdfd4763a96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "587b9508f33d5f5b1f708d37af8086987782f002c907178af6117cdfd4763a96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "587b9508f33d5f5b1f708d37af8086987782f002c907178af6117cdfd4763a96", kill_on_drop: false }`
[INFO] [stdout] 587b9508f33d5f5b1f708d37af8086987782f002c907178af6117cdfd4763a96
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e14efa85e2d0b641ab1663af72d8100bd4ea6c2d7ed8a778258e7c3bf6215e9e
[INFO] running `Command { std: "docker" "start" "-a" "e14efa85e2d0b641ab1663af72d8100bd4ea6c2d7ed8a778258e7c3bf6215e9e", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.66
[INFO] [stderr] Compiling getrandom v0.1.13
[INFO] [stderr] Compiling proc-macro2 v1.0.6
[INFO] [stderr] Compiling serde v1.0.104
[INFO] [stderr] Compiling autocfg v0.1.7
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling typenum v1.11.2
[INFO] [stderr] Compiling byteorder v1.3.2
[INFO] [stderr] Compiling syn v1.0.11
[INFO] [stderr] Checking ppv-lite86 v0.2.6
[INFO] [stderr] Checking regex-syntax v0.6.12
[INFO] [stderr] Compiling num-traits v0.2.10
[INFO] [stderr] Checking c2-chacha v0.2.3
[INFO] [stderr] Checking unicode-width v0.1.7
[INFO] [stderr] Checking either v1.5.3
[INFO] [stderr] Checking number_prefix v0.3.0
[INFO] [stderr] Checking itertools v0.8.2
[INFO] [stderr] Checking clicolors-control v1.0.1
[INFO] [stderr] Checking termios v0.3.1
[INFO] [stderr] Checking rand_core v0.5.1
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Checking rand_chacha v0.2.1
[INFO] [stderr] Checking gnuplot v0.0.32
[INFO] [stderr] Checking rand v0.7.2
[INFO] [stderr] Checking regex v1.3.1
[INFO] [stderr] Checking console v0.9.1
[INFO] [stderr] Checking indicatif v0.13.0
[INFO] [stderr] Checking generic-array v0.13.2
[INFO] [stderr] Checking bincode v1.2.1
[INFO] [stderr] Compiling serde_derive v1.0.104
[INFO] [stderr] Checking numeric-array v0.4.2
[INFO] [stderr] Checking dumbnet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:53:2
[INFO] [stdout] |
[INFO] [stdout] 53 | /// number of inputs this layer takes
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 | Input: AL,
[INFO] [stdout] | ----- rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:55:2
[INFO] [stdout] |
[INFO] [stdout] 55 | /// number of neurons this layer has
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 56 | Neurons: NL,
[INFO] [stdout] | ------- rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:57:2
[INFO] [stdout] |
[INFO] [stdout] 57 | /// number of neurons of the final layer
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 58 | FinalOut: AL,
[INFO] [stdout] | -------- rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:59:2
[INFO] [stdout] |
[INFO] [stdout] 59 | /// activation function
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 60 | A: Activation,
[INFO] [stdout] | - rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:53:2
[INFO] [stdout] |
[INFO] [stdout] 53 | /// number of inputs this layer takes
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 | Input: AL,
[INFO] [stdout] | ----- rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:55:2
[INFO] [stdout] |
[INFO] [stdout] 55 | /// number of neurons this layer has
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 56 | Neurons: NL,
[INFO] [stdout] | ------- rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:57:2
[INFO] [stdout] |
[INFO] [stdout] 57 | /// number of neurons of the final layer
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 58 | FinalOut: AL,
[INFO] [stdout] | -------- rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout] --> src/layers.rs:59:2
[INFO] [stdout] |
[INFO] [stdout] 59 | /// activation function
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 60 | A: Activation,
[INFO] [stdout] | - rustdoc does not generate documentation for generic parameters
[INFO] [stdout] |
[INFO] [stdout] = help: use `//` for a plain comment
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:24:17
[INFO] [stdout] |
[INFO] [stdout] 24 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Sigmoid`
[INFO] [stdout] 25 | pub enum Sigmoid {}
[INFO] [stdout] | ------- `Sigmoid` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:24:28
[INFO] [stdout] |
[INFO] [stdout] 24 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Sigmoid`
[INFO] [stdout] 25 | pub enum Sigmoid {}
[INFO] [stdout] | ------- `Sigmoid` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:46:17
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ReLu`
[INFO] [stdout] 47 | pub enum ReLu {}
[INFO] [stdout] | ---- `ReLu` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:46:28
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ReLu`
[INFO] [stdout] 47 | pub enum ReLu {}
[INFO] [stdout] | ---- `ReLu` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:57:17
[INFO] [stdout] |
[INFO] [stdout] 57 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SoftMax`
[INFO] [stdout] 58 | pub enum SoftMax {}
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:57:28
[INFO] [stdout] |
[INFO] [stdout] 57 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SoftMax`
[INFO] [stdout] 58 | pub enum SoftMax {}
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:140:24
[INFO] [stdout] |
[INFO] [stdout] 140 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_OutputLayer`
[INFO] [stdout] 141 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 142 | pub struct OutputLayer, Input: AL> {
[INFO] [stdout] | ----------- `OutputLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:140:35
[INFO] [stdout] |
[INFO] [stdout] 140 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_OutputLayer`
[INFO] [stdout] 141 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 142 | pub struct OutputLayer, Input: AL> {
[INFO] [stdout] | ----------- `OutputLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:255:24
[INFO] [stdout] |
[INFO] [stdout] 255 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InnerLayer`
[INFO] [stdout] 256 | #[serde(bound = "Neurons: NL, Input: AL, NextN: NL, FinalOut: AL")]
[INFO] [stdout] 257 | pub struct InnerLayer<
[INFO] [stdout] | ---------- `InnerLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:255:35
[INFO] [stdout] |
[INFO] [stdout] 255 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InnerLayer`
[INFO] [stdout] 256 | #[serde(bound = "Neurons: NL, Input: AL, NextN: NL, FinalOut: AL")]
[INFO] [stdout] 257 | pub struct InnerLayer<
[INFO] [stdout] | ---------- `InnerLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/softmax.rs:14:24
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SoftMax`
[INFO] [stdout] 15 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 16 | pub struct SoftMax, Input: AL> {
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/softmax.rs:14:35
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SoftMax`
[INFO] [stdout] 15 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 16 | pub struct SoftMax, Input: AL> {
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:24:17
[INFO] [stdout] |
[INFO] [stdout] 24 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Sigmoid`
[INFO] [stdout] 25 | pub enum Sigmoid {}
[INFO] [stdout] | ------- `Sigmoid` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:24:28
[INFO] [stdout] |
[INFO] [stdout] 24 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Sigmoid`
[INFO] [stdout] 25 | pub enum Sigmoid {}
[INFO] [stdout] | ------- `Sigmoid` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:46:17
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ReLu`
[INFO] [stdout] 47 | pub enum ReLu {}
[INFO] [stdout] | ---- `ReLu` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:46:28
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ReLu`
[INFO] [stdout] 47 | pub enum ReLu {}
[INFO] [stdout] | ---- `ReLu` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:57:17
[INFO] [stdout] |
[INFO] [stdout] 57 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SoftMax`
[INFO] [stdout] 58 | pub enum SoftMax {}
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/activation.rs:57:28
[INFO] [stdout] |
[INFO] [stdout] 57 | #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SoftMax`
[INFO] [stdout] 58 | pub enum SoftMax {}
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:140:24
[INFO] [stdout] |
[INFO] [stdout] 140 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_OutputLayer`
[INFO] [stdout] 141 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 142 | pub struct OutputLayer, Input: AL> {
[INFO] [stdout] | ----------- `OutputLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:140:35
[INFO] [stdout] |
[INFO] [stdout] 140 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_OutputLayer`
[INFO] [stdout] 141 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 142 | pub struct OutputLayer, Input: AL> {
[INFO] [stdout] | ----------- `OutputLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:255:24
[INFO] [stdout] |
[INFO] [stdout] 255 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InnerLayer`
[INFO] [stdout] 256 | #[serde(bound = "Neurons: NL, Input: AL, NextN: NL, FinalOut: AL")]
[INFO] [stdout] 257 | pub struct InnerLayer<
[INFO] [stdout] | ---------- `InnerLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/layers.rs:255:35
[INFO] [stdout] |
[INFO] [stdout] 255 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InnerLayer`
[INFO] [stdout] 256 | #[serde(bound = "Neurons: NL, Input: AL, NextN: NL, FinalOut: AL")]
[INFO] [stdout] 257 | pub struct InnerLayer<
[INFO] [stdout] | ---------- `InnerLayer` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/softmax.rs:14:24
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SoftMax`
[INFO] [stdout] 15 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 16 | pub struct SoftMax, Input: AL> {
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> src/softmax.rs:14:35
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SoftMax`
[INFO] [stdout] 15 | #[serde(bound = "Neurons: NL, Input: AL")]
[INFO] [stdout] 16 | pub struct SoftMax, Input: AL> {
[INFO] [stdout] | ------- `SoftMax` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.18s
[INFO] running `Command { std: "docker" "inspect" "e14efa85e2d0b641ab1663af72d8100bd4ea6c2d7ed8a778258e7c3bf6215e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e14efa85e2d0b641ab1663af72d8100bd4ea6c2d7ed8a778258e7c3bf6215e9e", kill_on_drop: false }`
[INFO] [stdout] e14efa85e2d0b641ab1663af72d8100bd4ea6c2d7ed8a778258e7c3bf6215e9e