[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/2d5fe9c0de074d645a34438ba123b64179016655 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanshry%2FAnt-Simulation" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ethanshry/Ant-Simulation on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded skeptic v0.13.6 [INFO] [stderr] Downloaded redox_syscall v0.2.7 [INFO] [stderr] Downloaded zip v0.5.12 [INFO] [stderr] Downloaded rand_distr v0.4.0 [INFO] [stderr] Downloaded syn v1.0.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ff0619eecabb6b8456d6ef1a52189a7c6db989f6b77cb40a78b9cc9badfef15 [INFO] running `Command { std: "docker" "start" "-a" "8ff0619eecabb6b8456d6ef1a52189a7c6db989f6b77cb40a78b9cc9badfef15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ff0619eecabb6b8456d6ef1a52189a7c6db989f6b77cb40a78b9cc9badfef15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff0619eecabb6b8456d6ef1a52189a7c6db989f6b77cb40a78b9cc9badfef15", kill_on_drop: false }` [INFO] [stdout] 8ff0619eecabb6b8456d6ef1a52189a7c6db989f6b77cb40a78b9cc9badfef15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae732e24d6d49093a31588ae2043b4a02ce97441ccc6e87ab7f9ef22b1a71beb [INFO] running `Command { std: "docker" "start" "-a" "ae732e24d6d49093a31588ae2043b4a02ce97441ccc6e87ab7f9ef22b1a71beb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [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 khronos_api v3.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking mint v0.5.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking zip v0.5.12 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Checking rand_distr v0.4.0 [INFO] [stderr] Checking toml v0.5.8 [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 rodio v0.9.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [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 ants v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MeshBuilder` and `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: elided lifetime has a name [INFO] [stdout] --> src/ant.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Ant<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 29 | pub fn new(x: f32, y: f32, frames: &'a [ImageGeneric]) -> Ant { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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` and `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: elided lifetime has a name [INFO] [stdout] --> src/ant.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Ant<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 29 | pub fn new(x: f32, y: f32, frames: &'a [ImageGeneric]) -> Ant { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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: 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] = 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: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: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: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: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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `destructuring_assignment` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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] = 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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:1:12 [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: 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: 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: 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: the feature `destructuring_assignment` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drain_filter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | self.home_scents = Vec::drain_filter(&mut self.home_scents, |s| { [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drain_filter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | self.home_scents = Vec::drain_filter(&mut self.home_scents, |s| { [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drain_filter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/main.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | self.food_scents = Vec::drain_filter(&mut self.food_scents, |s| { [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drain_filter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/main.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | self.food_scents = Vec::drain_filter(&mut self.food_scents, |s| { [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drain_filter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/main.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | self.ants = Vec::drain_filter(&mut self.ants, |a| { [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drain_filter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/main.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | self.ants = Vec::drain_filter(&mut self.ants, |a| { [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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: 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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] error: aborting due to 4 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ants` (bin "ants") due to 5 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ants` (bin "ants" test) due to 5 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae732e24d6d49093a31588ae2043b4a02ce97441ccc6e87ab7f9ef22b1a71beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae732e24d6d49093a31588ae2043b4a02ce97441ccc6e87ab7f9ef22b1a71beb", kill_on_drop: false }` [INFO] [stdout] ae732e24d6d49093a31588ae2043b4a02ce97441ccc6e87ab7f9ef22b1a71beb