[INFO] cloning repository https://github.com/nilsmartel/ai-race [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilsmartel/ai-race" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fai-race", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fai-race'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ceeb935936bffbce2149e4cf878ee62be0472eb6 [INFO] checking nilsmartel/ai-race against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fai-race" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nilsmartel/ai-race [INFO] finished tweaking git repo https://github.com/nilsmartel/ai-race [INFO] tweaked toml for git repo https://github.com/nilsmartel/ai-race written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nilsmartel/ai-race on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nilsmartel/ai-race 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e8b62fbe004abc30bb8efa8be960c2e5405bcad93ca8ae34f5a12d702bdb7ed [INFO] running `Command { std: "docker" "start" "-a" "8e8b62fbe004abc30bb8efa8be960c2e5405bcad93ca8ae34f5a12d702bdb7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e8b62fbe004abc30bb8efa8be960c2e5405bcad93ca8ae34f5a12d702bdb7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8b62fbe004abc30bb8efa8be960c2e5405bcad93ca8ae34f5a12d702bdb7ed", kill_on_drop: false }` [INFO] [stdout] 8e8b62fbe004abc30bb8efa8be960c2e5405bcad93ca8ae34f5a12d702bdb7ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fbcf36721c0225ffafbe9ebdb1696144cdca47eb71098328736b929c7ae215e [INFO] running `Command { std: "docker" "start" "-a" "3fbcf36721c0225ffafbe9ebdb1696144cdca47eb71098328736b929c7ae215e", kill_on_drop: false }` [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking wide v0.5.5 [INFO] [stderr] Checking ultraviolet v0.7.5 [INFO] [stderr] Checking ai-race v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PI: f32 = 3.141592653589; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sensor_rotations` and `state` are never used [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | fn sensor_rotations() -> [f32; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn state(&self) -> [f32; 5] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `transform`, and `edges` are never used [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(verts: Vec, edges: Vec<(usize, usize)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn transform(mut self, pos: Vec2, rot: f32) -> Model { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn edges(&self) -> Vec<(Vec2, Vec2)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_on_y_axis` is never used [INFO] [stdout] --> src/model.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn distance_on_y_axis(line: (Vec2, Vec2)) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PI: f32 = 3.141592653589; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sensor_rotations` and `state` are never used [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | fn sensor_rotations() -> [f32; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn state(&self) -> [f32; 5] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `transform`, and `edges` are never used [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(verts: Vec, edges: Vec<(usize, usize)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn transform(mut self, pos: Vec2, rot: f32) -> Model { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn edges(&self) -> Vec<(Vec2, Vec2)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_on_y_axis` is never used [INFO] [stdout] --> src/model.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn distance_on_y_axis(line: (Vec2, Vec2)) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "3fbcf36721c0225ffafbe9ebdb1696144cdca47eb71098328736b929c7ae215e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fbcf36721c0225ffafbe9ebdb1696144cdca47eb71098328736b929c7ae215e", kill_on_drop: false }` [INFO] [stdout] 3fbcf36721c0225ffafbe9ebdb1696144cdca47eb71098328736b929c7ae215e