[INFO] fetching crate darknet 0.4.0...
[INFO] testing darknet-0.4.0 against 1.97.0-beta.6 for beta-1.98-1
[INFO] extracting crate darknet 0.4.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate darknet 0.4.0
[INFO] finished tweaking crates.io crate darknet 0.4.0
[INFO] tweaked toml for crates.io crate darknet 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate darknet 0.4.0 on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate darknet 0.4.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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v1.0.37
[INFO] [stderr]   Downloaded thiserror v1.0.37
[INFO] [stderr]   Downloaded unicode-ident v1.0.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.56
[INFO] [stderr]   Downloaded fastrand v1.8.0
[INFO] [stderr]   Downloaded itoa v1.0.4
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.33
[INFO] [stderr]   Downloaded num_cpus v1.14.0
[INFO] [stderr]   Downloaded futures-core v0.3.25
[INFO] [stderr]   Downloaded once_cell v1.16.0
[INFO] [stderr]   Downloaded security-framework-sys v2.6.1
[INFO] [stderr]   Downloaded slab v0.4.7
[INFO] [stderr]   Downloaded futures-task v0.3.25
[INFO] [stderr]   Downloaded futures-sink v0.3.25
[INFO] [stderr]   Downloaded futures-io v0.3.25
[INFO] [stderr]   Downloaded pin-project-internal v1.0.12
[INFO] [stderr]   Downloaded simd-adler32 v0.3.5
[INFO] [stderr]   Downloaded which v4.4.0
[INFO] [stderr]   Downloaded ryu v1.0.11
[INFO] [stderr]   Downloaded schannel v0.1.20
[INFO] [stderr]   Downloaded tempfile v3.3.0
[INFO] [stderr]   Downloaded futures-channel v0.3.25
[INFO] [stderr]   Downloaded ipnet v2.7.0
[INFO] [stderr]   Downloaded argh_shared v0.1.9
[INFO] [stderr]   Downloaded cmake v0.1.49
[INFO] [stderr]   Downloaded argh v0.1.9
[INFO] [stderr]   Downloaded openssl-sys v0.9.79
[INFO] [stderr]   Downloaded argh_derive v0.1.9
[INFO] [stderr]   Downloaded pin-project v1.0.12
[INFO] [stderr]   Downloaded bytes v1.3.0
[INFO] [stderr]   Downloaded bytemuck v1.12.3
[INFO] [stderr]   Downloaded getrandom v0.2.9
[INFO] [stderr]   Downloaded serde v1.0.150
[INFO] [stderr]   Downloaded security-framework v2.7.0
[INFO] [stderr]   Downloaded anyhow v1.0.66
[INFO] [stderr]   Downloaded clang-sys v1.4.0
[INFO] [stderr]   Downloaded flume v0.10.14
[INFO] [stderr]   Downloaded prettyplease v0.2.4
[INFO] [stderr]   Downloaded png v0.17.8
[INFO] [stderr]   Downloaded http v0.2.8
[INFO] [stderr]   Downloaded syn v1.0.105
[INFO] [stderr]   Downloaded serde_json v1.0.89
[INFO] [stderr]   Downloaded futures-util v0.3.25
[INFO] [stderr]   Downloaded openssl v0.10.44
[INFO] [stderr]   Downloaded exr v1.6.3
[INFO] [stderr]   Downloaded bindgen v0.65.1
[INFO] [stderr]   Downloaded syn v2.0.15
[INFO] [stderr]   Downloaded image v0.24.6
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.36.1
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.36.1
[INFO] [stderr]   Downloaded libc v0.2.142
[INFO] [stderr]   Downloaded windows_i686_msvc v0.36.1
[INFO] [stderr]   Downloaded windows_i686_gnu v0.36.1
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.36.1
[INFO] [stderr]   Downloaded encoding_rs v0.8.31
[INFO] [stderr]   Downloaded tiff v0.8.1
[INFO] [stderr]   Downloaded darknet-sys v0.4.0
[INFO] [stderr]   Downloaded windows-sys v0.36.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc
[INFO] running `Command { std: "docker" "start" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling syn v1.0.105
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling simd-adler32 v0.3.5
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling prettyplease v0.2.4
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling bindgen v0.65.1
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling clang-sys v1.4.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling num_cpus v1.14.0
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling cmake v0.1.49
[INFO] [stderr]    Compiling bytemuck v1.12.3
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling png v0.17.8
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling rayon v1.6.1
[INFO] [stderr]    Compiling regex v1.7.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling tiff v0.8.1
[INFO] [stderr]    Compiling exr v1.6.3
[INFO] [stderr]    Compiling image v0.24.6
[INFO] [stderr]    Compiling darknet-sys v0.4.0
[INFO] [stderr]    Compiling darknet v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/detections.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get(&self, index: usize) -> Option<Detection> {
[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] 76 |     pub fn get(&self, index: usize) -> Option<Detection<'_>> {
[INFO] [stdout]    |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/detections.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn iter(&self) -> DetectionsIter {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn iter(&self) -> DetectionsIter<'_> {
[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/kinds.rs:6:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]   |                                                   ^------------
[INFO] [stdout]   |                                                   |
[INFO] [stdout]   |                                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LayerType`
[INFO] [stdout] 7 | pub enum LayerType {
[INFO] [stdout]   |          --------- `LayerType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const 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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:49:51
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Activation`
[INFO] [stdout] 50 | pub enum Activation {
[INFO] [stdout]    |          ---------- `Activation` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:76:51
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BinaryActivation`
[INFO] [stdout] 77 | pub enum BinaryActivation {
[INFO] [stdout]    |          ---------------- `BinaryActivation` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CostType`
[INFO] [stdout] 87 | pub enum CostType {
[INFO] [stdout]    |          -------- `CostType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:98:51
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsType`
[INFO] [stdout] 99 | pub enum WeightsType {
[INFO] [stdout]    |          ----------- `WeightsType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:107:51
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsNormalizion`
[INFO] [stdout] 108 | pub enum WeightsNormalizion {
[INFO] [stdout]     |          ------------------ `WeightsNormalizion` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:116:51
[INFO] [stdout]     |
[INFO] [stdout] 116 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NmsKind`
[INFO] [stdout] 117 | pub enum NmsKind {
[INFO] [stdout]     |          ------- `NmsKind` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoULoss`
[INFO] [stdout] 127 | pub enum IoULoss {
[INFO] [stdout]     |          ------- `IoULoss` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:137:51
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_YoloPoint`
[INFO] [stdout] 138 | pub enum YoloPoint {
[INFO] [stdout]     |          --------- `YoloPoint` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (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/network.rs:95:19
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn layers(&self) -> Layers {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn layers(&self) -> Layers<'_> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/network.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer> {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer<'_>> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.66s
[INFO] running `Command { std: "docker" "inspect" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling once_cell v1.16.0
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling openssl v0.10.44
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling serde v1.0.150
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.79
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling num_cpus v1.14.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.38
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling clang-sys v1.4.0
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling rayon v1.6.1
[INFO] [stderr]    Compiling exr v1.6.3
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling argh_shared v0.1.9
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling argh_derive v0.1.9
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling ipnet v2.7.0
[INFO] [stderr]    Compiling bindgen v0.65.1
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling argh v0.1.9
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tiff v0.8.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling image v0.24.6
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling darknet-sys v0.4.0
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling darknet v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/detections.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get(&self, index: usize) -> Option<Detection> {
[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] 76 |     pub fn get(&self, index: usize) -> Option<Detection<'_>> {
[INFO] [stdout]    |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/detections.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn iter(&self) -> DetectionsIter {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn iter(&self) -> DetectionsIter<'_> {
[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/kinds.rs:6:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]   |                                                   ^------------
[INFO] [stdout]   |                                                   |
[INFO] [stdout]   |                                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LayerType`
[INFO] [stdout] 7 | pub enum LayerType {
[INFO] [stdout]   |          --------- `LayerType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const 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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:49:51
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Activation`
[INFO] [stdout] 50 | pub enum Activation {
[INFO] [stdout]    |          ---------- `Activation` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:76:51
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BinaryActivation`
[INFO] [stdout] 77 | pub enum BinaryActivation {
[INFO] [stdout]    |          ---------------- `BinaryActivation` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CostType`
[INFO] [stdout] 87 | pub enum CostType {
[INFO] [stdout]    |          -------- `CostType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:98:51
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsType`
[INFO] [stdout] 99 | pub enum WeightsType {
[INFO] [stdout]    |          ----------- `WeightsType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:107:51
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsNormalizion`
[INFO] [stdout] 108 | pub enum WeightsNormalizion {
[INFO] [stdout]     |          ------------------ `WeightsNormalizion` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:116:51
[INFO] [stdout]     |
[INFO] [stdout] 116 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NmsKind`
[INFO] [stdout] 117 | pub enum NmsKind {
[INFO] [stdout]     |          ------- `NmsKind` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoULoss`
[INFO] [stdout] 127 | pub enum IoULoss {
[INFO] [stdout]     |          ------- `IoULoss` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:137:51
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_YoloPoint`
[INFO] [stdout] 138 | pub enum YoloPoint {
[INFO] [stdout]     |          --------- `YoloPoint` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (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/network.rs:95:19
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn layers(&self) -> Layers {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn layers(&self) -> Layers<'_> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/network.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer> {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer<'_>> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/detections.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get(&self, index: usize) -> Option<Detection> {
[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] 76 |     pub fn get(&self, index: usize) -> Option<Detection<'_>> {
[INFO] [stdout]    |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/detections.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn iter(&self) -> DetectionsIter {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn iter(&self) -> DetectionsIter<'_> {
[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/kinds.rs:6:51
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]   |                                                   ^------------
[INFO] [stdout]   |                                                   |
[INFO] [stdout]   |                                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LayerType`
[INFO] [stdout] 7 | pub enum LayerType {
[INFO] [stdout]   |          --------- `LayerType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const 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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:49:51
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Activation`
[INFO] [stdout] 50 | pub enum Activation {
[INFO] [stdout]    |          ---------- `Activation` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:76:51
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BinaryActivation`
[INFO] [stdout] 77 | pub enum BinaryActivation {
[INFO] [stdout]    |          ---------------- `BinaryActivation` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CostType`
[INFO] [stdout] 87 | pub enum CostType {
[INFO] [stdout]    |          -------- `CostType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/kinds.rs:98:51
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^------------
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsType`
[INFO] [stdout] 99 | pub enum WeightsType {
[INFO] [stdout]    |          ----------- `WeightsType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:107:51
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsNormalizion`
[INFO] [stdout] 108 | pub enum WeightsNormalizion {
[INFO] [stdout]     |          ------------------ `WeightsNormalizion` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:116:51
[INFO] [stdout]     |
[INFO] [stdout] 116 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NmsKind`
[INFO] [stdout] 117 | pub enum NmsKind {
[INFO] [stdout]     |          ------- `NmsKind` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoULoss`
[INFO] [stdout] 127 | pub enum IoULoss {
[INFO] [stdout]     |          ------- `IoULoss` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/kinds.rs:137:51
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stdout]     |                                                   ^------------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `FromPrimitive` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_YoloPoint`
[INFO] [stdout] 138 | pub enum YoloPoint {
[INFO] [stdout]     |          --------- `YoloPoint` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (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/network.rs:95:19
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn layers(&self) -> Layers {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn layers(&self) -> Layers<'_> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/network.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer> {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer<'_>> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 55.76s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.44
[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" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/detections.rs:76:16
[INFO] [stderr]    |
[INFO] [stderr] 76 |     pub fn get(&self, index: usize) -> Option<Detection> {
[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] 76 |     pub fn get(&self, index: usize) -> Option<Detection<'_>> {
[INFO] [stderr]    |                                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/detections.rs:99:17
[INFO] [stderr]    |
[INFO] [stderr] 99 |     pub fn iter(&self) -> DetectionsIter {
[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] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 99 |     pub fn iter(&self) -> DetectionsIter<'_> {
[INFO] [stderr]    |                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/kinds.rs:6:51
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]   |                                                   ^------------
[INFO] [stderr]   |                                                   |
[INFO] [stderr]   |                                                   `FromPrimitive` is not local
[INFO] [stderr]   |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LayerType`
[INFO] [stderr] 7 | pub enum LayerType {
[INFO] [stderr]   |          --------- `LayerType` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:49:51
[INFO] [stderr]    |
[INFO] [stderr] 49 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]    |                                                   ^------------
[INFO] [stderr]    |                                                   |
[INFO] [stderr]    |                                                   `FromPrimitive` is not local
[INFO] [stderr]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Activation`
[INFO] [stderr] 50 | pub enum Activation {
[INFO] [stderr]    |          ---------- `Activation` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:76:51
[INFO] [stderr]    |
[INFO] [stderr] 76 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]    |                                                   ^------------
[INFO] [stderr]    |                                                   |
[INFO] [stderr]    |                                                   `FromPrimitive` is not local
[INFO] [stderr]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BinaryActivation`
[INFO] [stderr] 77 | pub enum BinaryActivation {
[INFO] [stderr]    |          ---------------- `BinaryActivation` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:86:51
[INFO] [stderr]    |
[INFO] [stderr] 86 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]    |                                                   ^------------
[INFO] [stderr]    |                                                   |
[INFO] [stderr]    |                                                   `FromPrimitive` is not local
[INFO] [stderr]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CostType`
[INFO] [stderr] 87 | pub enum CostType {
[INFO] [stderr]    |          -------- `CostType` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:98:51
[INFO] [stderr]    |
[INFO] [stderr] 98 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]    |                                                   ^------------
[INFO] [stderr]    |                                                   |
[INFO] [stderr]    |                                                   `FromPrimitive` is not local
[INFO] [stderr]    |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsType`
[INFO] [stderr] 99 | pub enum WeightsType {
[INFO] [stderr]    |          ----------- `WeightsType` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:107:51
[INFO] [stderr]     |
[INFO] [stderr] 107 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]     |                                                   ^------------
[INFO] [stderr]     |                                                   |
[INFO] [stderr]     |                                                   `FromPrimitive` is not local
[INFO] [stderr]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WeightsNormalizion`
[INFO] [stderr] 108 | pub enum WeightsNormalizion {
[INFO] [stderr]     |          ------------------ `WeightsNormalizion` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:116:51
[INFO] [stderr]     |
[INFO] [stderr] 116 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]     |                                                   ^------------
[INFO] [stderr]     |                                                   |
[INFO] [stderr]     |                                                   `FromPrimitive` is not local
[INFO] [stderr]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NmsKind`
[INFO] [stderr] 117 | pub enum NmsKind {
[INFO] [stderr]     |          ------- `NmsKind` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:126:51
[INFO] [stderr]     |
[INFO] [stderr] 126 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]     |                                                   ^------------
[INFO] [stderr]     |                                                   |
[INFO] [stderr]     |                                                   `FromPrimitive` is not local
[INFO] [stderr]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoULoss`
[INFO] [stderr] 127 | pub enum IoULoss {
[INFO] [stderr]     |          ------- `IoULoss` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/kinds.rs:137:51
[INFO] [stderr]     |
[INFO] [stderr] 137 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)]
[INFO] [stderr]     |                                                   ^------------
[INFO] [stderr]     |                                                   |
[INFO] [stderr]     |                                                   `FromPrimitive` is not local
[INFO] [stderr]     |                                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_YoloPoint`
[INFO] [stderr] 138 | pub enum YoloPoint {
[INFO] [stderr]     |          --------- `YoloPoint` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 derive macro `FromPrimitive` (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/network.rs:95:19
[INFO] [stderr]    |
[INFO] [stderr] 95 |     pub fn layers(&self) -> Layers {
[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] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 95 |     pub fn layers(&self) -> Layers<'_> {
[INFO] [stderr]    |                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/network.rs:101:22
[INFO] [stderr]     |
[INFO] [stderr] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer> {
[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] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 101 |     pub fn get_layer(&self, index: usize) -> Option<Layer<'_>> {
[INFO] [stderr]     |                                                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `darknet` (lib) generated 13 warnings (run `cargo fix --lib -p darknet` to apply 4 suggestions)
[INFO] [stderr] warning: `darknet` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.44
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/darknet-b411b204d34f7e1c)
[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]      Running tests/tiny_yolov3_inference.rs (/opt/rustwide/target/debug/deps/tiny_yolov3_inference-61fa08fb17da0217)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test main ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- main stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     main
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test tiny_yolov3_inference`
[INFO] running `Command { std: "docker" "inspect" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc", kill_on_drop: false }`
[INFO] [stdout] ff714eac5612aeeee3dc1af35abab992cbb91ee92f4a2353040bbf6ffeb090bc
