[INFO] cloning repository https://github.com/BadKiko/rust-base-planner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BadKiko/rust-base-planner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadKiko%2Frust-base-planner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadKiko%2Frust-base-planner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4904ae78b796d2971b1212976e33f0e1add11be [INFO] checking BadKiko/rust-base-planner against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadKiko%2Frust-base-planner" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 81% (686/841) Updating files: 82% (690/841) Updating files: 83% (699/841) Updating files: 84% (707/841) Updating files: 85% (715/841) Updating files: 86% (724/841) Updating files: 87% (732/841) Updating files: 88% (741/841) Updating files: 89% (749/841) Updating files: 90% (757/841) Updating files: 91% (766/841) Updating files: 92% (774/841) Updating files: 93% (783/841) Updating files: 94% (791/841) Updating files: 95% (799/841) Updating files: 96% (808/841) Updating files: 97% (816/841) Updating files: 97% (819/841) Updating files: 98% (825/841) Updating files: 99% (833/841) Updating files: 100% (841/841) Updating files: 100% (841/841), done. [INFO] started tweaking git repo https://github.com/BadKiko/rust-base-planner [INFO] finished tweaking git repo https://github.com/BadKiko/rust-base-planner [INFO] tweaked toml for git repo https://github.com/BadKiko/rust-base-planner written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BadKiko/rust-base-planner on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BadKiko/rust-base-planner 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690 [INFO] running `Command { std: "docker" "start" "b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling miniquad v0.3.16 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking macroquad v0.3.26 [INFO] [stderr] Checking rust_base_planner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `p3` [INFO] [stdout] --> src/building.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let p3 = self.position + offset2 + Vec3::Y * top_y; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p4` [INFO] [stdout] --> src/building.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let p4 = self.position + offset + Vec3::Y * top_y; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ground_intersection` is never used [INFO] [stdout] --> src/camera.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CameraController { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_ground_intersection(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `floor` is never read [INFO] [stdout] --> src/building.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Wall { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pub floor: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_corners` is never used [INFO] [stdout] --> src/building.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Wall { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_corners(&self) -> (Vec3, Vec3, Vec3, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation` and `floor` are never read [INFO] [stdout] --> src/building.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct Deployable { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub rotation: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 140 | pub hp: i32, [INFO] [stdout] 141 | pub floor: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deployable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `macroquad::color::Color` [INFO] [stdout] --> src/render.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | MVertex { position: p1, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 18 - MVertex { position: p1, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 18 + MVertex { position: p1, uv: Vec2::ZERO, color: color }, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 18 - MVertex { position: p1, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 18 + MVertex { position: p1, uv: Vec2::ZERO, color: >::into(color) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `macroquad::color::Color` [INFO] [stdout] --> src/render.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | MVertex { position: p2, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 19 - MVertex { position: p2, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 19 + MVertex { position: p2, uv: Vec2::ZERO, color: color }, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 19 - MVertex { position: p2, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 19 + MVertex { position: p2, uv: Vec2::ZERO, color: >::into(color) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `macroquad::color::Color` [INFO] [stdout] --> src/render.rs:20:60 [INFO] [stdout] | [INFO] [stdout] 20 | MVertex { position: p3, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 20 - MVertex { position: p3, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 20 + MVertex { position: p3, uv: Vec2::ZERO, color: color }, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 20 - MVertex { position: p3, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 20 + MVertex { position: p3, uv: Vec2::ZERO, color: >::into(color) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p3` [INFO] [stdout] --> src/building.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let p3 = self.position + offset2 + Vec3::Y * top_y; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p4` [INFO] [stdout] --> src/building.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let p4 = self.position + offset + Vec3::Y * top_y; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p4` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_base_planner` (bin "rust_base_planner") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `get_ground_intersection` is never used [INFO] [stdout] --> src/camera.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CameraController { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_ground_intersection(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `floor` is never read [INFO] [stdout] --> src/building.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Wall { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pub floor: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_corners` is never used [INFO] [stdout] --> src/building.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Wall { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_corners(&self) -> (Vec3, Vec3, Vec3, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation` and `floor` are never read [INFO] [stdout] --> src/building.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct Deployable { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub rotation: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 140 | pub hp: i32, [INFO] [stdout] 141 | pub floor: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deployable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `macroquad::color::Color` [INFO] [stdout] --> src/render.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | MVertex { position: p1, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 18 - MVertex { position: p1, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 18 + MVertex { position: p1, uv: Vec2::ZERO, color: color }, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 18 - MVertex { position: p1, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 18 + MVertex { position: p1, uv: Vec2::ZERO, color: >::into(color) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `macroquad::color::Color` [INFO] [stdout] --> src/render.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | MVertex { position: p2, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 19 - MVertex { position: p2, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 19 + MVertex { position: p2, uv: Vec2::ZERO, color: color }, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 19 - MVertex { position: p2, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 19 + MVertex { position: p2, uv: Vec2::ZERO, color: >::into(color) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `macroquad::color::Color` [INFO] [stdout] --> src/render.rs:20:60 [INFO] [stdout] | [INFO] [stdout] 20 | MVertex { position: p3, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 20 - MVertex { position: p3, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 20 + MVertex { position: p3, uv: Vec2::ZERO, color: color }, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 20 - MVertex { position: p3, uv: Vec2::ZERO, color: color.into() }, [INFO] [stdout] 20 + MVertex { position: p3, uv: Vec2::ZERO, color: >::into(color) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_base_planner` (bin "rust_base_planner" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690", kill_on_drop: false }` [INFO] [stdout] b1159f66a1a53cc59e824a2cc03e0255de1ba3e2c522a25fd161f71586878690