[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] building pedohorse/tankgrid-battle-sim against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedohorse%2Ftankgrid-battle-sim" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedohorse/tankgrid-battle-sim on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uname v0.1.1 [INFO] [stderr] Downloaded rustpython-parser-core v0.4.0 [INFO] [stderr] Downloaded result-like v0.4.6 [INFO] [stderr] Downloaded rustpython-compiler-core v0.4.0 [INFO] [stderr] Downloaded rustpython-common v0.4.0 [INFO] [stderr] Downloaded caseless v0.2.1 [INFO] [stderr] Downloaded unicode_names2_generator v1.3.0 [INFO] [stderr] Downloaded unic-ucd-category v0.9.0 [INFO] [stderr] Downloaded rustpython-vm v0.4.0 [INFO] [stderr] Downloaded rustpython-literal v0.4.0 [INFO] [stderr] Downloaded syn-ext v0.4.0 [INFO] [stderr] Downloaded rustpython-sre_engine v0.4.0 [INFO] [stderr] Downloaded fd-lock v4.0.2 [INFO] [stderr] Downloaded timsort v0.1.3 [INFO] [stderr] Downloaded rustpython-codegen v0.4.0 [INFO] [stderr] Downloaded unicode_names2 v1.3.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded junction v1.2.0 [INFO] [stderr] Downloaded malachite-bigint v0.2.0 [INFO] [stderr] Downloaded cc v1.1.37 [INFO] [stderr] Downloaded rustpython-parser-vendored v0.4.0 [INFO] [stderr] Downloaded rustpython-derive v0.4.0 [INFO] [stderr] Downloaded malachite-q v0.4.16 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded rustpython-doc v0.3.0 [INFO] [stderr] Downloaded result-like-derive v0.4.6 [INFO] [stderr] Downloaded volatile v0.3.0 [INFO] [stderr] Downloaded rustpython-compiler v0.4.0 [INFO] [stderr] Downloaded rustpython-format v0.4.0 [INFO] [stderr] Downloaded malachite v0.4.16 [INFO] [stderr] Downloaded rustpython-ast v0.4.0 [INFO] [stderr] Downloaded is-macro v0.3.7 [INFO] [stderr] Downloaded rustpython-derive-impl v0.4.0 [INFO] [stderr] Downloaded serde v1.0.214 [INFO] [stderr] Downloaded unic-emoji-char v0.9.0 [INFO] [stderr] Downloaded rustpython-parser v0.4.0 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.214 [INFO] [stderr] Downloaded optional v0.5.0 [INFO] [stderr] Downloaded unic-ucd-bidi v0.9.0 [INFO] [stderr] Downloaded unicode-casing v0.1.0 [INFO] [stderr] Downloaded malachite-base v0.4.16 [INFO] [stderr] Downloaded malachite-nz v0.4.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b101a814258eca35a8cd472dfafdc3c8a4617d68f078bda894a6202b92b3d4c8 [INFO] running `Command { std: "docker" "start" "-a" "b101a814258eca35a8cd472dfafdc3c8a4617d68f078bda894a6202b92b3d4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b101a814258eca35a8cd472dfafdc3c8a4617d68f078bda894a6202b92b3d4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b101a814258eca35a8cd472dfafdc3c8a4617d68f078bda894a6202b92b3d4c8", kill_on_drop: false }` [INFO] [stdout] b101a814258eca35a8cd472dfafdc3c8a4617d68f078bda894a6202b92b3d4c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e051d76e7e897b9c3fe0d7468b4c7d16b8a87eefa63c8959a409574be6268c7f [INFO] running `Command { std: "docker" "start" "-a" "e051d76e7e897b9c3fe0d7468b4c7d16b8a87eefa63c8959a409574be6268c7f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling malachite-nz v0.4.16 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling rustpython-parser-vendored v0.4.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling unic-ucd-category v0.9.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling unic-emoji-char v0.9.0 [INFO] [stderr] Compiling unic-ucd-ident v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling rustpython-doc v0.3.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling rustpython-vm v0.4.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling optional v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling volatile v0.3.0 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling syn-ext v0.4.0 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling which v4.4.2 [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 num_enum_derive v0.7.3 [INFO] [stderr] Compiling rustpython-parser-core v0.4.0 [INFO] [stderr] Compiling rustpython-literal v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling result-like-derive v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling caseless v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [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 malachite-base v0.4.16 [INFO] [stderr] Compiling rustpython-parser v0.4.0 [INFO] [stderr] Compiling result-like v0.4.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rustpython-sre_engine v0.4.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling timsort v0.1.3 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling unicode-casing v0.1.0 [INFO] [stderr] Compiling malachite-q v0.4.16 [INFO] [stderr] Compiling malachite v0.4.16 [INFO] [stderr] Compiling malachite-bigint v0.2.0 [INFO] [stderr] Compiling rustpython-ast v0.4.0 [INFO] [stderr] Compiling rustpython-compiler-core v0.4.0 [INFO] [stderr] Compiling rustpython-format v0.4.0 [INFO] [stderr] Compiling rustpython-common v0.4.0 [INFO] [stderr] Compiling rustpython-derive-impl v0.4.0 [INFO] [stderr] Compiling rustpython-codegen v0.4.0 [INFO] [stderr] Compiling rustpython-compiler v0.4.0 [INFO] [stderr] Compiling rustpython-derive v0.4.0 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 54s [INFO] running `Command { std: "docker" "inspect" "e051d76e7e897b9c3fe0d7468b4c7d16b8a87eefa63c8959a409574be6268c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e051d76e7e897b9c3fe0d7468b4c7d16b8a87eefa63c8959a409574be6268c7f", kill_on_drop: false }` [INFO] [stdout] e051d76e7e897b9c3fe0d7468b4c7d16b8a87eefa63c8959a409574be6268c7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29477349afe7bece87b587cafec45a37c7d215abc91edae83d501e4fc7fd7296 [INFO] running `Command { std: "docker" "start" "-a" "29477349afe7bece87b587cafec45a37c7d215abc91edae83d501e4fc7fd7296", kill_on_drop: false }` [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: 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] [stderr] Compiling battle-sim v0.1.0 (/opt/rustwide/workdir) [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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 18.15s [INFO] running `Command { std: "docker" "inspect" "29477349afe7bece87b587cafec45a37c7d215abc91edae83d501e4fc7fd7296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29477349afe7bece87b587cafec45a37c7d215abc91edae83d501e4fc7fd7296", kill_on_drop: false }` [INFO] [stdout] 29477349afe7bece87b587cafec45a37c7d215abc91edae83d501e4fc7fd7296