[INFO] cloning repository https://github.com/dfgordon/retrocompressor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dfgordon/retrocompressor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgordon%2Fretrocompressor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgordon%2Fretrocompressor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91ca4c3a3411059cf2608fc8def20651a9ff6b88 [INFO] checking dfgordon/retrocompressor against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgordon%2Fretrocompressor" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dfgordon/retrocompressor on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dfgordon/retrocompressor [INFO] finished tweaking git repo https://github.com/dfgordon/retrocompressor [INFO] tweaked toml for git repo https://github.com/dfgordon/retrocompressor written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dfgordon/retrocompressor 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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58a981cad0668dcc09546410296bfee770ca59226a2300bdf0336842d014be16 [INFO] running `Command { std: "docker" "start" "-a" "58a981cad0668dcc09546410296bfee770ca59226a2300bdf0336842d014be16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58a981cad0668dcc09546410296bfee770ca59226a2300bdf0336842d014be16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a981cad0668dcc09546410296bfee770ca59226a2300bdf0336842d014be16", kill_on_drop: false }` [INFO] [stdout] 58a981cad0668dcc09546410296bfee770ca59226a2300bdf0336842d014be16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ff7e1a6d5ce87d73ccf45c932a0b212a78fdd09c8f2503e3615ed635dc79c50 [INFO] running `Command { std: "docker" "start" "-a" "3ff7e1a6d5ce87d73ccf45c932a0b212a78fdd09c8f2503e3615ed635dc79c50", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.7.1 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking 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)]` 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] [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)]` 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 15.57s [INFO] running `Command { std: "docker" "inspect" "3ff7e1a6d5ce87d73ccf45c932a0b212a78fdd09c8f2503e3615ed635dc79c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff7e1a6d5ce87d73ccf45c932a0b212a78fdd09c8f2503e3615ed635dc79c50", kill_on_drop: false }` [INFO] [stdout] 3ff7e1a6d5ce87d73ccf45c932a0b212a78fdd09c8f2503e3615ed635dc79c50