[INFO] fetching crate libblobd-lite 0.2.0... [INFO] testing libblobd-lite-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] extracting crate libblobd-lite 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate libblobd-lite 0.2.0 [INFO] finished tweaking crates.io crate libblobd-lite 0.2.0 [INFO] tweaked toml for crates.io crate libblobd-lite 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libblobd-lite 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [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 rustc-hash v1.1.0 (available: v2.1.1) [INFO] [stderr] Adding seekable-async-file v0.11.3 (available: v0.12.0) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded write-journal v0.11.1 [INFO] [stderr] Downloaded stochastic-queue v0.2.0 [INFO] [stderr] Downloaded struct-name v0.0.1 [INFO] [stderr] Downloaded off64 v0.6.0 [INFO] [stderr] Downloaded seekable-async-file v0.11.3 [INFO] [stderr] Downloaded struct-name-macro v0.0.2 [INFO] [stderr] Downloaded tinybuf v0.3.0 [INFO] [stderr] Downloaded signal-future v0.0.1 [INFO] [stderr] Downloaded signal-future v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eb5738cf30eff98fd02d56771e9e1b27049ecea2f0130e7b1624b1d308beae9 [INFO] running `Command { std: "docker" "start" "-a" "8eb5738cf30eff98fd02d56771e9e1b27049ecea2f0130e7b1624b1d308beae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eb5738cf30eff98fd02d56771e9e1b27049ecea2f0130e7b1624b1d308beae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb5738cf30eff98fd02d56771e9e1b27049ecea2f0130e7b1624b1d308beae9", kill_on_drop: false }` [INFO] [stdout] 8eb5738cf30eff98fd02d56771e9e1b27049ecea2f0130e7b1624b1d308beae9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 399d8783cfab661e63872aeb4ca2c6f8f4a23553ec56a2cc7c90efe2363d4aeb [INFO] running `Command { std: "docker" "start" "-a" "399d8783cfab661e63872aeb4ca2c6f8f4a23553ec56a2cc7c90efe2363d4aeb", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-future v0.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling signal-future v0.1.1 [INFO] [stderr] Compiling struct-name v0.0.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling struct-name-macro v0.0.2 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling off64 v0.6.0 [INFO] [stderr] Compiling tinybuf v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling seekable-async-file v0.11.3 [INFO] [stderr] Compiling write-journal v0.11.1 [INFO] [stderr] Compiling libblobd-lite v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:284:44 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stdout] | ^^ -- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 284 - pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stdout] 284 + pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, 'b> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:293:6 [INFO] [stdout] | [INFO] [stdout] 293 | &'b self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 294 | key: &'k [u8], [INFO] [stdout] 295 | ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stdout] | -- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'b` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 295 - ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stdout] 295 + ) -> BucketWriteLocked<'b, 'k, 'b> { [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/page/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | #[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] 66 | #[repr(u8)] [INFO] [stdout] 67 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/stream.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | #[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_StreamEventType` [INFO] [stdout] 72 | #[repr(u8)] [INFO] [stdout] 73 | pub enum StreamEventType { [INFO] [stdout] | --------------- `StreamEventType` 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: 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 7.36s [INFO] running `Command { std: "docker" "inspect" "399d8783cfab661e63872aeb4ca2c6f8f4a23553ec56a2cc7c90efe2363d4aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399d8783cfab661e63872aeb4ca2c6f8f4a23553ec56a2cc7c90efe2363d4aeb", kill_on_drop: false }` [INFO] [stdout] 399d8783cfab661e63872aeb4ca2c6f8f4a23553ec56a2cc7c90efe2363d4aeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 562c8b25ca1bc2c8907dadd1aac4deebf4cf92b98940efbb6b4181ce57fd4be3 [INFO] running `Command { std: "docker" "start" "-a" "562c8b25ca1bc2c8907dadd1aac4deebf4cf92b98940efbb6b4181ce57fd4be3", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling stochastic-queue v0.2.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:284:44 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stdout] | ^^ -- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 284 - pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stdout] 284 + pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, 'b> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:293:6 [INFO] [stdout] | [INFO] [stdout] 293 | &'b self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 294 | key: &'k [u8], [INFO] [stdout] 295 | ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stdout] | -- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'b` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 295 - ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stdout] 295 + ) -> BucketWriteLocked<'b, 'k, 'b> { [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/page/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | #[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] 66 | #[repr(u8)] [INFO] [stdout] 67 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/stream.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | #[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_StreamEventType` [INFO] [stdout] 72 | #[repr(u8)] [INFO] [stdout] 73 | pub enum StreamEventType { [INFO] [stdout] | --------------- `StreamEventType` 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: 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 matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tracing-test v0.2.5 [INFO] [stderr] Compiling libblobd-lite v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:284:44 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stdout] | ^^ -- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 284 - pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stdout] 284 + pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, 'b> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:293:6 [INFO] [stdout] | [INFO] [stdout] 293 | &'b self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 294 | key: &'k [u8], [INFO] [stdout] 295 | ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stdout] | -- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'b` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 295 - ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stdout] 295 + ) -> BucketWriteLocked<'b, 'k, 'b> { [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/page/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | #[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] 66 | #[repr(u8)] [INFO] [stdout] 67 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/stream.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | #[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_StreamEventType` [INFO] [stdout] 72 | #[repr(u8)] [INFO] [stdout] 73 | pub enum StreamEventType { [INFO] [stdout] | --------------- `StreamEventType` 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: 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 10.05s [INFO] running `Command { std: "docker" "inspect" "562c8b25ca1bc2c8907dadd1aac4deebf4cf92b98940efbb6b4181ce57fd4be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562c8b25ca1bc2c8907dadd1aac4deebf4cf92b98940efbb6b4181ce57fd4be3", kill_on_drop: false }` [INFO] [stdout] 562c8b25ca1bc2c8907dadd1aac4deebf4cf92b98940efbb6b4181ce57fd4be3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f122d66b29248045b4c301c346d8491ff6198c83d70382d4bb256f5e4c0b4371 [INFO] running `Command { std: "docker" "start" "-a" "f122d66b29248045b4c301c346d8491ff6198c83d70382d4bb256f5e4c0b4371", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bucket.rs:284:44 [INFO] [stderr] | [INFO] [stderr] 284 | pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stderr] | ^^ -- -- the lifetimes get resolved as `'b` [INFO] [stderr] | | | [INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'b` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 284 - pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, '_> { [INFO] [stderr] 284 + pub async fn get_bucket_for_key<'b, 'k>(&'b self, key: &'k [u8]) -> BucketReadLocked<'b, 'k, 'b> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bucket.rs:293:6 [INFO] [stderr] | [INFO] [stderr] 293 | &'b self, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 294 | key: &'k [u8], [INFO] [stderr] 295 | ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stderr] | -- -- the lifetimes get resolved as `'b` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'b` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 295 - ) -> BucketWriteLocked<'b, 'k, '_> { [INFO] [stderr] 295 + ) -> BucketWriteLocked<'b, 'k, 'b> { [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/page/mod.rs:65:45 [INFO] [stderr] | [INFO] [stderr] 65 | #[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] 66 | #[repr(u8)] [INFO] [stderr] 67 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/stream.rs:71:45 [INFO] [stderr] | [INFO] [stderr] 71 | #[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_StreamEventType` [INFO] [stderr] 72 | #[repr(u8)] [INFO] [stderr] 73 | pub enum StreamEventType { [INFO] [stderr] | --------------- `StreamEventType` 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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libblobd-lite` (lib) generated 4 warnings (run `cargo fix --lib -p libblobd-lite` to apply 2 suggestions) [INFO] [stderr] warning: `libblobd-lite` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libblobd_lite-fff5657109295b03) [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 allocator::tests::test_allocation ... ok [INFO] [stdout] test page::tests::test_get_page_free_bit_offset ... ok [INFO] [stdout] test allocator::tests::test_release has been running for over 60 seconds [INFO] [stdout] test allocator::tests::test_release ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 159.77s [INFO] [stdout] [INFO] [stderr] Doc-tests libblobd_lite [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" "f122d66b29248045b4c301c346d8491ff6198c83d70382d4bb256f5e4c0b4371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f122d66b29248045b4c301c346d8491ff6198c83d70382d4bb256f5e4c0b4371", kill_on_drop: false }` [INFO] [stdout] f122d66b29248045b4c301c346d8491ff6198c83d70382d4bb256f5e4c0b4371