[INFO] cloning repository https://github.com/rroelke/comparatorheap.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rroelke/comparatorheap.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frroelke%2Fcomparatorheap.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frroelke%2Fcomparatorheap.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1b6550bf0d153227c7ad02d1e7efb374ade3af9 [INFO] testing rroelke/comparatorheap.rs/c1b6550bf0d153227c7ad02d1e7efb374ade3af9 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frroelke%2Fcomparatorheap.rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rroelke/comparatorheap.rs [INFO] finished tweaking git repo https://github.com/rroelke/comparatorheap.rs [INFO] tweaked toml for git repo https://github.com/rroelke/comparatorheap.rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rroelke/comparatorheap.rs on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rroelke/comparatorheap.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `src/comparatorheap.rs` was erroneously implicitly accepted for library `comparatorheap`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f03dba4eb2f0996bfd4a13f2d34deda88589d1c9956ebe29af1e1ddeed85cec [INFO] running `Command { std: "docker" "start" "-a" "3f03dba4eb2f0996bfd4a13f2d34deda88589d1c9956ebe29af1e1ddeed85cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f03dba4eb2f0996bfd4a13f2d34deda88589d1c9956ebe29af1e1ddeed85cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f03dba4eb2f0996bfd4a13f2d34deda88589d1c9956ebe29af1e1ddeed85cec", kill_on_drop: false }` [INFO] [stdout] 3f03dba4eb2f0996bfd4a13f2d34deda88589d1c9956ebe29af1e1ddeed85cec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8bdcca3d0c9f9d3614959a3decd05abb5eedf0ba31a707fa934815c28411f3a [INFO] running `Command { std: "docker" "start" "-a" "f8bdcca3d0c9f9d3614959a3decd05abb5eedf0ba31a707fa934815c28411f3a", kill_on_drop: false }` [INFO] [stderr] warning: path `src/comparatorheap.rs` was erroneously implicitly accepted for library `comparatorheap`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling comparatorheap v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/comparatorheap.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/comparatorheap.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/comparatorheap.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn with_capacity(cmp : fn (&T, &T) -> Ordering, capacity : uint) -> ComparatorHeap { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/comparatorheap.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn capacity(&self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/comparatorheap.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn reserve_exact(&mut self, n : uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/comparatorheap.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn reserve(&mut self, n : uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/comparatorheap.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn len(&self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: variant `Equal` is private [INFO] [stdout] --> src/comparatorheap.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Equal, Ordering}; [INFO] [stdout] | ^^^^^ private variant [INFO] [stdout] | [INFO] [stdout] note: the variant `Equal` is defined here [INFO] [stdout] --> /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/cmp.rs:31:5 [INFO] [stdout] help: import `Equal` directly [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{core::cmp::Ordering::Equal, Ordering}; [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `top` found for struct `BinaryHeap` in the current scope [INFO] [stdout] --> src/comparatorheap.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | match self.heap.top() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `pop` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 - match self.heap.top() { [INFO] [stdout] 65 + match self.heap.pop() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_pop` found for struct `BinaryHeap` in the current scope [INFO] [stdout] --> src/comparatorheap.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | self.heap.push_pop(ComparatorHeapItem { [INFO] [stdout] | ----------^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 88 - self.heap.push_pop(ComparatorHeapItem { [INFO] [stdout] 88 + self.heap.push(ComparatorHeapItem { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `replace` found for struct `BinaryHeap` in the current scope [INFO] [stdout] --> src/comparatorheap.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | match self.heap.replace(ComparatorHeapItem { [INFO] [stdout] | ----------^^^^^^^ method not found in `BinaryHeap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec` found for struct `BinaryHeap` in the current scope [INFO] [stdout] --> src/comparatorheap.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | heap : BinaryHeap::from_vec(vs) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `BinaryHeap<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `BinaryHeap<_, _>` consider using one of the following associated functions: [INFO] [stdout] BinaryHeap::::new [INFO] [stdout] BinaryHeap::::with_capacity [INFO] [stdout] BinaryHeap::::new_in [INFO] [stdout] BinaryHeap::::with_capacity_in [INFO] [stdout] --> /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/collections/binary_heap/mod.rs:514:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 130 - heap : BinaryHeap::from_vec(vs) [INFO] [stdout] 130 + heap : BinaryHeap::from(vs) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Equal` is named the same as one of the variants of the type `std::cmp::Ordering` [INFO] [stdout] --> src/comparatorheap.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Equal => true, [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `std::cmp::Ordering::Equal` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/comparatorheap.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 14 | Equal => true, [INFO] [stdout] | ----- matches any value [INFO] [stdout] 15 | _ => false [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Equal` [INFO] [stdout] --> src/comparatorheap.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Equal => true, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Equal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0412, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `comparatorheap` (lib) due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8bdcca3d0c9f9d3614959a3decd05abb5eedf0ba31a707fa934815c28411f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8bdcca3d0c9f9d3614959a3decd05abb5eedf0ba31a707fa934815c28411f3a", kill_on_drop: false }` [INFO] [stdout] f8bdcca3d0c9f9d3614959a3decd05abb5eedf0ba31a707fa934815c28411f3a