[INFO] fetching crate leonardo-heap 0.3.0... [INFO] testing leonardo-heap-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate leonardo-heap 0.3.0 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leonardo-heap 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da911b40047d34a83158da61690bfe21bbf8679f34ad29257efde0c3d5f73ec9 [INFO] running `Command { std: "docker" "start" "-a" "da911b40047d34a83158da61690bfe21bbf8679f34ad29257efde0c3d5f73ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da911b40047d34a83158da61690bfe21bbf8679f34ad29257efde0c3d5f73ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da911b40047d34a83158da61690bfe21bbf8679f34ad29257efde0c3d5f73ec9", kill_on_drop: false }` [INFO] [stdout] da911b40047d34a83158da61690bfe21bbf8679f34ad29257efde0c3d5f73ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c0ff1d2876e5f2e0c1c8517f4bc187a30f4d0bc6981cf09b578f4f6689f043a [INFO] running `Command { std: "docker" "start" "-a" "8c0ff1d2876e5f2e0c1c8517f4bc187a30f4d0bc6981cf09b578f4f6689f043a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "8c0ff1d2876e5f2e0c1c8517f4bc187a30f4d0bc6981cf09b578f4f6689f043a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0ff1d2876e5f2e0c1c8517f4bc187a30f4d0bc6981cf09b578f4f6689f043a", kill_on_drop: false }` [INFO] [stdout] 8c0ff1d2876e5f2e0c1c8517f4bc187a30f4d0bc6981cf09b578f4f6689f043a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3a9d94fc354dd8db28c09e8ecaa49c33f8c64885d7835e1be23b784c85bf23d [INFO] running `Command { std: "docker" "start" "-a" "d3a9d94fc354dd8db28c09e8ecaa49c33f8c64885d7835e1be23b784c85bf23d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling leonardo-heap v0.3.0 (/opt/rustwide/workdir) [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 `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "d3a9d94fc354dd8db28c09e8ecaa49c33f8c64885d7835e1be23b784c85bf23d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a9d94fc354dd8db28c09e8ecaa49c33f8c64885d7835e1be23b784c85bf23d", kill_on_drop: false }` [INFO] [stdout] d3a9d94fc354dd8db28c09e8ecaa49c33f8c64885d7835e1be23b784c85bf23d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09ea02a161d19bc961385b89c51592fb7e02f9cb176c00c214fe44e1a1c64eef [INFO] running `Command { std: "docker" "start" "-a" "09ea02a161d19bc961385b89c51592fb7e02f9cb176c00c214fe44e1a1c64eef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(data: &[T], order: u32) -> SubHeap { [INFO] [stderr] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 20 | pub fn new(data: &[T], order: u32) -> SubHeap<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn destructure(&self) -> (&T, Option<(SubHeap, SubHeap)>) { [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 31 | pub fn destructure(&self) -> (&T, Option<(SubHeap<'_, T>, SubHeap<'_, T>)>) { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn children(&self) -> Option<(SubHeap, SubHeap)> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | pub fn children(&self) -> Option<(SubHeap<'_, T>, SubHeap<'_, T>)> { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:73:22 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn new(data: &mut [T], order: u32) -> SubHeapMut { [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 73 | pub fn new(data: &mut [T], order: u32) -> SubHeapMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:85:24 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn destructure(&self) -> (&T, Option<(SubHeap, SubHeap)>) { [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn destructure(&self) -> (&T, Option<(SubHeap<'_, T>, SubHeap<'_, T>)>) { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:105:28 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn destructure_mut(&mut self) -> (&mut T, Option<(SubHeapMut, SubHeapMut)>) { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 105 | pub fn destructure_mut(&mut self) -> (&mut T, Option<(SubHeapMut<'_, T>, SubHeapMut<'_, T>)>) { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:167:17 [INFO] [stderr] | [INFO] [stderr] 167 | fn children(&self) -> Option<(SubHeap, SubHeap)> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 167 | fn children(&self) -> Option<(SubHeap<'_, T>, SubHeap<'_, T>)> { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/subheap.rs:173:21 [INFO] [stderr] | [INFO] [stderr] 173 | fn children_mut(&mut self) -> Option<(SubHeapMut, SubHeapMut)> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 173 | fn children_mut(&mut self) -> Option<(SubHeapMut<'_, T>, SubHeapMut<'_, T>)> { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: `leonardo-heap` (lib test) generated 8 warnings (run `cargo fix --lib -p leonardo-heap --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/leonardo_heap-1dc33889d6a30aba) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test leonardo::tests::test_leonardo_closed_matches ... ok [INFO] [stdout] test leonardo::tests::test_leonardo_lookup_matches ... ok [INFO] [stdout] test tests::test_balance_after_pop_empty ... ok [INFO] [stdout] test tests::test_balance_after_pop_mutiple_layers ... ok [INFO] [stdout] test tests::test_balance_after_pop_split_heaps ... ok [INFO] [stdout] test tests::test_balance_after_pop_two ... ok [INFO] [stdout] test tests::test_iter ... ok [INFO] [stdout] test tests::test_balance_after_pop_restring_after_sift ... ok [INFO] [stdout] test tests::test_balance_after_push_second ... ok [INFO] [stdout] test tests::test_balance_after_push_first ... ok [INFO] [stdout] test tests::test_push_pop ... ok [INFO] [stdout] test tests::test_random ... ok [INFO] [stdout] test tests::test_sift_down_three ... ok [INFO] [stdout] test tests::test_balance_after_pop_one ... ok [INFO] [stdout] test tests::test_sift_down_sorting ... ok [INFO] [stdout] test tests::test_sift_down_two ... ok [INFO] [stdout] test tests::test_sift_down_zero ... ok [INFO] [stdout] test tests::test_sort_random ... ok [INFO] [stdout] test tests::test_balance_after_push_merge ... ok [INFO] [stdout] test tests::test_sift_down_one ... ok [INFO] [stdout] test tests::test_balance_after_push_mismatched_lengths - should panic ... ok [INFO] [stdout] test tests::test_balance_after_pop_mismatched_lengths - should panic ... ok [INFO] [stdout] test tests::test_sift_down_wrong_order - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "09ea02a161d19bc961385b89c51592fb7e02f9cb176c00c214fe44e1a1c64eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ea02a161d19bc961385b89c51592fb7e02f9cb176c00c214fe44e1a1c64eef", kill_on_drop: false }` [INFO] [stdout] 09ea02a161d19bc961385b89c51592fb7e02f9cb176c00c214fe44e1a1c64eef