[INFO] fetching crate leonardo-heap 0.3.0... [INFO] testing leonardo-heap-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate leonardo-heap 0.3.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leonardo-heap 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ca44a53fd9a4a064a038415da4251fdb56b1bae387d1d229e6a8b5681a0da78 [INFO] running `Command { std: "docker" "start" "-a" "5ca44a53fd9a4a064a038415da4251fdb56b1bae387d1d229e6a8b5681a0da78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ca44a53fd9a4a064a038415da4251fdb56b1bae387d1d229e6a8b5681a0da78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca44a53fd9a4a064a038415da4251fdb56b1bae387d1d229e6a8b5681a0da78", kill_on_drop: false }` [INFO] [stdout] 5ca44a53fd9a4a064a038415da4251fdb56b1bae387d1d229e6a8b5681a0da78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48fa18d7c5f581dde7a5fa30fa1610a7fcf4c5dd0402f9495a396cf865a9d2d7 [INFO] running `Command { std: "docker" "start" "-a" "48fa18d7c5f581dde7a5fa30fa1610a7fcf4c5dd0402f9495a396cf865a9d2d7", 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.38s [INFO] running `Command { std: "docker" "inspect" "48fa18d7c5f581dde7a5fa30fa1610a7fcf4c5dd0402f9495a396cf865a9d2d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48fa18d7c5f581dde7a5fa30fa1610a7fcf4c5dd0402f9495a396cf865a9d2d7", kill_on_drop: false }` [INFO] [stdout] 48fa18d7c5f581dde7a5fa30fa1610a7fcf4c5dd0402f9495a396cf865a9d2d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5a62c09f906c2f9fc7991e43635d1aca215124a8ee8e83e72b307918f6d165d [INFO] running `Command { std: "docker" "start" "-a" "f5a62c09f906c2f9fc7991e43635d1aca215124a8ee8e83e72b307918f6d165d", 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.62s [INFO] running `Command { std: "docker" "inspect" "f5a62c09f906c2f9fc7991e43635d1aca215124a8ee8e83e72b307918f6d165d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a62c09f906c2f9fc7991e43635d1aca215124a8ee8e83e72b307918f6d165d", kill_on_drop: false }` [INFO] [stdout] f5a62c09f906c2f9fc7991e43635d1aca215124a8ee8e83e72b307918f6d165d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f9aa45ad86f7d823509c84916aea9a76baa83912cff1a452c06fd0673d7c996 [INFO] running `Command { std: "docker" "start" "-a" "3f9aa45ad86f7d823509c84916aea9a76baa83912cff1a452c06fd0673d7c996", 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.05s [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_lookup_matches ... ok [INFO] [stdout] test leonardo::tests::test_leonardo_closed_matches ... ok [INFO] [stdout] test tests::test_balance_after_pop_empty ... ok [INFO] [stdout] test tests::test_balance_after_pop_restring_after_sift ... 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_pop_mutiple_layers ... 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_pop_one ... ok [INFO] [stdout] test tests::test_balance_after_push_second ... ok [INFO] [stdout] test tests::test_push_pop ... ok [INFO] [stdout] test tests::test_sift_down_sorting ... ok [INFO] [stdout] test tests::test_sift_down_three ... ok [INFO] [stdout] test tests::test_sift_down_two ... ok [INFO] [stdout] test tests::test_sift_down_one ... ok [INFO] [stdout] test tests::test_random ... ok [INFO] [stdout] test tests::test_sort_random ... ok [INFO] [stdout] test tests::test_iter ... ok [INFO] [stdout] test tests::test_sift_down_zero ... 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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3f9aa45ad86f7d823509c84916aea9a76baa83912cff1a452c06fd0673d7c996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f9aa45ad86f7d823509c84916aea9a76baa83912cff1a452c06fd0673d7c996", kill_on_drop: false }` [INFO] [stdout] 3f9aa45ad86f7d823509c84916aea9a76baa83912cff1a452c06fd0673d7c996