[INFO] fetching crate retrocompressor 1.0.1... [INFO] testing retrocompressor-1.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate retrocompressor 1.0.1 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate retrocompressor 1.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.1 [INFO] [stderr] Downloaded thiserror v1.0.44 [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded clap_lex v0.5.0 [INFO] [stderr] Downloaded anstyle-wincon v1.0.1 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded quote v1.0.32 [INFO] [stderr] Downloaded bitflags v2.3.3 [INFO] [stderr] Downloaded anstream v0.3.2 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded syn v2.0.28 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded bit-vec v0.6.3 [INFO] [stderr] Downloaded predicates v3.0.3 [INFO] [stderr] Downloaded predicates-tree v1.0.9 [INFO] [stderr] Downloaded assert_cmd v2.0.12 [INFO] [stderr] Downloaded hermit-abi v0.3.2 [INFO] [stderr] Downloaded serde v1.0.182 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded clap v4.3.19 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded regex-automata v0.3.6 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded regex v1.9.3 [INFO] [stderr] Downloaded either v1.9.0 [INFO] [stderr] Downloaded bstr v1.6.0 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded fastrand v2.0.0 [INFO] [stderr] Downloaded clap_builder v4.3.19 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded predicates-core v1.0.6 [INFO] [stderr] Downloaded linux-raw-sys v0.4.5 [INFO] [stderr] Downloaded rustix v0.38.7 [INFO] [stderr] Downloaded thiserror-impl v1.0.44 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded cc v1.0.81 [INFO] [stderr] Downloaded env_filter v0.1.2 [INFO] [stderr] Downloaded errno-dragonfly v0.1.2 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded env_logger v0.11.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ddb8d950a224f6aae684ab42cdc49194187b71add891c1def8e6375ab53f6c3 [INFO] running `Command { std: "docker" "start" "-a" "4ddb8d950a224f6aae684ab42cdc49194187b71add891c1def8e6375ab53f6c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ddb8d950a224f6aae684ab42cdc49194187b71add891c1def8e6375ab53f6c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ddb8d950a224f6aae684ab42cdc49194187b71add891c1def8e6375ab53f6c3", kill_on_drop: false }` [INFO] [stdout] 4ddb8d950a224f6aae684ab42cdc49194187b71add891c1def8e6375ab53f6c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96eb2817160e0690db3f997bf4911d5545ebf56a39e6c813b25a2305493974fe [INFO] running `Command { std: "docker" "start" "-a" "96eb2817160e0690db3f997bf4911d5545ebf56a39e6c813b25a2305493974fe", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling utf8parse 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 libc v0.2.147 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling predicates v3.0.3 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.7.1 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder v4.3.19 [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 env_filter v0.1.2 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling assert_cmd v2.0.12 [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 17.50s [INFO] running `Command { std: "docker" "inspect" "96eb2817160e0690db3f997bf4911d5545ebf56a39e6c813b25a2305493974fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96eb2817160e0690db3f997bf4911d5545ebf56a39e6c813b25a2305493974fe", kill_on_drop: false }` [INFO] [stdout] 96eb2817160e0690db3f997bf4911d5545ebf56a39e6c813b25a2305493974fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0156b083c156ba124dc67770ef0cc80bf0bc5070d0a6b6ea6943711c91f28cec [INFO] running `Command { std: "docker" "start" "-a" "0156b083c156ba124dc67770ef0cc80bf0bc5070d0a6b6ea6943711c91f28cec", 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.15s [INFO] running `Command { std: "docker" "inspect" "0156b083c156ba124dc67770ef0cc80bf0bc5070d0a6b6ea6943711c91f28cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0156b083c156ba124dc67770ef0cc80bf0bc5070d0a6b6ea6943711c91f28cec", kill_on_drop: false }` [INFO] [stdout] 0156b083c156ba124dc67770ef0cc80bf0bc5070d0a6b6ea6943711c91f28cec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 801960f0bf20bf3cb355f8da823354f8cca827c97333cac4c2238628d2bf3e0d [INFO] running `Command { std: "docker" "start" "-a" "801960f0bf20bf3cb355f8da823354f8cca827c97333cac4c2238628d2bf3e0d", kill_on_drop: false }` [INFO] [stderr] warning: methods `up`, `is_leaf`, and `cut_downward` are never used [INFO] [stdout] [INFO] [stderr] --> src/tools/node_pool.rs:112:12 [INFO] [stdout] running 16 tests [INFO] [stderr] | [INFO] [stdout] test lzw::compression_works_td_mode ... ok [INFO] [stderr] 65 | impl Tree { [INFO] [stdout] test lzw::compression_works_with_clear ... ok [INFO] [stderr] | --------- methods in this implementation [INFO] [stdout] test direct_ports::lzhuf::invertibility ... ok [INFO] [stderr] ... [INFO] [stdout] test direct_ports::lzhuf::compression_works ... ok [INFO] [stderr] 112 | pub fn up(&mut self) -> Result { [INFO] [stdout] test lzw::invertibility ... ok [INFO] [stderr] | ^^ [INFO] [stdout] test lzss_huff::invertibility ... ok [INFO] [stderr] ... [INFO] [stdout] test lzw::invertibility_16 ... ok [INFO] [stderr] 173 | pub fn is_leaf(&self) -> Result { [INFO] [stdout] test tools::ring_buffer::offset ... ok [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] test lzw::invertibility_td_mode ... ok [INFO] [stderr] ... [INFO] [stdout] test lzw::invertibility_with_clear ... ok [INFO] [stderr] 265 | pub fn cut_downward(&mut self,side: Side) -> Result<(),Error> { [INFO] [stdout] test td0::invertibility ... ok [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] test lzss_huff::compression_works ... ok [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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/retrocompressor-cd85b2a907d2f30f) [INFO] [stdout] test lzw::compression_works ... ok [INFO] [stdout] test tools::ring_buffer::distance ... ok [INFO] [stdout] test lzw::compression_works_16 ... ok [INFO] [stdout] test td0::compression_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/retrocompressor-86ba16e4ca77c204) [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-61dd97a1cf20f935) [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 4.44s [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" "801960f0bf20bf3cb355f8da823354f8cca827c97333cac4c2238628d2bf3e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801960f0bf20bf3cb355f8da823354f8cca827c97333cac4c2238628d2bf3e0d", kill_on_drop: false }` [INFO] [stdout] 801960f0bf20bf3cb355f8da823354f8cca827c97333cac4c2238628d2bf3e0d