[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 master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qfeys/LD41 on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "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-4-tc1/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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-glutin_window v0.45.3 [INFO] [stderr] Downloaded pistoncore-input v0.20.0 [INFO] [stderr] Downloaded pistoncore-window v0.31.0 [INFO] [stderr] Downloaded serde v1.0.41 [INFO] [stderr] Downloaded pistoncore-event_loop v0.36.0 [INFO] [stderr] Downloaded x11-dl v2.17.5 [INFO] [stderr] Downloaded clock_ticks v0.1.1 [INFO] [stderr] Downloaded hprof v0.1.3 [INFO] [stderr] Downloaded piston2d-graphics v0.26.0 [INFO] [stderr] Downloaded parking_lot_core v0.2.13 [INFO] [stderr] Downloaded winit v0.10.0 [INFO] [stderr] Downloaded piston v0.36.0 [INFO] [stderr] Downloaded glutin v0.12.2 [INFO] [stderr] Downloaded parking_lot v0.5.4 [INFO] [stderr] Downloaded gl_generator v0.8.0 [INFO] [stderr] Downloaded serde_derive v1.0.41 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.52.1 [INFO] [stderr] Downloaded tempfile v3.0.1 [INFO] [stderr] Downloaded gleam v0.4.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35722f5a69d7be1c3748494f7741c53b95c0b9e6ce71ca09bd3ccc71eed722c9 [INFO] running `Command { std: "docker" "start" "-a" "35722f5a69d7be1c3748494f7741c53b95c0b9e6ce71ca09bd3ccc71eed722c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35722f5a69d7be1c3748494f7741c53b95c0b9e6ce71ca09bd3ccc71eed722c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35722f5a69d7be1c3748494f7741c53b95c0b9e6ce71ca09bd3ccc71eed722c9", kill_on_drop: false }` [INFO] [stdout] 35722f5a69d7be1c3748494f7741c53b95c0b9e6ce71ca09bd3ccc71eed722c9 [ERROR] this task or one of its parent failed! [ERROR] command failed: exit status: 1 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing qfeys/LD41 against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] /workspace/builds/worker-4-tc2/source/.git/objects/info: No space left on device [INFO] testing qfeys/LD41 against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] /workspace/builds/worker-4-tc2/source/.git/objects/info: No space left on device [INFO] testing qfeys/LD41 against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] /workspace/builds/worker-4-tc2/source/.git/objects/pack: No space left on device [INFO] testing qfeys/LD41 against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-4-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'remote.origin.url' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41' [INFO] testing qfeys/LD41 against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqfeys%2FLD41" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qfeys/LD41 on toolchain 5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "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-4-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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b87146d0260b52ff06a627ff450e721794c52a3bc7a93a23cc480627514f52b7 [INFO] running `Command { std: "docker" "start" "-a" "b87146d0260b52ff06a627ff450e721794c52a3bc7a93a23cc480627514f52b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b87146d0260b52ff06a627ff450e721794c52a3bc7a93a23cc480627514f52b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87146d0260b52ff06a627ff450e721794c52a3bc7a93a23cc480627514f52b7", kill_on_drop: false }` [INFO] [stdout] b87146d0260b52ff06a627ff450e721794c52a3bc7a93a23cc480627514f52b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9f518795d27423910017efd7d896a3ba83778907b8d8e99f345a2ff48c25f80 [INFO] running `Command { std: "docker" "start" "-a" "d9f518795d27423910017efd7d896a3ba83778907b8d8e99f345a2ff48c25f80", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 nodrop v0.1.12 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling piston-float v0.3.0 [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 wayland-scanner v0.12.5 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [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 libloading v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling serde v1.0.41 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling tempfile v3.0.1 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.41 [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 stb_truetype v0.2.2 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.2.13 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling winit v0.10.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [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 lazy_static v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling parking_lot v0.5.4 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling clock_ticks v0.1.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling hprof v0.1.3 [INFO] [stderr] Compiling console v0.6.1 [INFO] [stderr] Compiling rand v0.3.22 [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 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::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 `Clone` and `Debug`, 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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.29s [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" "d9f518795d27423910017efd7d896a3ba83778907b8d8e99f345a2ff48c25f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f518795d27423910017efd7d896a3ba83778907b8d8e99f345a2ff48c25f80", kill_on_drop: false }` [INFO] [stdout] d9f518795d27423910017efd7d896a3ba83778907b8d8e99f345a2ff48c25f80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9dfd4059cdc1fe38e97a5a4bd12adf131a1a318ad42389173c791bfbdb73654 [INFO] running `Command { std: "docker" "start" "-a" "c9dfd4059cdc1fe38e97a5a4bd12adf131a1a318ad42389173c791bfbdb73654", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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::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 `Clone` and `Debug`, 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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [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" "c9dfd4059cdc1fe38e97a5a4bd12adf131a1a318ad42389173c791bfbdb73654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9dfd4059cdc1fe38e97a5a4bd12adf131a1a318ad42389173c791bfbdb73654", kill_on_drop: false }` [INFO] [stdout] c9dfd4059cdc1fe38e97a5a4bd12adf131a1a318ad42389173c791bfbdb73654 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a5bfa52c614bea2277e787562e092e63d0e6b1783c81f08b458a603197bf076 [INFO] running `Command { std: "docker" "start" "-a" "9a5bfa52c614bea2277e787562e092e63d0e6b1783c81f08b458a603197bf076", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/drone/mod.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | static OBJECT_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated constant [INFO] [stderr] | [INFO] [stderr] 11 | static OBJECT_COUNTER: AtomicUsize = atomic::AtomicUsize::new(0); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~ [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] = note: `#[warn(unused_mut)]` 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] 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:239:13 [INFO] [stderr] | [INFO] [stderr] 239 | 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/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: variant `Evade` is never constructed [INFO] [stderr] --> src/drone/mod.rs:269:5 [INFO] [stderr] | [INFO] [stderr] 262 | enum Behaviour { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 269 | Evade(usize, Pos, Box), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Behaviour` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 157 | let _ = ::std::mem::replace( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `LD41` (bin "LD41" test) generated 11 warnings (run `cargo fix --bin "LD41" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/LD41-f5fd67b532fb0806) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9a5bfa52c614bea2277e787562e092e63d0e6b1783c81f08b458a603197bf076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5bfa52c614bea2277e787562e092e63d0e6b1783c81f08b458a603197bf076", kill_on_drop: false }` [INFO] [stdout] 9a5bfa52c614bea2277e787562e092e63d0e6b1783c81f08b458a603197bf076