[INFO] fetching crate leonardo-heap 0.3.0... [INFO] testing leonardo-heap-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate leonardo-heap 0.3.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate leonardo-heap 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95f9af2da046f2fa8d6cc4b8968df06f0bea39fbed29e12cd9d7c06e3efdfe39 [INFO] running `Command { std: "docker" "start" "-a" "95f9af2da046f2fa8d6cc4b8968df06f0bea39fbed29e12cd9d7c06e3efdfe39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95f9af2da046f2fa8d6cc4b8968df06f0bea39fbed29e12cd9d7c06e3efdfe39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f9af2da046f2fa8d6cc4b8968df06f0bea39fbed29e12cd9d7c06e3efdfe39", kill_on_drop: false }` [INFO] [stdout] 95f9af2da046f2fa8d6cc4b8968df06f0bea39fbed29e12cd9d7c06e3efdfe39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bba7ad40223a6e43b9e6b16f4bb238ff219b97a8ad0ef506bb3613ad6f405ca [INFO] running `Command { std: "docker" "start" "-a" "7bba7ad40223a6e43b9e6b16f4bb238ff219b97a8ad0ef506bb3613ad6f405ca", 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.18s [INFO] running `Command { std: "docker" "inspect" "7bba7ad40223a6e43b9e6b16f4bb238ff219b97a8ad0ef506bb3613ad6f405ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bba7ad40223a6e43b9e6b16f4bb238ff219b97a8ad0ef506bb3613ad6f405ca", kill_on_drop: false }` [INFO] [stdout] 7bba7ad40223a6e43b9e6b16f4bb238ff219b97a8ad0ef506bb3613ad6f405ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6beb7d12aaf62b3866539240e23d361c7b0edceb31cfa02f8929eb7f1199df7f [INFO] running `Command { std: "docker" "start" "-a" "6beb7d12aaf62b3866539240e23d361c7b0edceb31cfa02f8929eb7f1199df7f", 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.64s [INFO] running `Command { std: "docker" "inspect" "6beb7d12aaf62b3866539240e23d361c7b0edceb31cfa02f8929eb7f1199df7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6beb7d12aaf62b3866539240e23d361c7b0edceb31cfa02f8929eb7f1199df7f", kill_on_drop: false }` [INFO] [stdout] 6beb7d12aaf62b3866539240e23d361c7b0edceb31cfa02f8929eb7f1199df7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bf898d4546814085c083a5dc86b8429d15794ecdf85116f2026f9deeb9875c7 [INFO] running `Command { std: "docker" "start" "-a" "4bf898d4546814085c083a5dc86b8429d15794ecdf85116f2026f9deeb9875c7", 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/leonardo_heap-d43c2a4eb08e1a04) [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_one ... ok [INFO] [stdout] test tests::test_balance_after_pop_restring_after_sift ... 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_balance_after_push_first ... ok [INFO] [stdout] test tests::test_balance_after_push_merge ... ok [INFO] [stdout] test tests::test_balance_after_push_second ... ok [INFO] [stdout] test tests::test_iter ... ok [INFO] [stdout] test tests::test_push_pop ... ok [INFO] [stdout] test tests::test_sift_down_one ... ok [INFO] [stdout] test tests::test_sift_down_two ... ok [INFO] [stdout] test tests::test_sift_down_sorting ... ok [INFO] [stdout] test tests::test_sift_down_three ... ok [INFO] [stdout] test tests::test_random ... ok [INFO] [stdout] test tests::test_sort_random ... ok [INFO] [stdout] test tests::test_sift_down_zero ... 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] test tests::test_balance_after_push_mismatched_lengths - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4bf898d4546814085c083a5dc86b8429d15794ecdf85116f2026f9deeb9875c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf898d4546814085c083a5dc86b8429d15794ecdf85116f2026f9deeb9875c7", kill_on_drop: false }` [INFO] [stdout] 4bf898d4546814085c083a5dc86b8429d15794ecdf85116f2026f9deeb9875c7