[INFO] fetching crate rust_heap 0.1.0... [INFO] testing rust_heap-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate rust_heap 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rust_heap 0.1.0 [INFO] finished tweaking crates.io crate rust_heap 0.1.0 [INFO] tweaked toml for crates.io crate rust_heap 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_heap 0.1.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] 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] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4d419f2feca6b53bb06b942f1f06d3df0a93e62910fb43e73bcc6444cb8cae2c [INFO] running `Command { std: "docker" "start" "-a" "4d419f2feca6b53bb06b942f1f06d3df0a93e62910fb43e73bcc6444cb8cae2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d419f2feca6b53bb06b942f1f06d3df0a93e62910fb43e73bcc6444cb8cae2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d419f2feca6b53bb06b942f1f06d3df0a93e62910fb43e73bcc6444cb8cae2c", kill_on_drop: false }` [INFO] [stdout] 4d419f2feca6b53bb06b942f1f06d3df0a93e62910fb43e73bcc6444cb8cae2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 52f4763f45c30f15da1c16b57aedf0c89e1f8a14b9202f9bfd0038a1ec38741d [INFO] running `Command { std: "docker" "start" "-a" "52f4763f45c30f15da1c16b57aedf0c89e1f8a14b9202f9bfd0038a1ec38741d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling rust_heap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/heap.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] 57 + if heap[i]>heap[(i+1)*2-1 ] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/heap.rs:57:54 [INFO] [stdout] | [INFO] [stdout] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] 57 + if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[(i+1)*2 ] { return false; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "52f4763f45c30f15da1c16b57aedf0c89e1f8a14b9202f9bfd0038a1ec38741d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f4763f45c30f15da1c16b57aedf0c89e1f8a14b9202f9bfd0038a1ec38741d", kill_on_drop: false }` [INFO] [stdout] 52f4763f45c30f15da1c16b57aedf0c89e1f8a14b9202f9bfd0038a1ec38741d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7b8687ae84d3f8fcf9d88c44121973d3f60c63babb718d4e16620032cc1a1c0a [INFO] running `Command { std: "docker" "start" "-a" "7b8687ae84d3f8fcf9d88c44121973d3f60c63babb718d4e16620032cc1a1c0a", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/heap.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] 57 + if heap[i]>heap[(i+1)*2-1 ] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/heap.rs:57:54 [INFO] [stdout] | [INFO] [stdout] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] 57 + if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[(i+1)*2 ] { return false; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling rust_heap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/heap.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] 57 + if heap[i]>heap[(i+1)*2-1 ] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/heap.rs:57:54 [INFO] [stdout] | [INFO] [stdout] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] 57 + if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[(i+1)*2 ] { return false; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "7b8687ae84d3f8fcf9d88c44121973d3f60c63babb718d4e16620032cc1a1c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8687ae84d3f8fcf9d88c44121973d3f60c63babb718d4e16620032cc1a1c0a", kill_on_drop: false }` [INFO] [stdout] 7b8687ae84d3f8fcf9d88c44121973d3f60c63babb718d4e16620032cc1a1c0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3342eae216d20700d6175502f82fe0d18d32381a77be126c19b8c7697506e75f [INFO] running `Command { std: "docker" "start" "-a" "3342eae216d20700d6175502f82fe0d18d32381a77be126c19b8c7697506e75f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stdout] [INFO] [stderr] --> src/heap.rs:57:25 [INFO] [stdout] running 6 tests [INFO] [stderr] | [INFO] [stdout] test tests::test_empty_heap ... ok [INFO] [stderr] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stdout] test tests::test_heaper ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test tests::test_heapify ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_heap ... ok [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] 57 + if heap[i]>heap[(i+1)*2-1 ] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/heap.rs:57:54 [INFO] [stderr] | [INFO] [stderr] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] 57 + if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[(i+1)*2 ] { return false; } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rust_heap` (lib) generated 2 warnings (run `cargo fix --lib -p rust_heap` to apply 2 suggestions) [INFO] [stderr] warning: `rust_heap` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_heap-7ca5a638a4288012) [INFO] [stdout] test tests::test_heap_heapify_with_capacity ... ok [INFO] [stderr] Doc-tests rust_heap [INFO] [stdout] test tests::test_heap_heapify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/heap.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] 57 + if heap[i]>heap[(i+1)*2-1 ] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/heap.rs:57:54 [INFO] [stderr] | [INFO] [stderr] 57 | if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 57 - if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[((i+1)*2)] { return false; } [INFO] [stderr] 57 + if heap[i]>heap[((i+1)*2-1)] || heap[i]>heap[(i+1)*2 ] { return false; } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeaper<'a,T>::from_empty_slice (line 88) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeaper<'a,T>::pop (line 130) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeap::from_slice_with_capacity (line 220) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeap::new (line 185) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeap::pop (line 263) ... ok [INFO] [stdout] test src/heap.rs - heap::verify_heap (line 47) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeap::from (line 202) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeaper<'a,T>::from (line 71) ... ok [INFO] [stdout] test src/heap.rs - heap::heapify (line 33) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeap::push (line 239) ... ok [INFO] [stdout] test src/heap.rs - heap::BoundedBinaryHeaper<'a,T>::push (line 105) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3342eae216d20700d6175502f82fe0d18d32381a77be126c19b8c7697506e75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3342eae216d20700d6175502f82fe0d18d32381a77be126c19b8c7697506e75f", kill_on_drop: false }` [INFO] [stdout] 3342eae216d20700d6175502f82fe0d18d32381a77be126c19b8c7697506e75f