[INFO] cloning repository https://github.com/pedohorse/tankgrid-battle-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedohorse/tankgrid-battle-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedohorse%2Ftankgrid-battle-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedohorse%2Ftankgrid-battle-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f09aeeebfcb90a53133600f329e445124bd1d722 [INFO] checking pedohorse/tankgrid-battle-sim against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedohorse%2Ftankgrid-battle-sim" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pedohorse/tankgrid-battle-sim [INFO] finished tweaking git repo https://github.com/pedohorse/tankgrid-battle-sim [INFO] tweaked toml for git repo https://github.com/pedohorse/tankgrid-battle-sim written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedohorse/tankgrid-battle-sim on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pedohorse/tankgrid-battle-sim 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-ucd-ident v0.9.0 [INFO] [stderr] Downloaded unicode_names2_generator v1.3.0 [INFO] [stderr] Downloaded unic-ucd-bidi v0.9.0 [INFO] [stderr] Downloaded rustpython-parser-core v0.4.0 [INFO] [stderr] Downloaded result-like v0.4.6 [INFO] [stderr] Downloaded malachite-bigint v0.2.0 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded rustpython-compiler v0.4.0 [INFO] [stderr] Downloaded unic-ucd-category v0.9.0 [INFO] [stderr] Downloaded junction v1.2.0 [INFO] [stderr] Downloaded rustpython-codegen v0.4.0 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded volatile v0.3.0 [INFO] [stderr] Downloaded rustpython-parser-vendored v0.4.0 [INFO] [stderr] Downloaded caseless v0.2.1 [INFO] [stderr] Downloaded result-like-derive v0.4.6 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded textwrap v0.15.2 [INFO] [stderr] Downloaded rustpython-doc v0.3.0 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded rustpython-parser v0.4.0 [INFO] [stderr] Downloaded rustpython-ast v0.4.0 [INFO] [stderr] Downloaded fd-lock v4.0.2 [INFO] [stderr] Downloaded rustpython-common v0.4.0 [INFO] [stderr] Downloaded unicode_names2 v1.3.0 [INFO] [stderr] Downloaded rustix v0.38.40 [INFO] [stderr] Downloaded rustpython-format v0.4.0 [INFO] [stderr] Downloaded nix v0.28.0 [INFO] [stderr] Downloaded malachite-q v0.4.16 [INFO] [stderr] Downloaded rustpython-vm v0.4.0 [INFO] [stderr] Downloaded rustpython-sre_engine v0.4.0 [INFO] [stderr] Downloaded rustpython-literal v0.4.0 [INFO] [stderr] Downloaded rustpython-compiler-core v0.4.0 [INFO] [stderr] Downloaded malachite v0.4.16 [INFO] [stderr] Downloaded unic-emoji-char v0.9.0 [INFO] [stderr] Downloaded malachite-base v0.4.16 [INFO] [stderr] Downloaded rustpython-derive-impl v0.4.0 [INFO] [stderr] Downloaded timsort v0.1.3 [INFO] [stderr] Downloaded unicode-casing v0.1.0 [INFO] [stderr] Downloaded rustpython-derive v0.4.0 [INFO] [stderr] Downloaded syn-ext v0.4.0 [INFO] [stderr] Downloaded malachite-nz v0.4.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28dc0ad32bc9f843fd12985bf41a660bd879ab814277fa1e4f66333ab517466c [INFO] running `Command { std: "docker" "start" "-a" "28dc0ad32bc9f843fd12985bf41a660bd879ab814277fa1e4f66333ab517466c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28dc0ad32bc9f843fd12985bf41a660bd879ab814277fa1e4f66333ab517466c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28dc0ad32bc9f843fd12985bf41a660bd879ab814277fa1e4f66333ab517466c", kill_on_drop: false }` [INFO] [stdout] 28dc0ad32bc9f843fd12985bf41a660bd879ab814277fa1e4f66333ab517466c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1543540582d77a46a6efa8341cc2ac7aa1e65879ea232b34c4600a6187490f7a [INFO] running `Command { std: "docker" "start" "-a" "1543540582d77a46a6efa8341cc2ac7aa1e65879ea232b34c4600a6187490f7a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling malachite-nz v0.4.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling rustpython-parser-vendored v0.4.0 [INFO] [stderr] Checking unic-ucd-category v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling unic-emoji-char v0.9.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling unic-ucd-ident v0.9.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling rustpython-doc v0.3.0 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustpython-vm v0.4.0 [INFO] [stderr] Checking volatile v0.3.0 [INFO] [stderr] Checking optional v0.5.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking timsort v0.1.3 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking unicode-casing v0.1.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling syn-ext v0.4.0 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling rustpython-parser-core v0.4.0 [INFO] [stderr] Checking rustpython-literal v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rustpython-sre_engine v0.4.0 [INFO] [stderr] Compiling result-like-derive v0.4.6 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling malachite-base v0.4.16 [INFO] [stderr] Compiling caseless v0.2.1 [INFO] [stderr] Checking result-like v0.4.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling rustpython-parser v0.4.0 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking malachite-q v0.4.16 [INFO] [stderr] Checking malachite v0.4.16 [INFO] [stderr] Checking malachite-bigint v0.2.0 [INFO] [stderr] Checking rustpython-ast v0.4.0 [INFO] [stderr] Checking rustpython-compiler-core v0.4.0 [INFO] [stderr] Checking rustpython-format v0.4.0 [INFO] [stderr] Checking rustpython-common v0.4.0 [INFO] [stderr] Compiling rustpython-derive-impl v0.4.0 [INFO] [stderr] Checking rustpython-codegen v0.4.0 [INFO] [stderr] Checking rustpython-compiler v0.4.0 [INFO] [stderr] Compiling rustpython-derive v0.4.0 [INFO] [stderr] Checking battle-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/impl/timestamped_container.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ExpiringContainer` [INFO] [stdout] --> src/impl/timestamped_container.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use super::ExpiringContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/impl/grid_map.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{path::Path, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::GridOrientation` [INFO] [stdout] --> src/impl/grid_orientation.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use super::GridOrientation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::SimpleOrientation` [INFO] [stdout] --> src/impl/grid_orientation.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | use super::SimpleOrientation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/impl/gridmap_json_file.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/impl/simple_object.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::script_repr::{self, ToScriptRepr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/impl/grid_map.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{path::Path, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/impl/gridmap_json_file.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/impl/simple_object.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::script_repr::{self, ToScriptRepr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `values` and `prune_before_timestamp` are never used [INFO] [stdout] --> src/impl/timestamped_container.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl ExpiringContainer [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | K: Hash + Eq, [INFO] [stdout] 19 | | TS: PartialOrd, [INFO] [stdout] | |___________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn values(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn prune_before_timestamp(&mut self, timestamp: TS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Empty` [INFO] [stdout] --> tests/map_serde.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, BufWriter, Empty}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> tests/map_serde.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/map_serde.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeserializeOwned` [INFO] [stdout] --> tests/map_serde.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::{self, Visitor, DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestTrivialLogic` is never constructed [INFO] [stdout] --> tests/common/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct TestTrivialLogic {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FnCommandTimer` is never constructed [INFO] [stdout] --> tests/common/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct FnCommandTimer [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 190 | / impl FnCommandTimer [INFO] [stdout] 191 | | where [INFO] [stdout] 192 | | F: Fn(&PC) -> GameTime, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 193 | { [INFO] [stdout] 194 | pub fn new(mapper: F) -> FnCommandTimer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> tests/test_battle.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | fn add(&mut self, obj: MObj) -> u64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> tests/test_battle.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn clear_by(&mut self, f: F) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> tests/test_battle.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn object_by_id(&self, uid: u64) -> Option<&MObj> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> tests/test_battle.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | fn remove_object(&mut self, uid: u64) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> tests/test_battle.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | fn objects_at(&self, x: i64, y: i64) -> Vec<&MObj> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> tests/test_battle.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | fn objects_at(&self, x: i64, y: i64) -> Vec<&MObj> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_battle.rs:705:13 [INFO] [stdout] | [INFO] [stdout] 705 | let mut b = GridBattle::new( [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestNoObjectCache` is never constructed [INFO] [stdout] --> tests/test_battle.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct TestNoObjectCache {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wall` is never constructed [INFO] [stdout] --> tests/common/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum SimpleTileType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 13 | Nothin, [INFO] [stdout] 14 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleTileType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestSimpleLogic` is never constructed [INFO] [stdout] --> tests/common/mod.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct TestSimpleLogic {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.28s [INFO] running `Command { std: "docker" "inspect" "1543540582d77a46a6efa8341cc2ac7aa1e65879ea232b34c4600a6187490f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1543540582d77a46a6efa8341cc2ac7aa1e65879ea232b34c4600a6187490f7a", kill_on_drop: false }` [INFO] [stdout] 1543540582d77a46a6efa8341cc2ac7aa1e65879ea232b34c4600a6187490f7a