[INFO] fetching crate treez 1.6.0... [INFO] testing treez-1.6.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate treez 1.6.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate treez 1.6.0 [INFO] finished tweaking crates.io crate treez 1.6.0 [INFO] tweaked toml for crates.io crate treez 1.6.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate treez 1.6.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 123 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding crossbeam v0.4.1 (available: v0.8.4) [INFO] [stderr] Adding mazth v0.0.0 (available: v0.6.0) [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.5.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.5.2 [INFO] [stderr] Downloaded crossbeam-utils v0.6.6 [INFO] [stderr] Downloaded crossbeam v0.4.1 [INFO] [stderr] Downloaded crossbeam-channel v0.2.6 [INFO] [stderr] Downloaded crossbeam-deque v0.5.2 [INFO] [stderr] Downloaded mazth v0.0.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3a9dd83878e94fa2030307a3fd03f2aa9ca026d916a3c7d64a863cace3b4082 [INFO] running `Command { std: "docker" "start" "-a" "b3a9dd83878e94fa2030307a3fd03f2aa9ca026d916a3c7d64a863cace3b4082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3a9dd83878e94fa2030307a3fd03f2aa9ca026d916a3c7d64a863cace3b4082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a9dd83878e94fa2030307a3fd03f2aa9ca026d916a3c7d64a863cace3b4082", kill_on_drop: false }` [INFO] [stdout] b3a9dd83878e94fa2030307a3fd03f2aa9ca026d916a3c7d64a863cace3b4082 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a42e45d970bab4dfdba75ea819e04b5081d60f8cc9132b670896b6dd3a392de1 [INFO] running `Command { std: "docker" "start" "-a" "a42e45d970bab4dfdba75ea819e04b5081d60f8cc9132b670896b6dd3a392de1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling mazth v0.0.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling treez v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/backtrack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> src/treap2.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering` and `self` [INFO] [stdout] --> src/treap2.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::{self, Ordering}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/treap2.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/treap2.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/treap2.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::chrono::prelude::*` [INFO] [stdout] --> src/treap2.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use self::chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/treap2.rs:681:25 [INFO] [stdout] | [INFO] [stdout] 681 | let t_l = match (l) { [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] 681 - let t_l = match (l) { [INFO] [stdout] 681 + let t_l = match l { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/treap2.rs:690:25 [INFO] [stdout] | [INFO] [stdout] 690 | let t_r = match (r) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 690 - let t_r = match (r) { [INFO] [stdout] 690 + let t_r = match r { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/segmax.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | Some(Change::Abs(v)) => self.s.clone(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rb.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut leaf_dummy = Node { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/dsu.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_new(&mut self, count: usize) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `treap::SearchResult` [INFO] [stdout] --> src/treap2.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Empty => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `treap::SearchResult::Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/treap2.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let root = x.fixup_priority(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root2` [INFO] [stdout] --> src/treap2.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | let root2 = x.fixdown_priority(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_root2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/treap2.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | let root = child.as_ref().unwrap().fixup_priority(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Empty` [INFO] [stdout] --> src/treap2.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Empty => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 265 | _Empty => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Empty` [INFO] [stdout] | [INFO] [stdout] 265 | treap::SearchResult::Empty => { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/treap2.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/treap2.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let mut x = self.clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_root` [INFO] [stdout] --> src/treap2.rs:722:22 [INFO] [stdout] | [INFO] [stdout] 722 | Some(new_root) => n.remove(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/treap2.rs:731:25 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn union(&self, mut other: Self) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/treap2.rs:801:29 [INFO] [stdout] | [INFO] [stdout] 801 | pub fn intersect(&self, mut other: Self) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/treap2.rs:806:21 [INFO] [stdout] | [INFO] [stdout] 806 | let (mut a, mut b) = if self.prio() < other.prio() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `length`, and `auto_length` are never read [INFO] [stdout] --> src/queue_monotone.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueueMonotone [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | data: VecDeque<(T, usize)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | auto_length: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `max`, `len`, and `set_auto_len` are never used [INFO] [stdout] --> src/queue_monotone.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 27 | / impl QueueMonotone [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | T: Ord + Clone, [INFO] [stdout] | |___________________- associated items in this implementation [INFO] [stdout] 30 | { [INFO] [stdout] 31 | fn new() -> QueueMonotone { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn push(&mut self, i: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn max(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn set_auto_len(&mut self, l: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Empty` should have a snake case name [INFO] [stdout] --> src/treap2.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Empty => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treez` (lib) due to 1 previous error; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a42e45d970bab4dfdba75ea819e04b5081d60f8cc9132b670896b6dd3a392de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42e45d970bab4dfdba75ea819e04b5081d60f8cc9132b670896b6dd3a392de1", kill_on_drop: false }` [INFO] [stdout] a42e45d970bab4dfdba75ea819e04b5081d60f8cc9132b670896b6dd3a392de1