[INFO] cloning repository https://github.com/RoboticsTeam4904/Global-Robot-Localization [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RoboticsTeam4904/Global-Robot-Localization" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoboticsTeam4904%2FGlobal-Robot-Localization", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoboticsTeam4904%2FGlobal-Robot-Localization'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e0733a145cd26ef7e55bf86ea5b003b8d6f6718 [INFO] checking RoboticsTeam4904/Global-Robot-Localization against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoboticsTeam4904%2FGlobal-Robot-Localization" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RoboticsTeam4904/Global-Robot-Localization [INFO] finished tweaking git repo https://github.com/RoboticsTeam4904/Global-Robot-Localization [INFO] tweaked toml for git repo https://github.com/RoboticsTeam4904/Global-Robot-Localization written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RoboticsTeam4904/Global-Robot-Localization on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RoboticsTeam4904/Global-Robot-Localization 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1 [INFO] running `Command { std: "docker" "start" "9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking abomonation v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking wide v0.7.3 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.62 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking statrs v0.12.0 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking simba v0.7.0 [INFO] [stderr] Checking rand_distr v0.4.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking global-robot-localization v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/ai/presets.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | f64::{consts::PI, INFINITY}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/ai/presets.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | let lidar_range = lidar.range().unwrap_or(0.0..INFINITY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/map.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{f64::{consts::PI, INFINITY}, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/map.rs:278:50 [INFO] [stdout] | [INFO] [stdout] 278 | let dist_range = 0.0..max_dist.unwrap_or(INFINITY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | f64::{consts::PI, INFINITY}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | Some((self.fov, self.max_dist.unwrap_or(INFINITY))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | Some((self.fov, self.max_dist.unwrap_or(INFINITY))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:326:41 [INFO] [stdout] | [INFO] [stdout] 326 | .unwrap_or(0.0..INFINITY) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:368:41 [INFO] [stdout] | [INFO] [stdout] 368 | .unwrap_or(0.0..INFINITY) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/ai/presets.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | f64::{consts::PI, INFINITY}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/ai/presets.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | let lidar_range = lidar.range().unwrap_or(0.0..INFINITY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/map.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{f64::{consts::PI, INFINITY}, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/map.rs:278:50 [INFO] [stdout] | [INFO] [stdout] 278 | let dist_range = 0.0..max_dist.unwrap_or(INFINITY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | f64::{consts::PI, INFINITY}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | Some((self.fov, self.max_dist.unwrap_or(INFINITY))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | Some((self.fov, self.max_dist.unwrap_or(INFINITY))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:326:41 [INFO] [stdout] | [INFO] [stdout] 326 | .unwrap_or(0.0..INFINITY) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/sensors/dummy.rs:368:41 [INFO] [stdout] | [INFO] [stdout] 368 | .unwrap_or(0.0..INFINITY) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `f64` [INFO] [stdout] --> src/utility.rs:924:15 [INFO] [stdout] | [INFO] [stdout] 924 | let num = num.into(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 924 - let num = num.into(); [INFO] [stdout] 924 + let num = num; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 924 - let num = num.into(); [INFO] [stdout] 924 + let num = >::into(num); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `f64` [INFO] [stdout] --> src/utility.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | / match range.end_bound() { [INFO] [stdout] 931 | | std::ops::Bound::Excluded(upper) if num >= *upper => *upper - 1., [INFO] [stdout] 932 | | std::ops::Bound::Included(upper) if num > *upper => *upper, [INFO] [stdout] 933 | | _ => num, [INFO] [stdout] 934 | | } [INFO] [stdout] 935 | | .into() [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 934 - } [INFO] [stdout] 935 - .into() [INFO] [stdout] 934 + } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 930 ~ >::into(match range.end_bound() { [INFO] [stdout] 931 | std::ops::Bound::Excluded(upper) if num >= *upper => *upper - 1., [INFO] [stdout] 932 | std::ops::Bound::Included(upper) if num > *upper => *upper, [INFO] [stdout] 933 | _ => num, [INFO] [stdout] 934 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `global-robot-localization` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `f64` [INFO] [stdout] --> src/utility.rs:924:15 [INFO] [stdout] | [INFO] [stdout] 924 | let num = num.into(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 924 - let num = num.into(); [INFO] [stdout] 924 + let num = num; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 924 - let num = num.into(); [INFO] [stdout] 924 + let num = >::into(num); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `f64` [INFO] [stdout] --> src/utility.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | / match range.end_bound() { [INFO] [stdout] 931 | | std::ops::Bound::Excluded(upper) if num >= *upper => *upper - 1., [INFO] [stdout] 932 | | std::ops::Bound::Included(upper) if num > *upper => *upper, [INFO] [stdout] 933 | | _ => num, [INFO] [stdout] 934 | | } [INFO] [stdout] 935 | | .into() [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 934 - } [INFO] [stdout] 935 - .into() [INFO] [stdout] 934 + } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 930 ~ >::into(match range.end_bound() { [INFO] [stdout] 931 | std::ops::Bound::Excluded(upper) if num >= *upper => *upper - 1., [INFO] [stdout] 932 | std::ops::Bound::Included(upper) if num > *upper => *upper, [INFO] [stdout] 933 | _ => num, [INFO] [stdout] 934 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `global-robot-localization` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: unused dependency `abomonation` [INFO] [stderr] --> Cargo.toml:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | abomonation = "0.7.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `abomonation` [INFO] [stderr] warning: unused dependency `failure` [INFO] [stderr] --> Cargo.toml:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | failure = "0.1.6" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `failure` [INFO] [stderr] warning: unused dependency `generic-array` [INFO] [stderr] --> Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | generic-array = "0.14.4" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `generic-array` [INFO] [stderr] warning: `global-robot-localization` (manifest) generated 3 warnings [INFO] running `Command { std: "docker" "inspect" "9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1", kill_on_drop: false }` [INFO] [stdout] 9246910ff23ec8503e00f7c7a9e2179381385fd493baa88676398328ecbcd0a1