[INFO] fetching crate retrocompressor 1.0.1... [INFO] testing retrocompressor-1.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate retrocompressor 1.0.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate retrocompressor 1.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate retrocompressor 1.0.1 [INFO] tweaked toml for crates.io crate retrocompressor 1.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate retrocompressor 1.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate retrocompressor 1.0.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71276865490e13db79d8cd0a448f1e9b1b98b9a9382aca924397a44755a9361e [INFO] running `Command { std: "docker" "start" "-a" "71276865490e13db79d8cd0a448f1e9b1b98b9a9382aca924397a44755a9361e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71276865490e13db79d8cd0a448f1e9b1b98b9a9382aca924397a44755a9361e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71276865490e13db79d8cd0a448f1e9b1b98b9a9382aca924397a44755a9361e", kill_on_drop: false }` [INFO] [stdout] 71276865490e13db79d8cd0a448f1e9b1b98b9a9382aca924397a44755a9361e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5086139a6d066734f9f1f1f9e399cd033e62a25a9ce3e929380b0ffbbc624d2c [INFO] running `Command { std: "docker" "start" "-a" "5086139a6d066734f9f1f1f9e399cd033e62a25a9ce3e929380b0ffbbc624d2c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling predicates v3.0.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tempfile v3.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling assert_cmd v2.0.12 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling retrocompressor v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `up`, `is_leaf`, and `cut_downward` are never used [INFO] [stdout] --> src/tools/node_pool.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Tree { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn up(&mut self) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn is_leaf(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn cut_downward(&mut self,side: Side) -> Result<(),Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_abs` is never used [INFO] [stdout] --> src/tools/ring_buffer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RingBuffer { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn set_abs(&mut self,abs: usize,val: T) { [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/tools/node_pool.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(FromPrimitive,Clone,Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Side` [INFO] [stdout] 37 | pub enum Side { [INFO] [stdout] | ---- `Side` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.90s [INFO] running `Command { std: "docker" "inspect" "5086139a6d066734f9f1f1f9e399cd033e62a25a9ce3e929380b0ffbbc624d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5086139a6d066734f9f1f1f9e399cd033e62a25a9ce3e929380b0ffbbc624d2c", kill_on_drop: false }` [INFO] [stdout] 5086139a6d066734f9f1f1f9e399cd033e62a25a9ce3e929380b0ffbbc624d2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dc6330fb3db68c9cab74d9a72fd2440dd6efbbf39acbb0bd93246a9516713f2 [INFO] running `Command { std: "docker" "start" "-a" "7dc6330fb3db68c9cab74d9a72fd2440dd6efbbf39acbb0bd93246a9516713f2", kill_on_drop: false }` [INFO] [stdout] warning: methods `up`, `is_leaf`, and `cut_downward` are never used [INFO] [stdout] --> src/tools/node_pool.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Tree { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn up(&mut self) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn is_leaf(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn cut_downward(&mut self,side: Side) -> Result<(),Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_abs` is never used [INFO] [stdout] --> src/tools/ring_buffer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RingBuffer { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn set_abs(&mut self,abs: usize,val: T) { [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/tools/node_pool.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(FromPrimitive,Clone,Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Side` [INFO] [stdout] 37 | pub enum Side { [INFO] [stdout] | ---- `Side` 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] [stderr] Compiling retrocompressor v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `up`, `is_leaf`, and `cut_downward` are never used [INFO] [stdout] --> src/tools/node_pool.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Tree { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn up(&mut self) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn is_leaf(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn cut_downward(&mut self,side: Side) -> Result<(),Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_abs` is never used [INFO] [stdout] --> src/tools/ring_buffer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RingBuffer { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn set_abs(&mut self,abs: usize,val: T) { [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/tools/node_pool.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(FromPrimitive,Clone,Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Side` [INFO] [stdout] 37 | pub enum Side { [INFO] [stdout] | ---- `Side` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "7dc6330fb3db68c9cab74d9a72fd2440dd6efbbf39acbb0bd93246a9516713f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc6330fb3db68c9cab74d9a72fd2440dd6efbbf39acbb0bd93246a9516713f2", kill_on_drop: false }` [INFO] [stdout] 7dc6330fb3db68c9cab74d9a72fd2440dd6efbbf39acbb0bd93246a9516713f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b7a5ceeef2d18616c6e6e348851aa0a6bfb7197dcd76615ee4d21f39f451eb1 [INFO] running `Command { std: "docker" "start" "-a" "7b7a5ceeef2d18616c6e6e348851aa0a6bfb7197dcd76615ee4d21f39f451eb1", kill_on_drop: false }` [INFO] [stderr] warning: methods `up`, `is_leaf`, and `cut_downward` are never used [INFO] [stderr] --> src/tools/node_pool.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl Tree { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn up(&mut self) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 173 | pub fn is_leaf(&self) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 265 | pub fn cut_downward(&mut self,side: Side) -> Result<(),Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `set_abs` is never used [INFO] [stderr] --> src/tools/ring_buffer.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl RingBuffer { [INFO] [stderr] | ------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn set_abs(&mut self,abs: usize,val: T) { [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/tools/node_pool.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(FromPrimitive,Clone,Copy)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Side` [INFO] [stderr] 37 | pub enum Side { [INFO] [stderr] | ---- `Side` 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: `retrocompressor` (lib) generated 3 warnings [INFO] [stderr] warning: `retrocompressor` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/retrocompressor-7b81e340a92c0581) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test lzw::compression_works_16 ... ok [INFO] [stdout] test direct_ports::lzhuf::compression_works ... ok [INFO] [stdout] test lzw::compression_works ... ok [INFO] [stdout] test lzw::compression_works_td_mode ... ok [INFO] [stdout] test lzw::compression_works_with_clear ... ok [INFO] [stdout] test lzw::invertibility ... ok [INFO] [stdout] test lzw::invertibility_td_mode ... ok [INFO] [stdout] test lzw::invertibility_16 ... ok [INFO] [stdout] test tools::ring_buffer::offset ... ok [INFO] [stdout] test direct_ports::lzhuf::invertibility ... ok [INFO] [stdout] test tools::ring_buffer::distance ... ok [INFO] [stdout] test lzw::invertibility_with_clear ... ok [INFO] [stdout] test td0::invertibility ... ok [INFO] [stdout] test td0::compression_works ... ok [INFO] [stdout] test lzss_huff::compression_works ... ok [INFO] [stdout] test lzss_huff::invertibility ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/retrocompressor-145c2d3a1412b8a9) [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/cli_test.rs (/opt/rustwide/target/debug/deps/cli_test-f622f023596c2d79) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test lzss_huff_expansion ... ok [INFO] [stdout] test lzhuf_port_expansion ... ok [INFO] [stdout] test teledisk_expansion ... ok [INFO] [stdout] test lzhuf_port_compression ... ok [INFO] [stdout] test lzss_huff_compression ... ok [INFO] [stdout] test teledisk_compression ... ok [INFO] [stdout] test lzhuf_port_invertibility ... ok [INFO] [stdout] test lzss_huff_invertibility ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.43s [INFO] [stdout] [INFO] [stderr] Doc-tests retrocompressor [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" "7b7a5ceeef2d18616c6e6e348851aa0a6bfb7197dcd76615ee4d21f39f451eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7a5ceeef2d18616c6e6e348851aa0a6bfb7197dcd76615ee4d21f39f451eb1", kill_on_drop: false }` [INFO] [stdout] 7b7a5ceeef2d18616c6e6e348851aa0a6bfb7197dcd76615ee4d21f39f451eb1