[INFO] cloning repository https://github.com/ZacharyKamerling/rust_rts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZacharyKamerling/rust_rts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZacharyKamerling%2Frust_rts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZacharyKamerling%2Frust_rts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9249bf2b39c26bd40cbc86188c4fdfa8c7f12f21 [INFO] testing ZacharyKamerling/rust_rts against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZacharyKamerling%2Frust_rts" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 28% (17/60) Updating files: 30% (18/60) Updating files: 31% (19/60) Updating files: 33% (20/60) Updating files: 35% (21/60) Updating files: 36% (22/60) Updating files: 38% (23/60) Updating files: 40% (24/60) Updating files: 41% (25/60) Updating files: 43% (26/60) Updating files: 45% (27/60) Updating files: 46% (28/60) Updating files: 48% (29/60) Updating files: 50% (30/60) Updating files: 51% (31/60) Updating files: 53% (32/60) Updating files: 55% (33/60) Updating files: 56% (34/60) Updating files: 58% (35/60) Updating files: 60% (36/60) Updating files: 61% (37/60) Updating files: 63% (38/60) Updating files: 65% (39/60) Updating files: 66% (40/60) Updating files: 68% (41/60) Updating files: 70% (42/60) Updating files: 71% (43/60) Updating files: 73% (44/60) Updating files: 75% (45/60) Updating files: 76% (46/60) Updating files: 78% (47/60) Updating files: 80% (48/60) Updating files: 81% (49/60) Updating files: 83% (50/60) Updating files: 85% (51/60) Updating files: 86% (52/60) Updating files: 88% (53/60) Updating files: 90% (54/60) Updating files: 91% (55/60) Updating files: 93% (56/60) Updating files: 95% (57/60) Updating files: 96% (58/60) Updating files: 98% (59/60) Updating files: 100% (60/60) Updating files: 100% (60/60), done. [INFO] validating manifest of git repo https://github.com/ZacharyKamerling/rust_rts on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZacharyKamerling/rust_rts [INFO] finished tweaking git repo https://github.com/ZacharyKamerling/rust_rts [INFO] tweaked toml for git repo https://github.com/ZacharyKamerling/rust_rts written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate git repo https://github.com/ZacharyKamerling/rust_rts already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c662e0c8befcacf601dacc8fa809da283f332e5128b881ea7318534587b5e354 [INFO] running `Command { std: "docker" "start" "-a" "c662e0c8befcacf601dacc8fa809da283f332e5128b881ea7318534587b5e354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c662e0c8befcacf601dacc8fa809da283f332e5128b881ea7318534587b5e354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c662e0c8befcacf601dacc8fa809da283f332e5128b881ea7318534587b5e354", kill_on_drop: false }` [INFO] [stdout] c662e0c8befcacf601dacc8fa809da283f332e5128b881ea7318534587b5e354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 671bb55385c67acd07b5deeb62324d3694b0727e238b4920016dce95ac4d2af4 [INFO] running `Command { std: "docker" "start" "-a" "671bb55385c67acd07b5deeb62324d3694b0727e238b4920016dce95ac4d2af4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling time v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling rust_rts v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/data/uid_types.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe fn usize_wrap(usize) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/data/teams.rs:54:69 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_build_power_applications(&mut self, team: TeamID) -> (Vec<(UnitID, f64)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub fn get_build_power_applications(&mut self, team: TeamID) -> (Vec<(UnitID, f64)>) { [INFO] [stdout] 54 + pub fn get_build_power_applications(&mut self, team: TeamID) -> Vec<(UnitID, f64)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/data/teams.rs:74:69 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_train_power_applications(&mut self, team: TeamID) -> (Vec<(UnitID, f64)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - pub fn get_train_power_applications(&mut self, team: TeamID) -> (Vec<(UnitID, f64)>) { [INFO] [stdout] 74 + pub fn get_train_power_applications(&mut self, team: TeamID) -> Vec<(UnitID, f64)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pathing/path_grid.rs:1008:77 [INFO] [stdout] | [INFO] [stdout] 1008 | fn verify_jump(grid: &PathGrid, point: Point, direction: Ordinal) -> Option<(Point)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1008 - fn verify_jump(grid: &PathGrid, point: Point, direction: Ordinal) -> Option<(Point)> { [INFO] [stdout] 1008 + fn verify_jump(grid: &PathGrid, point: Point, direction: Ordinal) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libs::bitvec::test::Bencher` [INFO] [stdout] --> src/libs/bitvec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libs::bitvec::test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/pathing/path_grid.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use self::time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/pathing/path_grid.rs:883:17 [INFO] [stdout] | [INFO] [stdout] 883 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/pathing/path_grid.rs:892:15 [INFO] [stdout] | [INFO] [stdout] 892 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/pathing/path_grid.rs:896:17 [INFO] [stdout] | [INFO] [stdout] 896 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/pathing/path_grid.rs:905:15 [INFO] [stdout] | [INFO] [stdout] 905 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/pathing/path_grid.rs:910:17 [INFO] [stdout] | [INFO] [stdout] 910 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/pathing/path_grid.rs:923:15 [INFO] [stdout] | [INFO] [stdout] 923 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/kdt.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use self::time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/kdt.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | let start1 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/kdt.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | let end1 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/kdt.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let start2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/kdt.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | let end2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/kdt.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let start2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/kdt.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | let end2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use self::time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:506:15 [INFO] [stdout] | [INFO] [stdout] 506 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:517:15 [INFO] [stdout] | [INFO] [stdout] 517 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 527 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:531:17 [INFO] [stdout] | [INFO] [stdout] 531 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:537:15 [INFO] [stdout] | [INFO] [stdout] 537 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/libs/fine_grid.rs:559:15 [INFO] [stdout] | [INFO] [stdout] 559 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libs/kdt.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn in_range(&self, pred: &Fn(&T) -> bool, dims: &[(f64, f64)]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn in_range(&self, pred: &Fn(&T) -> bool, dims: &[(f64, f64)]) -> Vec { [INFO] [stdout] 49 + pub fn in_range(&self, pred: &dyn Fn(&T) -> bool, dims: &[(f64, f64)]) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libs/kdt.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn in_range_buff(&self, pred: &Fn(&T) -> bool, dims: &[(f64, f64)], vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - pub fn in_range_buff(&self, pred: &Fn(&T) -> bool, dims: &[(f64, f64)], vec: &mut Vec) { [INFO] [stdout] 55 + pub fn in_range_buff(&self, pred: &dyn Fn(&T) -> bool, dims: &[(f64, f64)], vec: &mut Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libs/kdt.rs:135:52 [INFO] [stdout] | [INFO] [stdout] 135 | fn in_range_matching(&self, tree: Tree, pred: &Fn(&T) -> bool, dims: &[(f64, f64)], dim: usize, vec: &mut Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn in_range_matching(&self, tree: Tree, pred: &Fn(&T) -> bool, dims: &[(f64, f64)], dim: usize, vec: &mut Vec) -> () { [INFO] [stdout] 135 + fn in_range_matching(&self, tree: Tree, pred: &dyn Fn(&T) -> bool, dims: &[(f64, f64)], dim: usize, vec: &mut Vec) -> () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/pathing/path_grid.rs:893:25 [INFO] [stdout] | [INFO] [stdout] 893 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f32 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/pathing/path_grid.rs:893:33 [INFO] [stdout] | [INFO] [stdout] 893 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f32 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/pathing/path_grid.rs:906:25 [INFO] [stdout] | [INFO] [stdout] 906 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f32 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/pathing/path_grid.rs:906:33 [INFO] [stdout] | [INFO] [stdout] 906 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f32 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/pathing/path_grid.rs:924:25 [INFO] [stdout] | [INFO] [stdout] 924 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f32 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/pathing/path_grid.rs:924:33 [INFO] [stdout] | [INFO] [stdout] 924 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f32 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libs/kdt.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | let p = &pred as &Fn(&PointAndRadii) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 - let p = &pred as &Fn(&PointAndRadii) -> bool; [INFO] [stdout] 233 + let p = &pred as &dyn Fn(&PointAndRadii) -> bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/kdt.rs:236:41 [INFO] [stdout] | [INFO] [stdout] 236 | total_kdt_search_time += start2.to(end2).num_nanoseconds().unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/kdt.rs:236:50 [INFO] [stdout] | [INFO] [stdout] 236 | total_kdt_search_time += start2.to(end2).num_nanoseconds().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libs/kdt.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | let p = &pred as &Fn(&PointAndRadii) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 - let p = &pred as &Fn(&PointAndRadii) -> bool; [INFO] [stdout] 249 + let p = &pred as &dyn Fn(&PointAndRadii) -> bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/kdt.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | total_search_time += start2.to(end2).num_nanoseconds().unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/kdt.rs:257:46 [INFO] [stdout] | [INFO] [stdout] 257 | total_search_time += start2.to(end2).num_nanoseconds().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/kdt.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | let build_time = start1.to(end1).num_nanoseconds().unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/kdt.rs:261:38 [INFO] [stdout] | [INFO] [stdout] 261 | let build_time = start1.to(end1).num_nanoseconds().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/fine_grid.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/fine_grid.rs:508:33 [INFO] [stdout] | [INFO] [stdout] 508 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/fine_grid.rs:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/fine_grid.rs:518:33 [INFO] [stdout] | [INFO] [stdout] 518 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/fine_grid.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/fine_grid.rs:528:33 [INFO] [stdout] | [INFO] [stdout] 528 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/fine_grid.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/fine_grid.rs:538:33 [INFO] [stdout] | [INFO] [stdout] 538 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/libs/fine_grid.rs:560:25 [INFO] [stdout] | [INFO] [stdout] 560 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> src/libs/fine_grid.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | let elapsed = start.to(end).num_nanoseconds().unwrap() as f64 / mili; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 274 | let time_spent = start_time.to(end_time).num_milliseconds(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/main.rs:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | let time_spent = start_time.to(end_time).num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_rts` due to 3 previous errors; 59 warnings emitted [INFO] running `Command { std: "docker" "inspect" "671bb55385c67acd07b5deeb62324d3694b0727e238b4920016dce95ac4d2af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671bb55385c67acd07b5deeb62324d3694b0727e238b4920016dce95ac4d2af4", kill_on_drop: false }` [INFO] [stdout] 671bb55385c67acd07b5deeb62324d3694b0727e238b4920016dce95ac4d2af4