[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/91ca4c3a3411059cf2608fc8def20651a9ff6b88 against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgordon%2Fretrocompressor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dfgordon/retrocompressor on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded cc v1.0.81 [INFO] [stderr] Downloaded serde v1.0.182 [INFO] [stderr] Downloaded rustix v0.38.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d137fd6f2cceeda38d7dbf827831c8787487360369aca371a29b183d1c120142 [INFO] running `Command { std: "docker" "start" "-a" "d137fd6f2cceeda38d7dbf827831c8787487360369aca371a29b183d1c120142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d137fd6f2cceeda38d7dbf827831c8787487360369aca371a29b183d1c120142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d137fd6f2cceeda38d7dbf827831c8787487360369aca371a29b183d1c120142", kill_on_drop: false }` [INFO] [stdout] d137fd6f2cceeda38d7dbf827831c8787487360369aca371a29b183d1c120142 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e446f06bf7f93104c9ce368bc1906416a341359eae1a1485a5a53917e7639789 [INFO] running `Command { std: "docker" "start" "-a" "e446f06bf7f93104c9ce368bc1906416a341359eae1a1485a5a53917e7639789", kill_on_drop: false }` [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.7.1 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking thiserror v1.0.44 [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 clap v4.3.19 [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)]` (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] [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 19.87s [INFO] running `Command { std: "docker" "inspect" "e446f06bf7f93104c9ce368bc1906416a341359eae1a1485a5a53917e7639789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e446f06bf7f93104c9ce368bc1906416a341359eae1a1485a5a53917e7639789", kill_on_drop: false }` [INFO] [stdout] e446f06bf7f93104c9ce368bc1906416a341359eae1a1485a5a53917e7639789