[INFO] fetching crate unda 0.2.2... [INFO] testing unda-0.2.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate unda 0.2.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate unda 0.2.2 [INFO] finished tweaking crates.io crate unda 0.2.2 [INFO] tweaked toml for crates.io crate unda 0.2.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unda 0.2.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unda 0.2.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 179c81fec666e8fa0fd12e31c1c0250c1cb9a4064008d73f3196727e0a726994 [INFO] running `Command { std: "docker" "start" "-a" "179c81fec666e8fa0fd12e31c1c0250c1cb9a4064008d73f3196727e0a726994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "179c81fec666e8fa0fd12e31c1c0250c1cb9a4064008d73f3196727e0a726994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179c81fec666e8fa0fd12e31c1c0250c1cb9a4064008d73f3196727e0a726994", kill_on_drop: false }` [INFO] [stdout] 179c81fec666e8fa0fd12e31c1c0250c1cb9a4064008d73f3196727e0a726994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c62922f713af918b4291e177151a94a018e0c57a5699103085fa307851b5877 [INFO] running `Command { std: "docker" "start" "-a" "5c62922f713af918b4291e177151a94a018e0c57a5699103085fa307851b5877", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling inventory v0.3.13 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling typetag-impl v0.2.14 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling rand_seeder v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling erased-serde v0.4.1 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling typetag v0.2.14 [INFO] [stderr] Compiling unda v0.2.2 (/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/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const 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 attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/layer/methods/activations.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_function(&self) -> Option{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn get_function(&self) -> Option>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util/mnist.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | stdout().flush(); print!("["); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = stdout().flush(); print!("["); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util/mnist.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | stdout().flush(); print!("#"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = stdout().flush(); print!("#"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.61s [INFO] running `Command { std: "docker" "inspect" "5c62922f713af918b4291e177151a94a018e0c57a5699103085fa307851b5877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c62922f713af918b4291e177151a94a018e0c57a5699103085fa307851b5877", kill_on_drop: false }` [INFO] [stdout] 5c62922f713af918b4291e177151a94a018e0c57a5699103085fa307851b5877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 317b90a4f338428d0c123b14c3d9e86a478b746ee574f38fbe631561f354bf1e [INFO] running `Command { std: "docker" "start" "-a" "317b90a4f338428d0c123b14c3d9e86a478b746ee574f38fbe631561f354bf1e", 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/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const 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 attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/layer/methods/activations.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_function(&self) -> Option{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn get_function(&self) -> Option>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unda v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util/mnist.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | stdout().flush(); print!("["); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = stdout().flush(); print!("["); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util/mnist.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | stdout().flush(); print!("#"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = stdout().flush(); print!("#"); [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/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const 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 attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/layer/layers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[typetag::serde] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 11 | pub trait Layer: Send + Sync{ [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/layer/methods/activations.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_function(&self) -> Option{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn get_function(&self) -> Option>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/core/data/matrix.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | mat_a + &mat_b; [INFO] [stdout] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 422 | let _ = mat_a + &mat_b; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/core/data/matrix.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | mat_a * &mat_b; [INFO] [stdout] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 457 | let _ = mat_a * &mat_b; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/core/data/matrix.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | mat_a * &mat_b; [INFO] [stdout] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 464 | let _ = mat_a * &mat_b; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util/mnist.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | stdout().flush(); print!("["); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = stdout().flush(); print!("["); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util/mnist.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | stdout().flush(); print!("#"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = stdout().flush(); print!("#"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "317b90a4f338428d0c123b14c3d9e86a478b746ee574f38fbe631561f354bf1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317b90a4f338428d0c123b14c3d9e86a478b746ee574f38fbe631561f354bf1e", kill_on_drop: false }` [INFO] [stdout] 317b90a4f338428d0c123b14c3d9e86a478b746ee574f38fbe631561f354bf1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 322979460b471796f2c0e977cdca1e69a5ac96065f9393a8b1cadbea4e18a827 [INFO] running `Command { std: "docker" "start" "-a" "322979460b471796f2c0e977cdca1e69a5ac96065f9393a8b1cadbea4e18a827", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Send` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Sync` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Send` is not local [INFO] [stderr] | `Sync` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Strictest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | -^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Box` is not local [INFO] [stderr] | `Send` is not local [INFO] [stderr] | `Sync` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | -^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Box` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | -^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Box` is not local [INFO] [stderr] | `Send` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/core/layer/layers.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[typetag::serde] [INFO] [stderr] | -^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Box` is not local [INFO] [stderr] | `Sync` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stderr] 11 | pub trait Layer: Send + Sync{ [INFO] [stderr] | ----- `Layer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/layer/methods/activations.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_function(&self) -> Option{ [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | fn get_function(&self) -> Option>{ [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/util/mnist.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | stdout().flush(); print!("["); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 72 | let _ = stdout().flush(); print!("["); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/util/mnist.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | stdout().flush(); print!("#"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 77 | let _ = stdout().flush(); print!("#"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/core/data/matrix.rs:422:9 [INFO] [stderr] | [INFO] [stderr] 422 | mat_a + &mat_b; [INFO] [stderr] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 422 | let _ = mat_a + &mat_b; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/core/data/matrix.rs:457:9 [INFO] [stderr] | [INFO] [stderr] 457 | mat_a * &mat_b; [INFO] [stderr] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 457 | let _ = mat_a * &mat_b; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/core/data/matrix.rs:464:9 [INFO] [stderr] | [INFO] [stderr] 464 | mat_a * &mat_b; [INFO] [stderr] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 464 | let _ = mat_a * &mat_b; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/util/mnist.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | stdout().flush(); print!("["); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 72 | let _ = stdout().flush(); print!("["); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `unda` (lib) generated 13 warnings (run `cargo fix --lib -p unda` to apply 1 suggestion) [INFO] [stderr] warning: `unda` (lib test) generated 16 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unda-0d8647aef58874f1) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test core::data::matrix::tests::matrix_add ... ok [INFO] [stdout] test core::data::matrix::tests::test_mul ... ok [INFO] [stdout] test core::data::matrix::tests::test_addassign ... ok [INFO] [stdout] test core::data::matrix::tests::test_mul_shape ... ok [INFO] [stdout] test core::data::matrix::tests::test_mul_vals ... ok [INFO] [stdout] test core::data::matrix::tests::test_transpose ... ok [INFO] [stdout] test core::data::matrix::tests::test_pow ... ok [INFO] [stdout] test core::data::matrix::tests::test_transpose_ne ... ok [INFO] [stdout] test core::layer::dense::test::dense_shape ... ok [INFO] [stdout] test core::layer::dense::test::forward_result ... ok [INFO] [stdout] test core::layer::dense::test::forward_shape ... ok [INFO] [stdout] test core::layer::methods::activations::test::test_relu ... ok [INFO] [stdout] test core::layer::methods::activations::test::test_relu_der ... ok [INFO] [stdout] test core::layer::methods::activations::test::test_sigmoid ... ok [INFO] [stdout] test core::layer::methods::activations::test::test_sigmoid_der ... ok [INFO] [stdout] test core::layer::methods::activations::test::test_softmax ... ok [INFO] [stdout] test core::network::test::check_set_input ... ok [INFO] [stdout] test core::data::matrix::tests::matrix_panic - should panic ... ok [INFO] [stdout] test core::data::matrix::tests::test_invalid_mul - should panic ... ok [INFO] [stdout] test core::layer::dense::test::forward_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/unda-71ad0d2f952ae5f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests unda [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/core/network.rs - core::network::Network::new (line 49) ... ok [INFO] [stdout] test src/core/network.rs - core::network::Network::add_layer (line 84) ... ok [INFO] [stdout] test src/core/network.rs - core::network::Network::feed_forward (line 182) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "322979460b471796f2c0e977cdca1e69a5ac96065f9393a8b1cadbea4e18a827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322979460b471796f2c0e977cdca1e69a5ac96065f9393a8b1cadbea4e18a827", kill_on_drop: false }` [INFO] [stdout] 322979460b471796f2c0e977cdca1e69a5ac96065f9393a8b1cadbea4e18a827