[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fai-race" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilsmartel/ai-race on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/nilsmartel/ai-race already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e81878b70e74a52da61fb22cacd26a6a80fc9689c7776a56f95a1acec0572431 [INFO] running `Command { std: "docker" "start" "-a" "e81878b70e74a52da61fb22cacd26a6a80fc9689c7776a56f95a1acec0572431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e81878b70e74a52da61fb22cacd26a6a80fc9689c7776a56f95a1acec0572431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81878b70e74a52da61fb22cacd26a6a80fc9689c7776a56f95a1acec0572431", kill_on_drop: false }` [INFO] [stdout] e81878b70e74a52da61fb22cacd26a6a80fc9689c7776a56f95a1acec0572431 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f0c06c7beb895824b3baa6ffa6c2d70aa9d6d1ddf6e604436519f3943c93cb7f [INFO] running `Command { std: "docker" "start" "-a" "f0c06c7beb895824b3baa6ffa6c2d70aa9d6d1ddf6e604436519f3943c93cb7f", kill_on_drop: false }` [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: associated function is never used: `new` [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(verts: Vec, edges: Vec<(usize, usize)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn transform(mut self, pos: Vec2, rot: f32) -> Model { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `edges` [INFO] [stdout] --> src/model.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn edges(&self) -> Vec<(Vec2, Vec2)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `distance_on_y_axis` [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 is never used: `PI` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const PI: f32 = 3.141592653589; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Car` [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sensor_rotations` [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn sensor_rotations() -> [f32; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `state` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn state(&self) -> [f32; 5] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(verts: Vec, edges: Vec<(usize, usize)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn transform(mut self, pos: Vec2, rot: f32) -> Model { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `edges` [INFO] [stdout] --> src/model.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn edges(&self) -> Vec<(Vec2, Vec2)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `distance_on_y_axis` [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 is never used: `PI` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const PI: f32 = 3.141592653589; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Car` [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sensor_rotations` [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn sensor_rotations() -> [f32; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `state` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn state(&self) -> [f32; 5] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "f0c06c7beb895824b3baa6ffa6c2d70aa9d6d1ddf6e604436519f3943c93cb7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c06c7beb895824b3baa6ffa6c2d70aa9d6d1ddf6e604436519f3943c93cb7f", kill_on_drop: false }` [INFO] [stdout] f0c06c7beb895824b3baa6ffa6c2d70aa9d6d1ddf6e604436519f3943c93cb7f