[INFO] fetching crate treez 1.6.0... [INFO] checking treez-1.6.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate treez 1.6.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate treez 1.6.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mazth v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8206c6b83ca0c2f948df07f2c810c63a0c50581c6960aaa1d99cc15f439e2166 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8206c6b83ca0c2f948df07f2c810c63a0c50581c6960aaa1d99cc15f439e2166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8206c6b83ca0c2f948df07f2c810c63a0c50581c6960aaa1d99cc15f439e2166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8206c6b83ca0c2f948df07f2c810c63a0c50581c6960aaa1d99cc15f439e2166", kill_on_drop: false }` [INFO] [stdout] 8206c6b83ca0c2f948df07f2c810c63a0c50581c6960aaa1d99cc15f439e2166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66b2cbfe24f2cb8a0c9cf2ba20c82c93ba40456c0d09ac0333ea109fbbfe5f1d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "66b2cbfe24f2cb8a0c9cf2ba20c82c93ba40456c0d09ac0333ea109fbbfe5f1d", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking mazth v0.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Checking 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)]` 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`, `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`, `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] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `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: `SearchResult::Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [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)]` 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] 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/treap2.rs:439:13 [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: 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/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)]` on by default [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: 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: field is never read: `data` [INFO] [stdout] --> src/queue_monotone.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | data: VecDeque<(T, usize)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `length` [INFO] [stdout] --> src/queue_monotone.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `auto_length` [INFO] [stdout] --> src/queue_monotone.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | auto_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/queue_monotone.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> QueueMonotone { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/queue_monotone.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn push(&mut self, i: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/queue_monotone.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/queue_monotone.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn max(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/queue_monotone.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_auto_len` [INFO] [stdout] --> src/queue_monotone.rs:89:8 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] warning: unused import: `self::chrono::prelude::*` [INFO] [stdout] --> src/rb.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 931 | use self::chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/rb.rs:937:5 [INFO] [stdout] | [INFO] [stdout] 937 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 import: `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`, `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: 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] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:1883:50 [INFO] [stdout] | [INFO] [stdout] 1883 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:1904:50 [INFO] [stdout] | [INFO] [stdout] 1904 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:1950:50 [INFO] [stdout] | [INFO] [stdout] 1950 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:1972:50 [INFO] [stdout] | [INFO] [stdout] 1972 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:2018:50 [INFO] [stdout] | [INFO] [stdout] 2018 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:2040:50 [INFO] [stdout] | [INFO] [stdout] 2040 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:2060:50 [INFO] [stdout] | [INFO] [stdout] 2060 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:2106:50 [INFO] [stdout] | [INFO] [stdout] 2106 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:2125:50 [INFO] [stdout] | [INFO] [stdout] 2125 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:2267:54 [INFO] [stdout] | [INFO] [stdout] 2267 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/treap2.rs:2296:54 [INFO] [stdout] | [INFO] [stdout] 2296 | .for_each(|(a, b)| assert!(equal_f32((*a as f32), *b))); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/queue_monotone.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use self::rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::rand::distributions::IndependentSample`, `self::rand::distributions::Range` [INFO] [stdout] --> benches/bench_rb.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use self::rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ no `Range` in `distributions` [INFO] [stdout] | | [INFO] [stdout] | no `IndependentSample` in `distributions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rand::Rng` [INFO] [stdout] --> benches/bench_rb.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use self::rand::Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shuffle` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> benches/bench_rb.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | rng.shuffle(&mut nums); [INFO] [stdout] | ^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treez` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `self::rand::Rng` [INFO] [stdout] --> src/rb.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 935 | use self::rand::Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `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: `SearchResult::Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [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)]` 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] 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/treap2.rs:439:13 [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: 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: unused variable: `x` [INFO] [stdout] --> src/queue_monotone.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | let arr: Vec = (0..100).map(|x| rng.gen_range(-1000, 1000)).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [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)]` on by default [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: 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: variable does not need to be mutable [INFO] [stdout] --> src/treap2.rs:981:9 [INFO] [stdout] | [INFO] [stdout] 981 | let mut n2 = Node { [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:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | let mut n3 = Node { [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:999:9 [INFO] [stdout] | [INFO] [stdout] 999 | let mut n4 = Node { [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:1022:9 [INFO] [stdout] | [INFO] [stdout] 1022 | let mut r0 = NodePtr(Rc::new(RefCell::new(n0))); [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:1129:29 [INFO] [stdout] | [INFO] [stdout] 1129 | SearchResult::Exact(mut x) => match x.search(-10.) { [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:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | let mut n2 = Node { [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:1200:9 [INFO] [stdout] | [INFO] [stdout] 1200 | let mut n3 = Node { [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:1209:9 [INFO] [stdout] | [INFO] [stdout] 1209 | let mut n4 = Node { [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:1232:9 [INFO] [stdout] | [INFO] [stdout] 1232 | let mut r0 = NodePtr(Rc::new(RefCell::new(n0))); [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:1252:29 [INFO] [stdout] | [INFO] [stdout] 1252 | SearchResult::Exact(mut x) => { [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:1306:9 [INFO] [stdout] | [INFO] [stdout] 1306 | let mut r0 = { [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:1325:13 [INFO] [stdout] | [INFO] [stdout] 1325 | let mut n2 = Node { [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:1334:13 [INFO] [stdout] | [INFO] [stdout] 1334 | let mut n3 = Node { [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:1343:13 [INFO] [stdout] | [INFO] [stdout] 1343 | let mut n4 = Node { [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:1389:29 [INFO] [stdout] | [INFO] [stdout] 1389 | SearchResult::Exact(mut x) => { [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:1450:9 [INFO] [stdout] | [INFO] [stdout] 1450 | let mut t = NodePtr::new(); [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:1505:9 [INFO] [stdout] | [INFO] [stdout] 1505 | let mut t = NodePtr::new(); [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:1561:9 [INFO] [stdout] | [INFO] [stdout] 1561 | let mut t = NodePtr::new(); [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:1606:9 [INFO] [stdout] | [INFO] [stdout] 1606 | let mut t = NodePtr::new(); [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:1654:9 [INFO] [stdout] | [INFO] [stdout] 1654 | let mut t = NodePtr::new(); [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:2236:13 [INFO] [stdout] | [INFO] [stdout] 2236 | let mut t1: NodePtr = NodePtr::new(); [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:2237:13 [INFO] [stdout] | [INFO] [stdout] 2237 | let mut t2 = NodePtr::new(); [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:2248:13 [INFO] [stdout] | [INFO] [stdout] 2248 | let mut t2 = NodePtr::new(); [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:2276:13 [INFO] [stdout] | [INFO] [stdout] 2276 | let mut t1 = NodePtr::new(); [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:2395:13 [INFO] [stdout] | [INFO] [stdout] 2395 | let mut t1: NodePtr = NodePtr::new(); [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:2396:13 [INFO] [stdout] | [INFO] [stdout] 2396 | let mut t2 = NodePtr::new(); [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:2407:13 [INFO] [stdout] | [INFO] [stdout] 2407 | let mut t2 = NodePtr::new(); [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:2431:13 [INFO] [stdout] | [INFO] [stdout] 2431 | let mut t1 = NodePtr::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equal_f32` [INFO] [stdout] --> src/treap2.rs:2303:8 [INFO] [stdout] | [INFO] [stdout] 2303 | fn equal_f32(a: f32, b: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equal_f32` [INFO] [stdout] --> src/treap2.rs:2386:8 [INFO] [stdout] | [INFO] [stdout] 2386 | fn equal_f32(a: f32, b: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equal_f32` [INFO] [stdout] --> src/treap2.rs:2454:8 [INFO] [stdout] | [INFO] [stdout] 2454 | fn equal_f32(a: f32, b: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equal_f32` [INFO] [stdout] --> src/treap2.rs:2540:8 [INFO] [stdout] | [INFO] [stdout] 2540 | fn equal_f32(a: f32, b: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `m` should have an upper case name [INFO] [stdout] --> src/segsum.rs:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | const m: usize = 64; [INFO] [stdout] | ^ help: convert the identifier to upper case: `M` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `m` should have an upper case name [INFO] [stdout] --> src/segmax.rs:324:11 [INFO] [stdout] | [INFO] [stdout] 324 | const m: usize = 64; [INFO] [stdout] | ^ help: convert the identifier to upper case: `M` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `window` should have an upper case name [INFO] [stdout] --> src/queue_monotone.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | const window: usize = 20; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `WINDOW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "66b2cbfe24f2cb8a0c9cf2ba20c82c93ba40456c0d09ac0333ea109fbbfe5f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b2cbfe24f2cb8a0c9cf2ba20c82c93ba40456c0d09ac0333ea109fbbfe5f1d", kill_on_drop: false }` [INFO] [stdout] 66b2cbfe24f2cb8a0c9cf2ba20c82c93ba40456c0d09ac0333ea109fbbfe5f1d