[INFO] cloning repository https://github.com/kirinokirino/turetel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirinokirino/turetel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Fturetel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Fturetel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e022cb74ec0e66bd12ba1a339fc1b68535caf6b [INFO] checking kirinokirino/turetel against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Fturetel" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kirinokirino/turetel on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kirinokirino/turetel [INFO] finished tweaking git repo https://github.com/kirinokirino/turetel [INFO] tweaked toml for git repo https://github.com/kirinokirino/turetel written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kirinokirino/turetel 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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32090de0f137e94b96841249071aaca7e66b522a3da410c5c4c71907761e6a94 [INFO] running `Command { std: "docker" "start" "-a" "32090de0f137e94b96841249071aaca7e66b522a3da410c5c4c71907761e6a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32090de0f137e94b96841249071aaca7e66b522a3da410c5c4c71907761e6a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32090de0f137e94b96841249071aaca7e66b522a3da410c5c4c71907761e6a94", kill_on_drop: false }` [INFO] [stdout] 32090de0f137e94b96841249071aaca7e66b522a3da410c5c4c71907761e6a94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6643c501babbd11826e74f8d0c9f1b60b0cdf83880a3389ff4e69d8716410d7a [INFO] running `Command { std: "docker" "start" "-a" "6643c501babbd11826e74f8d0c9f1b60b0cdf83880a3389ff4e69d8716410d7a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking glam v0.22.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling x11-dl v2.20.1 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking drawer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/turtle.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if (command.scope() == local_scope) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (command.scope() == local_scope) { [INFO] [stdout] 84 + if command.scope() == local_scope { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/turtle.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if (command.scope() == local_scope) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (command.scope() == local_scope) { [INFO] [stdout] 84 + if command.scope() == local_scope { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/turtle.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | Command::Repeat(scope, times) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/turtle.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | Command::Repeat(scope, times) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/turtle.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | for i in 0..*times { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/turtle.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | for i in 0..*times { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_u8` is never used [INFO] [stdout] --> src/common.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn lerp_u8(start: u8, end: u8, t: f32) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constrain` is never used [INFO] [stdout] --> src/common.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn constrain(this: T, min: T, max: T) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `corners`, `bottom_right`, and `empty` are never used [INFO] [stdout] --> src/geometry.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(pos: Vec2, size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn corners(&self) -> (Vec2, Vec2, Vec2, Vec2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn bottom_right(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn empty(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/geometry.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Size { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn area(self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `interpolation_value`, `project`, and `dotted` are never used [INFO] [stdout] --> src/geometry.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn interpolation_value(&self, point: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn project(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn dotted(&self, step: f32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `empty` is never used [INFO] [stdout] --> src/geometry.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl Triangle { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn empty(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle` is never used [INFO] [stdout] --> src/graphics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn circle(origin: Vec2, radius: f32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line` is never used [INFO] [stdout] --> src/graphics.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn line(from: Vec2, to: Vec2) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_u8` is never used [INFO] [stdout] --> src/common.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn lerp_u8(start: u8, end: u8, t: f32) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constrain` is never used [INFO] [stdout] --> src/common.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn constrain(this: T, min: T, max: T) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `corners`, `bottom_right`, and `empty` are never used [INFO] [stdout] --> src/geometry.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(pos: Vec2, size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn corners(&self) -> (Vec2, Vec2, Vec2, Vec2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn bottom_right(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn empty(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/geometry.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Size { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn area(self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `interpolation_value`, `project`, and `dotted` are never used [INFO] [stdout] --> src/geometry.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn interpolation_value(&self, point: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn project(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn dotted(&self, step: f32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `empty` is never used [INFO] [stdout] --> src/geometry.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl Triangle { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn empty(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle` is never used [INFO] [stdout] --> src/graphics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn circle(origin: Vec2, radius: f32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line` is never used [INFO] [stdout] --> src/graphics.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn line(from: Vec2, to: Vec2) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.71s [INFO] running `Command { std: "docker" "inspect" "6643c501babbd11826e74f8d0c9f1b60b0cdf83880a3389ff4e69d8716410d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6643c501babbd11826e74f8d0c9f1b60b0cdf83880a3389ff4e69d8716410d7a", kill_on_drop: false }` [INFO] [stdout] 6643c501babbd11826e74f8d0c9f1b60b0cdf83880a3389ff4e69d8716410d7a