[INFO] fetching crate neuro 0.1.0... [INFO] building neuro-0.1.0 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate neuro 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate neuro 0.1.0 [INFO] finished tweaking crates.io crate neuro 0.1.0 [INFO] tweaked toml for crates.io crate neuro 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate neuro 0.1.0 on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate neuro 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded console v0.9.2 [INFO] [stderr] Downloaded termios v0.3.1 [INFO] [stderr] Downloaded indicatif v0.14.0 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded hdf5-derive v0.6.0 [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded tiff v0.4.0 [INFO] [stderr] Downloaded bytemuck v1.2.0 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded serde_json v1.0.48 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded arrayfire v3.6.3 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded ndarray v0.12.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.18 [INFO] [stderr] Downloaded syn v1.0.16 [INFO] [stderr] Downloaded image v0.23.0 [INFO] [stderr] Downloaded regex-syntax v0.6.14 [INFO] [stderr] Downloaded bstr v0.2.11 [INFO] [stderr] Downloaded libc v0.2.67 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded regex v1.3.4 [INFO] [stderr] Downloaded aho-corasick v0.7.9 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded miniz_oxide v0.3.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.9 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded hdf5-types v0.6.0 [INFO] [stderr] Downloaded hdf5-sys v0.6.0 [INFO] [stderr] Downloaded num-rational v0.2.3 [INFO] [stderr] Downloaded png v0.15.3 [INFO] [stderr] Downloaded hermit-abi v0.1.8 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded num_cpus v1.12.0 [INFO] [stderr] Downloaded hdf5 v0.6.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c56894c43e012460ad4a8ac5fe479403e999c56c0e1be41e9ada76ac24356aa4 [INFO] running `Command { std: "docker" "start" "-a" "c56894c43e012460ad4a8ac5fe479403e999c56c0e1be41e9ada76ac24356aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c56894c43e012460ad4a8ac5fe479403e999c56c0e1be41e9ada76ac24356aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56894c43e012460ad4a8ac5fe479403e999c56c0e1be41e9ada76ac24356aa4", kill_on_drop: false }` [INFO] [stdout] c56894c43e012460ad4a8ac5fe479403e999c56c0e1be41e9ada76ac24356aa4 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] ace64e8faad4ee16c1dfaaefcefd443cfa5e441901b141ef35678d38232bc211 [INFO] running `Command { std: "docker" "start" "-a" "ace64e8faad4ee16c1dfaaefcefd443cfa5e441901b141ef35678d38232bc211", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling hdf5-types v0.6.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling bstr v0.2.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling hdf5-sys v0.6.0 [INFO] [stderr] Compiling image v0.23.0 [INFO] [stderr] Compiling hdf5-derive v0.6.0 [INFO] [stderr] Compiling hdf5 v0.6.0 [INFO] [stderr] Compiling arrayfire v3.6.3 [INFO] [stderr] Compiling neuro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::regularizers::*` [INFO] [stdout] --> src/layers/dense.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::regularizers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tensor::*` [INFO] [stdout] --> src/layers/dense.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_size` is never read [INFO] [stdout] --> src/data/image_data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ImageDataSet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | image_size: (u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/activations.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(hdf5::H5Type, Clone, Copy, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Activation` [INFO] [stdout] 11 | #[repr(u8)] [INFO] [stdout] 12 | pub enum Activation { [INFO] [stdout] | ---------- `Activation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/initializers.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Initializer` [INFO] [stdout] 39 | #[repr(C)] [INFO] [stdout] 40 | pub(crate) struct H5Initializer { [INFO] [stdout] | ------------- `H5Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(hdf5::H5Type, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Padding` [INFO] [stdout] 19 | #[repr(u8)] [INFO] [stdout] 20 | pub enum Padding { [INFO] [stdout] | ------- `Padding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/regularizers.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Regularizer` [INFO] [stdout] 26 | #[repr(C)] [INFO] [stdout] 27 | pub(crate) struct H5Regularizer { [INFO] [stdout] | ------------- `H5Regularizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tensor.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Tensor` [INFO] [stdout] 165 | #[repr(C)] [INFO] [stdout] 166 | pub(crate) struct H5Tensor { [INFO] [stdout] | -------- `H5Tensor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: hdf5 v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ace64e8faad4ee16c1dfaaefcefd443cfa5e441901b141ef35678d38232bc211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace64e8faad4ee16c1dfaaefcefd443cfa5e441901b141ef35678d38232bc211", kill_on_drop: false }` [INFO] [stdout] ace64e8faad4ee16c1dfaaefcefd443cfa5e441901b141ef35678d38232bc211 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 1940f9c91851b6890c57455b549f2466253d6583754aec2ed82d1631e808819e [INFO] running `Command { std: "docker" "start" "-a" "1940f9c91851b6890c57455b549f2466253d6583754aec2ed82d1631e808819e", kill_on_drop: false }` [INFO] [stderr] Compiling neuro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::regularizers::*` [INFO] [stdout] --> src/layers/dense.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::regularizers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tensor::*` [INFO] [stdout] --> src/layers/dense.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_size` is never read [INFO] [stdout] --> src/data/image_data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ImageDataSet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | image_size: (u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/activations.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(hdf5::H5Type, Clone, Copy, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Activation` [INFO] [stdout] 11 | #[repr(u8)] [INFO] [stdout] 12 | pub enum Activation { [INFO] [stdout] | ---------- `Activation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/initializers.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Initializer` [INFO] [stdout] 39 | #[repr(C)] [INFO] [stdout] 40 | pub(crate) struct H5Initializer { [INFO] [stdout] | ------------- `H5Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(hdf5::H5Type, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Padding` [INFO] [stdout] 19 | #[repr(u8)] [INFO] [stdout] 20 | pub enum Padding { [INFO] [stdout] | ------- `Padding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/regularizers.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Regularizer` [INFO] [stdout] 26 | #[repr(C)] [INFO] [stdout] 27 | pub(crate) struct H5Regularizer { [INFO] [stdout] | ------------- `H5Regularizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tensor.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Tensor` [INFO] [stdout] 165 | #[repr(C)] [INFO] [stdout] 166 | pub(crate) struct H5Tensor { [INFO] [stdout] | -------- `H5Tensor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dropout` [INFO] [stdout] --> examples/cifar10.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | use neuro::layers::{Dense, Conv2D, Padding, MaxPool2D, Dropout, Flatten}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AdaDelta` and `RMSProp` [INFO] [stdout] --> examples/cifar10.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use neuro::optimizers::{RMSProp, AdaDelta, Adam}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neuro::initializers::Initializer` [INFO] [stdout] --> examples/cifar10.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use neuro::initializers::Initializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neuro::initializers::Initializer` [INFO] [stdout] --> examples/adadelta_paper_example.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use neuro::initializers::Initializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::regularizers::*` [INFO] [stdout] --> src/layers/dense.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::regularizers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tensor::*` [INFO] [stdout] --> src/layers/dense.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrayfire::*` [INFO] [stdout] --> src/layers/dense.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use arrayfire::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tensor::*` [INFO] [stdout] --> src/losses.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use crate::tensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrayfire::*` [INFO] [stdout] --> src/losses.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | use arrayfire::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataSet` [INFO] [stdout] --> examples/xor.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use neuro::data::{TabularDataSet, DataSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/mnist_feedforward.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | nn.save("mnist_feedforward.h5"); [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] 34 | let _ = nn.save("mnist_feedforward.h5"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_output` [INFO] [stdout] --> src/layers/max_pooling.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | ... let expected_output: [PrimitiveType; 64] = [0., 0., 0., 0., -1., 0., 0., 2., 0., 0., 0., 0., 0., 3., 1., 0., 0., -2., 4., 0.,... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | ... let mut y_pred = Tensor::new(&[0.2337, 0.3056, 0.4608, 0.4079, 0.1819, 0.4102, 0.4034, 0.2517, 0.3449, 0.2227, 0.2946, 0.4828... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut y_true = Tensor::new(&[0., 0., 1., 0., 0., 1., 1., 0., 0., 0., 0., 1.], Dim::new(&[3, 1, 1, 4])); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | ... let mut y_pred = Tensor::new(&[0.2337, 0.3056, 0.4608, 0.4079, 0.1819, 0.4102, 0.4034, 0.2517, 0.3449, 0.2227, 0.2946, 0.4828... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut y_true = Tensor::new(&[0., 0., 1., 0., 0., 1., 1., 0., 0., 0., 0., 1.], Dim::new(&[3, 1, 1, 4])); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_size` is never read [INFO] [stdout] --> src/data/image_data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ImageDataSet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | image_size: (u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/activations.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(hdf5::H5Type, Clone, Copy, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Activation` [INFO] [stdout] 11 | #[repr(u8)] [INFO] [stdout] 12 | pub enum Activation { [INFO] [stdout] | ---------- `Activation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/initializers.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Initializer` [INFO] [stdout] 39 | #[repr(C)] [INFO] [stdout] 40 | pub(crate) struct H5Initializer { [INFO] [stdout] | ------------- `H5Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(hdf5::H5Type, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Padding` [INFO] [stdout] 19 | #[repr(u8)] [INFO] [stdout] 20 | pub enum Padding { [INFO] [stdout] | ------- `Padding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/regularizers.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Regularizer` [INFO] [stdout] 26 | #[repr(C)] [INFO] [stdout] 27 | pub(crate) struct H5Regularizer { [INFO] [stdout] | ------------- `H5Regularizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tensor.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Tensor` [INFO] [stdout] 165 | #[repr(C)] [INFO] [stdout] 166 | pub(crate) struct H5Tensor { [INFO] [stdout] | -------- `H5Tensor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: hdf5 v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1940f9c91851b6890c57455b549f2466253d6583754aec2ed82d1631e808819e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1940f9c91851b6890c57455b549f2466253d6583754aec2ed82d1631e808819e", kill_on_drop: false }` [INFO] [stdout] 1940f9c91851b6890c57455b549f2466253d6583754aec2ed82d1631e808819e