[INFO] fetching crate libblobd-direct 0.5.4... [INFO] testing libblobd-direct-0.5.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate libblobd-direct 0.5.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate libblobd-direct 0.5.4 [INFO] finished tweaking crates.io crate libblobd-direct 0.5.4 [INFO] tweaked toml for crates.io crate libblobd-direct 0.5.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libblobd-direct 0.5.4 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 146 packages to latest compatible versions [INFO] [stderr] Adding croaring v0.8.1 (available: v2.4.0) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding io-uring v0.6.4 (available: v0.7.10) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding roaring v0.10.12 (available: v0.11.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] [stderr] Adding strum v0.24.1 (available: v0.27.2) [INFO] [stderr] Adding twox-hash v1.6.3 (available: v2.1.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ac1f0899e419ca2cdc34c0b31429ea0915f5bd58e3edcfb204c347b60aa9d6e [INFO] running `Command { std: "docker" "start" "-a" "4ac1f0899e419ca2cdc34c0b31429ea0915f5bd58e3edcfb204c347b60aa9d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ac1f0899e419ca2cdc34c0b31429ea0915f5bd58e3edcfb204c347b60aa9d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac1f0899e419ca2cdc34c0b31429ea0915f5bd58e3edcfb204c347b60aa9d6e", kill_on_drop: false }` [INFO] [stdout] 4ac1f0899e419ca2cdc34c0b31429ea0915f5bd58e3edcfb204c347b60aa9d6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 463da63fc881917a26089856c8cb1d251e0a927cdd4112400a459d396602a88c [INFO] running `Command { std: "docker" "start" "-a" "463da63fc881917a26089856c8cb1d251e0a927cdd4112400a459d396602a88c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling croaring-sys v0.8.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling struct-name v0.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling roaring v0.10.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling signal-future v0.1.1 [INFO] [stderr] Compiling bufpool v0.2.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling croaring v0.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling struct-name-macro v0.0.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling off64 v0.6.0 [INFO] [stderr] Compiling tinybuf v0.3.0 [INFO] [stderr] Compiling libblobd-direct v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/object/mod.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq, Eq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ObjectState` [INFO] [stdout] 29 | #[repr(u8)] [INFO] [stdout] 30 | pub(crate) enum ObjectState { [INFO] [stdout] | ----------- `ObjectState` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/mod.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 165 | expected_state: ObjectState, [INFO] [stdout] 166 | ) -> Result, OpError> { [INFO] [stdout] | ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Result, OpError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.39s [INFO] running `Command { std: "docker" "inspect" "463da63fc881917a26089856c8cb1d251e0a927cdd4112400a459d396602a88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463da63fc881917a26089856c8cb1d251e0a927cdd4112400a459d396602a88c", kill_on_drop: false }` [INFO] [stdout] 463da63fc881917a26089856c8cb1d251e0a927cdd4112400a459d396602a88c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02fc64d535e326592f6418ed7e013053024d63d7b196e39b01d1e21699935ffb [INFO] running `Command { std: "docker" "start" "-a" "02fc64d535e326592f6418ed7e013053024d63d7b196e39b01d1e21699935ffb", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling stochastic-queue v0.2.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/object/mod.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq, Eq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ObjectState` [INFO] [stdout] 29 | #[repr(u8)] [INFO] [stdout] 30 | pub(crate) enum ObjectState { [INFO] [stdout] | ----------- `ObjectState` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/mod.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 165 | expected_state: ObjectState, [INFO] [stdout] 166 | ) -> Result, OpError> { [INFO] [stdout] | ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Result, OpError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tracing-test v0.2.5 [INFO] [stderr] Compiling libblobd-direct v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/object/mod.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq, Eq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ObjectState` [INFO] [stdout] 29 | #[repr(u8)] [INFO] [stdout] 30 | pub(crate) enum ObjectState { [INFO] [stdout] | ----------- `ObjectState` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object/mod.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 165 | expected_state: ObjectState, [INFO] [stdout] 166 | ) -> Result, OpError> { [INFO] [stdout] | ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Result, OpError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.47s [INFO] running `Command { std: "docker" "inspect" "02fc64d535e326592f6418ed7e013053024d63d7b196e39b01d1e21699935ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02fc64d535e326592f6418ed7e013053024d63d7b196e39b01d1e21699935ffb", kill_on_drop: false }` [INFO] [stdout] 02fc64d535e326592f6418ed7e013053024d63d7b196e39b01d1e21699935ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fae39236e1c5bacfb8124d2edcd6afbcd9519e68a2d74fb259bbe82cb84979cf [INFO] running `Command { std: "docker" "start" "-a" "fae39236e1c5bacfb8124d2edcd6afbcd9519e68a2d74fb259bbe82cb84979cf", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/object/mod.rs:28:45 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(PartialEq, Eq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ObjectState` [INFO] [stderr] 29 | #[repr(u8)] [INFO] [stderr] 30 | pub(crate) enum ObjectState { [INFO] [stderr] | ----------- `ObjectState` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/object/mod.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 165 | expected_state: ObjectState, [INFO] [stderr] 166 | ) -> Result, OpError> { [INFO] [stderr] | ------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 166 | ) -> Result, OpError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `libblobd-direct` (lib) generated 2 warnings (run `cargo fix --lib -p libblobd-direct` to apply 1 suggestion) [INFO] [stderr] warning: `libblobd-direct` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libblobd_direct-fa692ad373058b74) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test util::tests::test_ceil_pow2 ... ok [INFO] [stdout] test util::tests::test_div_mod_pow2 ... ok [INFO] [stdout] test util::tests::test_div_ceil ... ok [INFO] [stdout] test object::tail::tests::test_tail_page_sizes ... ok [INFO] [stdout] test allocator::tests::test_allocator_from_left ... ok [INFO] [stdout] test allocator::tests::test_allocator_from_right ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libblobd_direct [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" "fae39236e1c5bacfb8124d2edcd6afbcd9519e68a2d74fb259bbe82cb84979cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae39236e1c5bacfb8124d2edcd6afbcd9519e68a2d74fb259bbe82cb84979cf", kill_on_drop: false }` [INFO] [stdout] fae39236e1c5bacfb8124d2edcd6afbcd9519e68a2d74fb259bbe82cb84979cf