[INFO] cloning repository https://github.com/wangjun861205/battleship
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangjun861205/battleship" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fbattleship", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fbattleship'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7365362e1f98703d3c470fc3e9341bfec270186d
[INFO] testing wangjun861205/battleship against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fbattleship" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wangjun861205/battleship on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wangjun861205/battleship
[INFO] finished tweaking git repo https://github.com/wangjun861205/battleship
[INFO] tweaked toml for git repo https://github.com/wangjun861205/battleship written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/wangjun861205/battleship 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fcb968334359c61f3bf9362e5d28796380dd9be2f51658d33ea9a635fb2c048b
[INFO] running `Command { std: "docker" "start" "-a" "fcb968334359c61f3bf9362e5d28796380dd9be2f51658d33ea9a635fb2c048b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcb968334359c61f3bf9362e5d28796380dd9be2f51658d33ea9a635fb2c048b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcb968334359c61f3bf9362e5d28796380dd9be2f51658d33ea9a635fb2c048b", kill_on_drop: false }`
[INFO] [stdout] fcb968334359c61f3bf9362e5d28796380dd9be2f51658d33ea9a635fb2c048b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 768de77bee901c3ec0f0b358a19cff3e68adc6f84893e1ad8032b6be1e3f1e6e
[INFO] running `Command { std: "docker" "start" "-a" "768de77bee901c3ec0f0b358a19cff3e68adc6f84893e1ad8032b6be1e3f1e6e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.26
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling futures-io v0.3.26
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling concurrent-queue v2.1.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling erased-serde v0.3.24
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling uuid v1.3.0
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling async-task v4.3.0
[INFO] [stderr]    Compiling concurrent-queue v1.2.4
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling async-channel v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling bevy_ptr v0.9.1
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling async-lock v2.6.0
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling async-executor v1.5.0
[INFO] [stderr]    Compiling bevy_tasks v0.9.1
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling raw-window-handle v0.5.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling crossbeam-channel v0.5.7
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling anyhow v1.0.69
[INFO] [stderr]    Compiling ash v0.37.2+1.3.238
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling pp-rs v0.2.1
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling bevy_macro_utils v0.9.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling filetime v0.2.20
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.1
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling wgpu-core v0.14.2
[INFO] [stderr]    Compiling gpu-alloc v0.5.3
[INFO] [stderr]    Compiling notify v5.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling bytemuck_derive v1.4.0
[INFO] [stderr]    Compiling bevy_reflect_derive v0.9.1
[INFO] [stderr]    Compiling bevy_ecs_macros v0.9.1
[INFO] [stderr]    Compiling bevy_derive v0.9.1
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling encase_derive_impl v0.4.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling wgpu-types v0.14.1
[INFO] [stderr]    Compiling profiling v1.0.7
[INFO] [stderr]    Compiling renderdoc-sys v0.7.1
[INFO] [stderr]    Compiling glow v0.11.2
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling encase_derive v0.4.1
[INFO] [stderr]    Compiling png v0.17.7
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling const_panic v0.2.7
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bevy_encase_derive v0.9.1
[INFO] [stderr]    Compiling bevy_render_macros v0.9.1
[INFO] [stderr]    Compiling image v0.24.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling radsort v0.1.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling serde_json v1.0.93
[INFO] [stderr]    Compiling ttf-parser v0.18.1
[INFO] [stderr]    Compiling nix v0.23.2
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling euclid v0.22.7
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling cpal v0.14.2
[INFO] [stderr]    Compiling svg_fmt v0.4.1
[INFO] [stderr]    Compiling guillotiere v0.6.2
[INFO] [stderr]    Compiling gltf-derive v1.1.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling owned_ttf_parser v0.18.1
[INFO] [stderr]    Compiling ab_glyph v0.2.20
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling rectangle-pack v0.4.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling xi-unicode v0.3.0
[INFO] [stderr]    Compiling gilrs v0.10.1
[INFO] [stderr]    Compiling glyph_brush_layout v0.2.3
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling alsa v0.6.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling glam v0.22.0
[INFO] [stderr]    Compiling bevy_utils v0.9.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.16
[INFO] [stderr]    Compiling gpu-descriptor v0.2.3
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]    Compiling gilrs-core v0.5.2
[INFO] [stderr]    Compiling gltf-json v1.1.0
[INFO] [stderr]    Compiling ron v0.8.0
[INFO] [stderr]    Compiling hash32-derive v0.1.1
[INFO] [stderr]    Compiling bevy_math v0.9.1
[INFO] [stderr]    Compiling naga v0.10.0
[INFO] [stderr]    Compiling bevy_mikktspace v0.9.1
[INFO] [stderr]    Compiling bevy_reflect v0.9.1
[INFO] [stderr]    Compiling encase v0.4.1
[INFO] [stderr]    Compiling hexasphere v8.0.0
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling urlencoding v2.1.2
[INFO] [stderr]    Compiling taffy v0.1.0
[INFO] [stderr]    Compiling winit v0.27.5
[INFO] [stderr]    Compiling rodio v0.16.0
[INFO] [stderr]    Compiling gltf v1.1.0
[INFO] [stderr]    Compiling bevy_ecs v0.9.1
[INFO] [stderr]    Compiling wgpu-hal v0.14.1
[INFO] [stderr]    Compiling bevy_app v0.9.1
[INFO] [stderr]    Compiling bevy_core v0.9.1
[INFO] [stderr]    Compiling bevy_log v0.9.1
[INFO] [stderr]    Compiling bevy_time v0.9.1
[INFO] [stderr]    Compiling bevy_input v0.9.1
[INFO] [stderr]    Compiling bevy_diagnostic v0.9.1
[INFO] [stderr]    Compiling bevy_hierarchy v0.9.1
[INFO] [stderr]    Compiling bevy_asset v0.9.1
[INFO] [stderr]    Compiling bevy_window v0.9.1
[INFO] [stderr]    Compiling bevy_transform v0.9.1
[INFO] [stderr]    Compiling bevy_gilrs v0.9.1
[INFO] [stderr]    Compiling bevy_winit v0.9.1
[INFO] [stderr]    Compiling bevy_animation v0.9.1
[INFO] [stderr]    Compiling bevy_audio v0.9.1
[INFO] [stderr]    Compiling wgpu v0.14.2
[INFO] [stderr]    Compiling bevy_render v0.9.1
[INFO] [stderr]    Compiling bevy_core_pipeline v0.9.1
[INFO] [stderr]    Compiling bevy_scene v0.9.1
[INFO] [stderr]    Compiling bevy_sprite v0.9.1
[INFO] [stderr]    Compiling bevy_pbr v0.9.1
[INFO] [stderr]    Compiling bevy_gltf v0.9.1
[INFO] [stderr]    Compiling bevy_text v0.9.1
[INFO] [stderr]    Compiling bevy_ui v0.9.1
[INFO] [stderr]    Compiling bevy_internal v0.9.1
[INFO] [stderr]    Compiling bevy_dylib v0.9.1
[INFO] [stderr]    Compiling bevy v0.9.1
[INFO] [stderr]    Compiling battleship v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `INFINITY`, `NEG_INFINITY`
[INFO] [stdout]  --> src/main.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f32::{consts::PI, INFINITY, NEG_INFINITY};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/main.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let distance = ((bullet.x - collision_x).powf(2.0) + (bullet.y - collision_y).powf(2.0)).sqrt();
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `y`, `z`, `direction`, `horizontal_velocity`, and `vertical_velocity` are never read
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BulletMovement {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 24 |     x: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 25 |     y: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 26 |     z: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 27 |     direction: f32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 28 |     horizontal_velocity: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     vertical_velocity: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `y`, `direction`, `length`, `width`, and `height` are never read
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct BattleshipMovement {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 34 |     x: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 35 |     y: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 36 |     direction: f32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 37 |     length: f32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 38 |     width: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     height: f32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HorizontalPosition` is never constructed
[INFO] [stdout]   --> src/main.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct HorizontalPosition {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mod_direction` is never used
[INFO] [stdout]   --> src/main.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn mod_direction(mut direction: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_horizontal_collision` is never used
[INFO] [stdout]   --> src/main.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn detect_horizontal_collision(a: HorizontalPosition, b: HorizontalPosition) -> Option<(f32, f32)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_frontend_collision` is never used
[INFO] [stdout]    --> src/main.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn detect_frontend_collision(bullet: BulletMovement, battleship: BattleshipMovement) -> Option<(f32, f32, f32)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_collision` is never used
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn detect_collision(bullet: BulletMovement, battleship: BattleshipMovement) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HitIntoShip` is never constructed
[INFO] [stdout]   --> src/projectile.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum BrustType {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 14 |     HitIntoWater,
[INFO] [stdout] 15 |     HitIntoShip,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BrustType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `typ` is never read
[INFO] [stdout]   --> src/projectile.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct BrustEvent {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 20 |     typ: BrustType,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BrustEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 16s
[INFO] running `Command { std: "docker" "inspect" "768de77bee901c3ec0f0b358a19cff3e68adc6f84893e1ad8032b6be1e3f1e6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "768de77bee901c3ec0f0b358a19cff3e68adc6f84893e1ad8032b6be1e3f1e6e", kill_on_drop: false }`
[INFO] [stdout] 768de77bee901c3ec0f0b358a19cff3e68adc6f84893e1ad8032b6be1e3f1e6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8de5c4143d7a6499498e640a4e81a8c80a9569b56194bf84ab0acf6126af31d
[INFO] running `Command { std: "docker" "start" "-a" "a8de5c4143d7a6499498e640a4e81a8c80a9569b56194bf84ab0acf6126af31d", kill_on_drop: false }`
[INFO] [stderr]    Compiling battleship v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `INFINITY`, `NEG_INFINITY`
[INFO] [stdout]  --> src/main.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f32::{consts::PI, INFINITY, NEG_INFINITY};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/main.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let distance = ((bullet.x - collision_x).powf(2.0) + (bullet.y - collision_y).powf(2.0)).sqrt();
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `z`, `horizontal_velocity`, and `vertical_velocity` are never read
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BulletMovement {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     z: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 27 |     direction: f32,
[INFO] [stdout] 28 |     horizontal_velocity: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     vertical_velocity: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct BattleshipMovement {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     width: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     height: f32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_frontend_collision` is never used
[INFO] [stdout]    --> src/main.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn detect_frontend_collision(bullet: BulletMovement, battleship: BattleshipMovement) -> Option<(f32, f32, f32)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HitIntoShip` is never constructed
[INFO] [stdout]   --> src/projectile.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum BrustType {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 14 |     HitIntoWater,
[INFO] [stdout] 15 |     HitIntoShip,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BrustType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `typ` is never read
[INFO] [stdout]   --> src/projectile.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct BrustEvent {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 20 |     typ: BrustType,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BrustEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.82s
[INFO] running `Command { std: "docker" "inspect" "a8de5c4143d7a6499498e640a4e81a8c80a9569b56194bf84ab0acf6126af31d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8de5c4143d7a6499498e640a4e81a8c80a9569b56194bf84ab0acf6126af31d", kill_on_drop: false }`
[INFO] [stdout] a8de5c4143d7a6499498e640a4e81a8c80a9569b56194bf84ab0acf6126af31d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ea934358115959fc1fbf5a05c8e05e6d4901e7b419b152628f193f98bf581217
[INFO] running `Command { std: "docker" "start" "-a" "ea934358115959fc1fbf5a05c8e05e6d4901e7b419b152628f193f98bf581217", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `INFINITY`, `NEG_INFINITY`
[INFO] [stderr]  --> src/main.rs:7:28
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::f32::{consts::PI, INFINITY, NEG_INFINITY};
[INFO] [stderr]   |                            ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `distance`
[INFO] [stderr]    --> src/main.rs:161:9
[INFO] [stderr]     |
[INFO] [stderr] 161 |     let distance = ((bullet.x - collision_x).powf(2.0) + (bullet.y - collision_y).powf(2.0)).sqrt();
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `z`, `horizontal_velocity`, and `vertical_velocity` are never read
[INFO] [stderr]   --> src/main.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct BulletMovement {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 26 |     z: f32,
[INFO] [stderr]    |     ^
[INFO] [stderr] 27 |     direction: f32,
[INFO] [stderr] 28 |     horizontal_velocity: f32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 29 |     vertical_velocity: f32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `width` and `height` are never read
[INFO] [stderr]   --> src/main.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct BattleshipMovement {
[INFO] [stderr]    |            ------------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 38 |     width: f32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 39 |     height: f32,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `detect_frontend_collision` is never used
[INFO] [stderr]    --> src/main.rs:153:4
[INFO] [stderr]     |
[INFO] [stderr] 153 | fn detect_frontend_collision(bullet: BulletMovement, battleship: BattleshipMovement) -> Option<(f32, f32, f32)> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `HitIntoShip` is never constructed
[INFO] [stderr]   --> src/projectile.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub enum BrustType {
[INFO] [stderr]    |          --------- variant in this enum
[INFO] [stderr] 14 |     HitIntoWater,
[INFO] [stderr] 15 |     HitIntoShip,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BrustType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `typ` is never read
[INFO] [stderr]   --> src/projectile.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct BrustEvent {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] 20 |     typ: BrustType,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BrustEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `battleship` (bin "battleship" test) generated 7 warnings (run `cargo fix --bin "battleship" --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/battleship-ce09e8dfbab4c57f)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test::test_detect_collision_horizontal ... ok
[INFO] [stdout] test test::test_detect_collision ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ea934358115959fc1fbf5a05c8e05e6d4901e7b419b152628f193f98bf581217", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea934358115959fc1fbf5a05c8e05e6d4901e7b419b152628f193f98bf581217", kill_on_drop: false }`
[INFO] [stdout] ea934358115959fc1fbf5a05c8e05e6d4901e7b419b152628f193f98bf581217
