[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] checking rroelke/comparatorheap.rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frroelke%2Fcomparatorheap.rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rroelke/comparatorheap.rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-6-tc1/source/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] 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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4053643e64f7b089fdbe29530ff5720559cc76a89fada042ef8b9cecf1ffba3e [INFO] running `Command { std: "docker" "start" "-a" "4053643e64f7b089fdbe29530ff5720559cc76a89fada042ef8b9cecf1ffba3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4053643e64f7b089fdbe29530ff5720559cc76a89fada042ef8b9cecf1ffba3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4053643e64f7b089fdbe29530ff5720559cc76a89fada042ef8b9cecf1ffba3e", kill_on_drop: false }` [INFO] [stdout] 4053643e64f7b089fdbe29530ff5720559cc76a89fada042ef8b9cecf1ffba3e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84fb94f78dd4f3f29b9b16cc65dd37d199950abc649f28360e7579fc74aaa5f7 [INFO] running `Command { std: "docker" "start" "-a" "84fb94f78dd4f3f29b9b16cc65dd37d199950abc649f28360e7579fc74aaa5f7", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/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] Checking 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: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: 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: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: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[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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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[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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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.pop() { [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.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(ComparatorHeapItem { [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(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 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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/binary_heap/mod.rs:439:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 130 | heap : BinaryHeap::from(vs) [INFO] [stdout] | ~~~~ [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/binary_heap/mod.rs:439:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [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] 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] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` 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] | ^ unreachable pattern [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] 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] error: aborting due to 13 previous errors; 2 warnings emitted [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] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [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 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `comparatorheap` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "84fb94f78dd4f3f29b9b16cc65dd37d199950abc649f28360e7579fc74aaa5f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84fb94f78dd4f3f29b9b16cc65dd37d199950abc649f28360e7579fc74aaa5f7", kill_on_drop: false }` [INFO] [stdout] 84fb94f78dd4f3f29b9b16cc65dd37d199950abc649f28360e7579fc74aaa5f7