[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] building kirinokirino/turetel against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Fturetel" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kirinokirino/turetel on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8213de40db611defe899d099a703c9a3bb46d3a8b32f0cb149eb3e55c23d500c [INFO] running `Command { std: "docker" "start" "-a" "8213de40db611defe899d099a703c9a3bb46d3a8b32f0cb149eb3e55c23d500c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8213de40db611defe899d099a703c9a3bb46d3a8b32f0cb149eb3e55c23d500c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8213de40db611defe899d099a703c9a3bb46d3a8b32f0cb149eb3e55c23d500c", kill_on_drop: false }` [INFO] [stdout] 8213de40db611defe899d099a703c9a3bb46d3a8b32f0cb149eb3e55c23d500c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c72b405ef2f6813e20de9cebcbc07567592791fef2082e97d82604d43437829 [INFO] running `Command { std: "docker" "start" "-a" "4c72b405ef2f6813e20de9cebcbc07567592791fef2082e97d82604d43437829", 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] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling glam v0.22.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling x11-dl v2.20.1 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling 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: 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: 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 17.53s [INFO] running `Command { std: "docker" "inspect" "4c72b405ef2f6813e20de9cebcbc07567592791fef2082e97d82604d43437829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c72b405ef2f6813e20de9cebcbc07567592791fef2082e97d82604d43437829", kill_on_drop: false }` [INFO] [stdout] 4c72b405ef2f6813e20de9cebcbc07567592791fef2082e97d82604d43437829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b59815d8ed918956070def2a06426be4fc3691b70582fab49614b639f672bb18 [INFO] running `Command { std: "docker" "start" "-a" "b59815d8ed918956070def2a06426be4fc3691b70582fab49614b639f672bb18", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "b59815d8ed918956070def2a06426be4fc3691b70582fab49614b639f672bb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59815d8ed918956070def2a06426be4fc3691b70582fab49614b639f672bb18", kill_on_drop: false }` [INFO] [stdout] b59815d8ed918956070def2a06426be4fc3691b70582fab49614b639f672bb18