[INFO] cloning repository https://github.com/ethanshry/Ant-Simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ethanshry/Ant-Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanshry%2FAnt-Simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanshry%2FAnt-Simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d5fe9c0de074d645a34438ba123b64179016655 [INFO] checking ethanshry/Ant-Simulation against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanshry%2FAnt-Simulation" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ethanshry/Ant-Simulation on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ethanshry/Ant-Simulation [INFO] finished tweaking git repo https://github.com/ethanshry/Ant-Simulation [INFO] tweaked toml for git repo https://github.com/ethanshry/Ant-Simulation written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ethanshry/Ant-Simulation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dbb3b1fd56960e278614772336e3aa4af4a62c16a99b7f85c6aa4dd79292715 [INFO] running `Command { std: "docker" "start" "-a" "9dbb3b1fd56960e278614772336e3aa4af4a62c16a99b7f85c6aa4dd79292715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dbb3b1fd56960e278614772336e3aa4af4a62c16a99b7f85c6aa4dd79292715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dbb3b1fd56960e278614772336e3aa4af4a62c16a99b7f85c6aa4dd79292715", kill_on_drop: false }` [INFO] [stdout] 9dbb3b1fd56960e278614772336e3aa4af4a62c16a99b7f85c6aa4dd79292715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2152ab5b67d426d2889703e47f3e4cd875c4f302c3b27b4642cdc9b0e4ca9df1 [INFO] running `Command { std: "docker" "start" "-a" "2152ab5b67d426d2889703e47f3e4cd875c4f302c3b27b4642cdc9b0e4ca9df1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking mint v0.5.6 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rand_distr v0.4.0 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking zip v0.5.12 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking ants v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MeshBuilder`, `Mesh` [INFO] [stdout] --> src/main.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | graphics::{GlBackendSpec, ImageGeneric, Mesh, MeshBuilder}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_distr::Normal` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand_distr::Normal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scent::Scent` [INFO] [stdout] --> src/ant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scent::Scent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bounded` [INFO] [stdout] --> src/ant.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{coordinate::Coordinate, Bounded}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navigable::Navigable` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use navigable::Navigable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MeshBuilder`, `Mesh` [INFO] [stdout] --> src/main.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | graphics::{GlBackendSpec, ImageGeneric, Mesh, MeshBuilder}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_distr::Normal` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand_distr::Normal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scent::Scent` [INFO] [stdout] --> src/ant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scent::Scent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bounded` [INFO] [stdout] --> src/ant.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{coordinate::Coordinate, Bounded}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navigable::Navigable` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use navigable::Navigable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/coordinate.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/coordinate.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/coordinate.rs:118:63 [INFO] [stdout] | [INFO] [stdout] 118 | fn get_avg_direction(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_dir` is never read [INFO] [stdout] --> src/coordinate.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut final_dir = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/coordinate.rs:138:68 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/coordinate.rs:178:63 [INFO] [stdout] | [INFO] [stdout] 178 | fn get_avg_direction(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/scent.rs:29:68 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/scent.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_avg_direction(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCENT_LIFE` [INFO] [stdout] --> src/ant.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const SCENT_LIFE: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HOME_SIZE` [INFO] [stdout] --> src/ant.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const HOME_SIZE: f32 = 25.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X_SIZE` [INFO] [stdout] --> src/ant.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const X_SIZE: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y_SIZE` [INFO] [stdout] --> src/ant.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const Y_SIZE: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y_SIZE` [INFO] [stdout] --> src/coordinate.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const Y_SIZE: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enforce_bounds` [INFO] [stdout] --> src/coordinate.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn enforce_bounds(&mut self, x_low: f32, x_high: f32, y_low: f32, y_high: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ANT_DETECTION_RANGE` [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const ANT_DETECTION_RANGE: f32 = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/ant.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/ant.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/ant.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/ant.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/coordinate.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/coordinate.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/coordinate.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/coordinate.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/scent.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/scent.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/scent.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/scent.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/coordinate.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/coordinate.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/coordinate.rs:118:63 [INFO] [stdout] | [INFO] [stdout] 118 | fn get_avg_direction(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_dir` is never read [INFO] [stdout] --> src/coordinate.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut final_dir = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/coordinate.rs:138:68 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/coordinate.rs:178:63 [INFO] [stdout] | [INFO] [stdout] 178 | fn get_avg_direction(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/scent.rs:29:68 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_nearest(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/scent.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_avg_direction(&self, pos: &Coordinate, range: f32, dist: f32, dir: f32) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCENT_LIFE` [INFO] [stdout] --> src/ant.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const SCENT_LIFE: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HOME_SIZE` [INFO] [stdout] --> src/ant.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const HOME_SIZE: f32 = 25.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X_SIZE` [INFO] [stdout] --> src/ant.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const X_SIZE: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y_SIZE` [INFO] [stdout] --> src/ant.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const Y_SIZE: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y_SIZE` [INFO] [stdout] --> src/coordinate.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const Y_SIZE: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enforce_bounds` [INFO] [stdout] --> src/coordinate.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn enforce_bounds(&mut self, x_low: f32, x_high: f32, y_low: f32, y_high: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ANT_DETECTION_RANGE` [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const ANT_DETECTION_RANGE: f32 = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/ant.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/ant.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/ant.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/ant.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/coordinate.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/coordinate.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/coordinate.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/coordinate.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/scent.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/scent.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/scent.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/scent.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "2152ab5b67d426d2889703e47f3e4cd875c4f302c3b27b4642cdc9b0e4ca9df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2152ab5b67d426d2889703e47f3e4cd875c4f302c3b27b4642cdc9b0e4ca9df1", kill_on_drop: false }` [INFO] [stdout] 2152ab5b67d426d2889703e47f3e4cd875c4f302c3b27b4642cdc9b0e4ca9df1