[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] testing qfeys/LD41 against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qfeys/LD41 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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/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: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot v0.5.4 [INFO] [stderr] Downloaded hprof v0.1.3 [INFO] [stderr] Downloaded console v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad39fe17ee229069a534737b3171684587ab39836803476a830f6ced9b2e42f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad39fe17ee229069a534737b3171684587ab39836803476a830f6ced9b2e42f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad39fe17ee229069a534737b3171684587ab39836803476a830f6ced9b2e42f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad39fe17ee229069a534737b3171684587ab39836803476a830f6ced9b2e42f7", kill_on_drop: false }` [INFO] [stdout] ad39fe17ee229069a534737b3171684587ab39836803476a830f6ced9b2e42f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45a0c88764bd9bc10a0432d747bf2e3bc6fde2fdd3f24be406e841e5c747d72f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "45a0c88764bd9bc10a0432d747bf2e3bc6fde2fdd3f24be406e841e5c747d72f", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling serde v1.0.41 [INFO] [stderr] Compiling smallvec v0.6.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling clock_ticks v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling tempfile v3.0.1 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.2.13 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling parking_lot v0.5.4 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling hprof v0.1.3 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling console v0.6.1 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.41 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.10.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.52.1 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling pistoncore-window v0.31.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.36.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.45.3 [INFO] [stderr] Compiling piston v0.36.0 [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 item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/drone/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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] = 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: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: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: 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] [INFO] [stdout] warning: variant is never constructed: `Evade` [INFO] [stdout] --> src/drone/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | Evade(usize, Pos, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `LD41` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ld41` [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "45a0c88764bd9bc10a0432d747bf2e3bc6fde2fdd3f24be406e841e5c747d72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a0c88764bd9bc10a0432d747bf2e3bc6fde2fdd3f24be406e841e5c747d72f", kill_on_drop: false }` [INFO] [stdout] 45a0c88764bd9bc10a0432d747bf2e3bc6fde2fdd3f24be406e841e5c747d72f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de8398902303b96a91e3582c7d7746cd5a03a2f5e5c2274ee391ab90c08dc1b0 [INFO] running `Command { std: "docker" "start" "-a" "de8398902303b96a91e3582c7d7746cd5a03a2f5e5c2274ee391ab90c08dc1b0", kill_on_drop: false }` [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 item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/drone/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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] = 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: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: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: 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] [INFO] [stdout] warning: variant is never constructed: `Evade` [INFO] [stdout] --> src/drone/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | Evade(usize, Pos, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `LD41` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ld41` [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "de8398902303b96a91e3582c7d7746cd5a03a2f5e5c2274ee391ab90c08dc1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8398902303b96a91e3582c7d7746cd5a03a2f5e5c2274ee391ab90c08dc1b0", kill_on_drop: false }` [INFO] [stdout] de8398902303b96a91e3582c7d7746cd5a03a2f5e5c2274ee391ab90c08dc1b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1cb87850b493e10ee39719966adbb92156bc9319dbae4ad76946d7ac49a26def [INFO] running `Command { std: "docker" "start" "-a" "1cb87850b493e10ee39719966adbb92156bc9319dbae4ad76946d7ac49a26def", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::f64::*` [INFO] [stderr] --> src/drone/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::f64::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `unit_type` should have an upper camel case name [INFO] [stderr] --> src/drone/mod.rs:256:10 [INFO] [stderr] | [INFO] [stderr] 256 | pub enum unit_type { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `UnitType` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/drone/mod.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | for mut d in &mut self.drones { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | for mut ai in &mut self.ais{ [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:219:13 [INFO] [stderr] | [INFO] [stderr] 219 | for mut b in &mut self.bases { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | for mut d in &mut self.drones { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/map.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | let mut total = ch_d.inhabitants.len(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Evade` [INFO] [stderr] --> src/drone/mod.rs:269:5 [INFO] [stderr] | [INFO] [stderr] 269 | Evade(usize, Pos, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `LD41` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `ld41` [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/drone/mod.rs:157:25 [INFO] [stderr] | [INFO] [stderr] 157 | / ::std::mem::replace( [INFO] [stderr] 158 | | &mut self.behaviour, [INFO] [stderr] 159 | | Behaviour::Persue(closest.0, closest.2, Box::new(old_behafiour)), [INFO] [stderr] 160 | | ); [INFO] [stderr] | |__________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/LD41-d474a4abc69b61ea [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1cb87850b493e10ee39719966adbb92156bc9319dbae4ad76946d7ac49a26def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb87850b493e10ee39719966adbb92156bc9319dbae4ad76946d7ac49a26def", kill_on_drop: false }` [INFO] [stdout] 1cb87850b493e10ee39719966adbb92156bc9319dbae4ad76946d7ac49a26def