[INFO] cloning repository https://github.com/qfeys/LD41 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qfeys/LD41" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0aa8cb7d48a6fb0fb8f91e58004fe94d373586f7 [INFO] building qfeys/LD41 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qfeys/LD41 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qfeys/LD41 [INFO] finished tweaking git repo https://github.com/qfeys/LD41 [INFO] tweaked toml for git repo https://github.com/qfeys/LD41 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/qfeys/LD41 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6adbecb60b52af139944f4aef6bf2f074dc23e59e0caa2b595e1d3f5f1ddebf2 [INFO] running `Command { std: "docker" "start" "-a" "6adbecb60b52af139944f4aef6bf2f074dc23e59e0caa2b595e1d3f5f1ddebf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6adbecb60b52af139944f4aef6bf2f074dc23e59e0caa2b595e1d3f5f1ddebf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adbecb60b52af139944f4aef6bf2f074dc23e59e0caa2b595e1d3f5f1ddebf2", kill_on_drop: false }` [INFO] [stdout] 6adbecb60b52af139944f4aef6bf2f074dc23e59e0caa2b595e1d3f5f1ddebf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aff112bca1e0bc783290d3e270cd153ffeb5be22c8c26de8a17b4eb5af81718 [INFO] running `Command { std: "docker" "start" "-a" "7aff112bca1e0bc783290d3e270cd153ffeb5be22c8c26de8a17b4eb5af81718", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.10 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling serde v1.0.41 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling tempfile v3.0.1 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.41 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling winit v0.10.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.2.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling pistoncore-window v0.31.0 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling pistoncore-event_loop v0.36.0 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling parking_lot v0.5.4 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling clock_ticks v0.1.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling hprof v0.1.3 [INFO] [stderr] Compiling piston v0.36.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling pistoncore-glutin_window v0.45.3 [INFO] [stderr] Compiling console v0.6.1 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.52.1 [INFO] [stderr] Compiling LD41 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::*` [INFO] [stdout] --> src/drone/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f64::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `unit_type` should have an upper camel case name [INFO] [stdout] --> src/drone/mod.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | pub enum unit_type { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `UnitType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/drone/mod.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 11 - static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] 11 + static OBJECT_COUNTER: AtomicUsize = atomic::AtomicUsize::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut total = ch_d.inhabitants.len(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | for mut d in &mut self.drones { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | for mut ai in &mut self.ais{ [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | for mut b in &mut self.bases { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | for mut d in &mut self.drones { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | for mut d in &mut self.drones { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Evade` is never constructed [INFO] [stdout] --> src/drone/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 262 | enum Behaviour { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 269 | Evade(usize, Pos, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Behaviour` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/drone/mod.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | / ::std::mem::replace( [INFO] [stdout] 158 | | &mut self.behaviour, [INFO] [stdout] 159 | | Behaviour::Persue(closest.0, closest.2, Box::new(old_behafiour)), [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = ::std::mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7aff112bca1e0bc783290d3e270cd153ffeb5be22c8c26de8a17b4eb5af81718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aff112bca1e0bc783290d3e270cd153ffeb5be22c8c26de8a17b4eb5af81718", kill_on_drop: false }` [INFO] [stdout] 7aff112bca1e0bc783290d3e270cd153ffeb5be22c8c26de8a17b4eb5af81718 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa6bac5f3d777295fb793b4df5e6a4b6e268cb17e65fa19e4b39c69b1afb2004 [INFO] running `Command { std: "docker" "start" "-a" "aa6bac5f3d777295fb793b4df5e6a4b6e268cb17e65fa19e4b39c69b1afb2004", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling LD41 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::*` [INFO] [stdout] --> src/drone/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f64::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `unit_type` should have an upper camel case name [INFO] [stdout] --> src/drone/mod.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | pub enum unit_type { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `UnitType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/drone/mod.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 11 - static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] 11 + static OBJECT_COUNTER: AtomicUsize = atomic::AtomicUsize::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut total = ch_d.inhabitants.len(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | for mut d in &mut self.drones { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | for mut ai in &mut self.ais{ [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | for mut b in &mut self.bases { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | for mut d in &mut self.drones { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | for mut d in &mut self.drones { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Evade` is never constructed [INFO] [stdout] --> src/drone/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 262 | enum Behaviour { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 269 | Evade(usize, Pos, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Behaviour` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/drone/mod.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | / ::std::mem::replace( [INFO] [stdout] 158 | | &mut self.behaviour, [INFO] [stdout] 159 | | Behaviour::Persue(closest.0, closest.2, Box::new(old_behafiour)), [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = ::std::mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "aa6bac5f3d777295fb793b4df5e6a4b6e268cb17e65fa19e4b39c69b1afb2004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6bac5f3d777295fb793b4df5e6a4b6e268cb17e65fa19e4b39c69b1afb2004", kill_on_drop: false }` [INFO] [stdout] aa6bac5f3d777295fb793b4df5e6a4b6e268cb17e65fa19e4b39c69b1afb2004