[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#5337252b9952fdd9482ed6a4add17254e5bd2c40 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgordon%2Fretrocompressor" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dfgordon/retrocompressor on toolchain 5337252b9952fdd9482ed6a4add17254e5bd2c40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "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-1-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" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc2d4e9774a40576eb85efc8b8fccc2ab44fc150fac2388fe75b2dcc60888705 [INFO] running `Command { std: "docker" "start" "-a" "fc2d4e9774a40576eb85efc8b8fccc2ab44fc150fac2388fe75b2dcc60888705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc2d4e9774a40576eb85efc8b8fccc2ab44fc150fac2388fe75b2dcc60888705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2d4e9774a40576eb85efc8b8fccc2ab44fc150fac2388fe75b2dcc60888705", kill_on_drop: false }` [INFO] [stdout] fc2d4e9774a40576eb85efc8b8fccc2ab44fc150fac2388fe75b2dcc60888705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3ad936e4b984ff9a387fa6b131f65b8b917a5d8762e1afecf7d674245dded78 [INFO] running `Command { std: "docker" "start" "-a" "d3ad936e4b984ff9a387fa6b131f65b8b917a5d8762e1afecf7d674245dded78", 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] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking hex v0.4.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] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking float-cmp v0.9.0 [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] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking assert_cmd v2.0.12 [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 12.52s [INFO] running `Command { std: "docker" "inspect" "d3ad936e4b984ff9a387fa6b131f65b8b917a5d8762e1afecf7d674245dded78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ad936e4b984ff9a387fa6b131f65b8b917a5d8762e1afecf7d674245dded78", kill_on_drop: false }` [INFO] [stdout] d3ad936e4b984ff9a387fa6b131f65b8b917a5d8762e1afecf7d674245dded78