[INFO] fetching crate leonardo-heap 0.3.0... [INFO] testing leonardo-heap-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate leonardo-heap 0.3.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leonardo-heap 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d23483235f256abb87c462c48721358209d084de9d8b7ce8b7d0c6ecc484e11d [INFO] running `Command { std: "docker" "start" "-a" "d23483235f256abb87c462c48721358209d084de9d8b7ce8b7d0c6ecc484e11d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d23483235f256abb87c462c48721358209d084de9d8b7ce8b7d0c6ecc484e11d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23483235f256abb87c462c48721358209d084de9d8b7ce8b7d0c6ecc484e11d", kill_on_drop: false }` [INFO] [stdout] d23483235f256abb87c462c48721358209d084de9d8b7ce8b7d0c6ecc484e11d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cf1ea80d4316b59c5edea775723c3a6ecceb29334bde5129bedfd6f5e455d06 [INFO] running `Command { std: "docker" "start" "-a" "2cf1ea80d4316b59c5edea775723c3a6ecceb29334bde5129bedfd6f5e455d06", 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)]` 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.25s [INFO] running `Command { std: "docker" "inspect" "2cf1ea80d4316b59c5edea775723c3a6ecceb29334bde5129bedfd6f5e455d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cf1ea80d4316b59c5edea775723c3a6ecceb29334bde5129bedfd6f5e455d06", kill_on_drop: false }` [INFO] [stdout] 2cf1ea80d4316b59c5edea775723c3a6ecceb29334bde5129bedfd6f5e455d06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0828497b5110631f48c09e96f213a4065dc9f615878c169c7d1d65b7d2b26814 [INFO] running `Command { std: "docker" "start" "-a" "0828497b5110631f48c09e96f213a4065dc9f615878c169c7d1d65b7d2b26814", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [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 1.58s [INFO] running `Command { std: "docker" "inspect" "0828497b5110631f48c09e96f213a4065dc9f615878c169c7d1d65b7d2b26814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0828497b5110631f48c09e96f213a4065dc9f615878c169c7d1d65b7d2b26814", kill_on_drop: false }` [INFO] [stdout] 0828497b5110631f48c09e96f213a4065dc9f615878c169c7d1d65b7d2b26814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f80f3166e33f88d46f701cb58a9f2d34141196381b40716bc3dd80f60957ad88 [INFO] running `Command { std: "docker" "start" "-a" "f80f3166e33f88d46f701cb58a9f2d34141196381b40716bc3dd80f60957ad88", 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/leonardo_heap-0cff905e743edb23) [INFO] [stdout] [INFO] [stdout] running 23 tests [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 leonardo::tests::test_leonardo_lookup_matches ... ok [INFO] [stdout] test tests::test_balance_after_pop_two ... ok [INFO] [stdout] test tests::test_balance_after_pop_one ... ok [INFO] [stdout] test tests::test_balance_after_pop_mutiple_layers ... ok [INFO] [stdout] test leonardo::tests::test_leonardo_closed_matches ... 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_split_heaps ... ok [INFO] [stdout] test tests::test_iter ... 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_one ... ok [INFO] [stdout] test tests::test_sift_down_sorting ... ok [INFO] [stdout] test tests::test_random ... ok [INFO] [stdout] test tests::test_sift_down_three ... ok [INFO] [stdout] test tests::test_sift_down_zero ... ok [INFO] [stdout] test tests::test_sift_down_two ... ok [INFO] [stdout] test tests::test_sort_random ... ok [INFO] [stdout] test tests::test_balance_after_pop_mismatched_lengths - should panic ... ok [INFO] [stdout] test tests::test_balance_after_push_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.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f80f3166e33f88d46f701cb58a9f2d34141196381b40716bc3dd80f60957ad88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80f3166e33f88d46f701cb58a9f2d34141196381b40716bc3dd80f60957ad88", kill_on_drop: false }` [INFO] [stdout] f80f3166e33f88d46f701cb58a9f2d34141196381b40716bc3dd80f60957ad88