[INFO] fetching crate leonardo-heap 0.3.0... [INFO] checking leonardo-heap-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate leonardo-heap 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate leonardo-heap 0.3.0 [INFO] finished tweaking crates.io crate leonardo-heap 0.3.0 [INFO] tweaked toml for crates.io crate leonardo-heap 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate leonardo-heap 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63cdff921d9da7120f5b2b35c98b024348ef9f0ddf37e81afbb74ec5d93114d9 [INFO] running `Command { std: "docker" "start" "-a" "63cdff921d9da7120f5b2b35c98b024348ef9f0ddf37e81afbb74ec5d93114d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63cdff921d9da7120f5b2b35c98b024348ef9f0ddf37e81afbb74ec5d93114d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63cdff921d9da7120f5b2b35c98b024348ef9f0ddf37e81afbb74ec5d93114d9", kill_on_drop: false }` [INFO] [stdout] 63cdff921d9da7120f5b2b35c98b024348ef9f0ddf37e81afbb74ec5d93114d9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf170ed3d2f556037850e4781492e539c523d2b56f9a458f8b1fd326b1365bb0 [INFO] running `Command { std: "docker" "start" "-a" "bf170ed3d2f556037850e4781492e539c523d2b56f9a458f8b1fd326b1365bb0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking leonardo-heap v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `leonardo_closed` is never used [INFO] [stdout] --> src/leonardo.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn leonardo_closed(order: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leonardo_naive` is never used [INFO] [stdout] --> src/leonardo.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn leonardo_naive(order: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_len` is never used [INFO] [stdout] --> src/layout.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Layout { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn new_from_len(size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(data: &[T], order: u32) -> SubHeap { [INFO] [stdout] | ^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 20 | pub fn new(data: &[T], order: u32) -> SubHeap<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn destructure(&self) -> (&T, Option<(SubHeap, SubHeap)>) { [INFO] [stdout] | ^^^^^ -- ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn destructure(&self) -> (&T, Option<(SubHeap<'_, T>, SubHeap<'_, T>)>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn children(&self) -> Option<(SubHeap, SubHeap)> { [INFO] [stdout] | ^^^^^ ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn children(&self) -> Option<(SubHeap<'_, T>, SubHeap<'_, T>)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(data: &mut [T], order: u32) -> SubHeapMut { [INFO] [stdout] | ^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(data: &mut [T], order: u32) -> SubHeapMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn destructure(&self) -> (&T, Option<(SubHeap, SubHeap)>) { [INFO] [stdout] | ^^^^^ -- ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn destructure(&self) -> (&T, Option<(SubHeap<'_, T>, SubHeap<'_, T>)>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn destructure_mut(&mut self) -> (&mut T, Option<(SubHeapMut, SubHeapMut)>) { [INFO] [stdout] | ^^^^^^^^^ ------ ------------- ------------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn destructure_mut(&mut self) -> (&mut T, Option<(SubHeapMut<'_, T>, SubHeapMut<'_, T>)>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | fn children(&self) -> Option<(SubHeap, SubHeap)> { [INFO] [stdout] | ^^^^^ ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn children(&self) -> Option<(SubHeap<'_, T>, SubHeap<'_, T>)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | fn children_mut(&mut self) -> Option<(SubHeapMut, SubHeapMut)> { [INFO] [stdout] | ^^^^^^^^^ ------------- ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | fn children_mut(&mut self) -> Option<(SubHeapMut<'_, T>, SubHeapMut<'_, T>)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(data: &[T], order: u32) -> SubHeap { [INFO] [stdout] | ^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 20 | pub fn new(data: &[T], order: u32) -> SubHeap<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn destructure(&self) -> (&T, Option<(SubHeap, SubHeap)>) { [INFO] [stdout] | ^^^^^ -- ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn destructure(&self) -> (&T, Option<(SubHeap<'_, T>, SubHeap<'_, T>)>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn children(&self) -> Option<(SubHeap, SubHeap)> { [INFO] [stdout] | ^^^^^ ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn children(&self) -> Option<(SubHeap<'_, T>, SubHeap<'_, T>)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(data: &mut [T], order: u32) -> SubHeapMut { [INFO] [stdout] | ^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(data: &mut [T], order: u32) -> SubHeapMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn destructure(&self) -> (&T, Option<(SubHeap, SubHeap)>) { [INFO] [stdout] | ^^^^^ -- ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn destructure(&self) -> (&T, Option<(SubHeap<'_, T>, SubHeap<'_, T>)>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn destructure_mut(&mut self) -> (&mut T, Option<(SubHeapMut, SubHeapMut)>) { [INFO] [stdout] | ^^^^^^^^^ ------ ------------- ------------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn destructure_mut(&mut self) -> (&mut T, Option<(SubHeapMut<'_, T>, SubHeapMut<'_, T>)>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | fn children(&self) -> Option<(SubHeap, SubHeap)> { [INFO] [stdout] | ^^^^^ ---------- ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn children(&self) -> Option<(SubHeap<'_, T>, SubHeap<'_, T>)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/subheap.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | fn children_mut(&mut self) -> Option<(SubHeapMut, SubHeapMut)> { [INFO] [stdout] | ^^^^^^^^^ ------------- ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | fn children_mut(&mut self) -> Option<(SubHeapMut<'_, T>, SubHeapMut<'_, T>)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "bf170ed3d2f556037850e4781492e539c523d2b56f9a458f8b1fd326b1365bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf170ed3d2f556037850e4781492e539c523d2b56f9a458f8b1fd326b1365bb0", kill_on_drop: false }` [INFO] [stdout] bf170ed3d2f556037850e4781492e539c523d2b56f9a458f8b1fd326b1365bb0