[INFO] fetching crate n5gest 0.4.0... [INFO] testing n5gest-0.4.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate n5gest 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate n5gest 0.4.0 [INFO] finished tweaking crates.io crate n5gest 0.4.0 [INFO] tweaked toml for crates.io crate n5gest 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate n5gest 0.4.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate n5gest 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded strfmt v0.2.2 [INFO] [stderr] Downloaded n5 v0.7.6 [INFO] [stderr] Downloaded rustversion v1.0.9 [INFO] [stderr] Downloaded lz4 v1.24.0 [INFO] [stderr] Downloaded prettytable-rs v0.9.0 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.82 [INFO] [stderr] Downloaded matrixmultiply v0.2.4 [INFO] [stderr] Downloaded bytemuck v1.12.3 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.82 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded meval v0.2.0 [INFO] [stderr] Downloaded serde_json v1.0.88 [INFO] [stderr] Downloaded cxx-build v1.0.82 [INFO] [stderr] Downloaded ndarray v0.13.1 [INFO] [stderr] Downloaded miniz_oxide v0.5.4 [INFO] [stderr] Downloaded cc v1.0.76 [INFO] [stderr] Downloaded indicatif v0.13.0 [INFO] [stderr] Downloaded cxx v1.0.82 [INFO] [stderr] Downloaded bzip2 v0.4.3 [INFO] [stderr] Downloaded serde_plain v1.0.1 [INFO] [stderr] Downloaded lz4-sys v1.9.4 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6358b18c18f3f03b869b1a42d48b9052915a623da5e58937c51057edfcc8cacd [INFO] running `Command { std: "docker" "start" "-a" "6358b18c18f3f03b869b1a42d48b9052915a623da5e58937c51057edfcc8cacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6358b18c18f3f03b869b1a42d48b9052915a623da5e58937c51057edfcc8cacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6358b18c18f3f03b869b1a42d48b9052915a623da5e58937c51057edfcc8cacd", kill_on_drop: false }` [INFO] [stdout] 6358b18c18f3f03b869b1a42d48b9052915a623da5e58937c51057edfcc8cacd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 654f934cd23cab1b2114ac61398d975e24db3045d2dba595a1913ae3f361980a [INFO] running `Command { std: "docker" "start" "-a" "654f934cd23cab1b2114ac61398d975e24db3045d2dba595a1913ae3f361980a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.88 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling console v0.15.2 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling strfmt v0.2.2 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indicatif v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling serde_plain v1.0.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling prettytable-rs v0.9.0 [INFO] [stderr] Compiling lz4 v1.24.0 [INFO] [stderr] Compiling n5 v0.7.6 [INFO] [stderr] Compiling n5gest v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cell` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | cell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MetricPrefix` [INFO] [stdout] 80 | enum MetricPrefix { [INFO] [stdout] | ------------ `MetricPrefix` 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/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MetricPrefix` [INFO] [stdout] 80 | enum MetricPrefix { [INFO] [stdout] | ------------ `MetricPrefix` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [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" "654f934cd23cab1b2114ac61398d975e24db3045d2dba595a1913ae3f361980a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654f934cd23cab1b2114ac61398d975e24db3045d2dba595a1913ae3f361980a", kill_on_drop: false }` [INFO] [stdout] 654f934cd23cab1b2114ac61398d975e24db3045d2dba595a1913ae3f361980a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1a9b8ce79085437045841272cecd40fc608331020361f62197a49a7047b2ea6 [INFO] running `Command { std: "docker" "start" "-a" "f1a9b8ce79085437045841272cecd40fc608331020361f62197a49a7047b2ea6", kill_on_drop: false }` [INFO] [stderr] Compiling n5gest v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cell` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | cell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MetricPrefix` [INFO] [stdout] 80 | enum MetricPrefix { [INFO] [stdout] | ------------ `MetricPrefix` 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/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MetricPrefix` [INFO] [stdout] 80 | enum MetricPrefix { [INFO] [stdout] | ------------ `MetricPrefix` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [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" "f1a9b8ce79085437045841272cecd40fc608331020361f62197a49a7047b2ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a9b8ce79085437045841272cecd40fc608331020361f62197a49a7047b2ea6", kill_on_drop: false }` [INFO] [stdout] f1a9b8ce79085437045841272cecd40fc608331020361f62197a49a7047b2ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 740d16629e51098cc910b34a6b3ed8978b1e39e4f895a0def181eeda0a88009d [INFO] running `Command { std: "docker" "start" "-a" "740d16629e51098cc910b34a6b3ed8978b1e39e4f895a0def181eeda0a88009d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `cell` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | cell, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:79:10 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MetricPrefix` [INFO] [stderr] 80 | enum MetricPrefix { [INFO] [stderr] | ------------ `MetricPrefix` 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/main.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MetricPrefix` [INFO] [stderr] 80 | enum MetricPrefix { [INFO] [stderr] | ------------ `MetricPrefix` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `n5gest` (bin "n5gest" test) generated 3 warnings (run `cargo fix --bin "n5gest" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [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/main.rs (/opt/rustwide/target/debug/deps/n5gest-d8ebcf305f128506) [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] running `Command { std: "docker" "inspect" "740d16629e51098cc910b34a6b3ed8978b1e39e4f895a0def181eeda0a88009d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "740d16629e51098cc910b34a6b3ed8978b1e39e4f895a0def181eeda0a88009d", kill_on_drop: false }` [INFO] [stdout] 740d16629e51098cc910b34a6b3ed8978b1e39e4f895a0def181eeda0a88009d