[INFO] cloning repository https://github.com/olegbom/triangle_segments_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olegbom/triangle_segments_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegbom%2Ftriangle_segments_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegbom%2Ftriangle_segments_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1b9eb021105d97e00d5da2c07acb4cb2c29c991 [INFO] checking olegbom/triangle_segments_demo against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegbom%2Ftriangle_segments_demo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/olegbom/triangle_segments_demo [INFO] finished tweaking git repo https://github.com/olegbom/triangle_segments_demo [INFO] tweaked toml for git repo https://github.com/olegbom/triangle_segments_demo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/olegbom/triangle_segments_demo on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/olegbom/triangle_segments_demo 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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded miniquad v0.4.5 [INFO] [stderr] Downloaded syn v2.0.73 [INFO] [stderr] Downloaded macroquad v0.4.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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] fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6 [INFO] running `Command { std: "docker" "start" "fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6", 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" "fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6", 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" "fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling miniquad v0.4.5 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking macroquad v0.4.12 [INFO] [stderr] Checking triangle_segments_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SQRT_3` [INFO] [stdout] --> src/main.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use segment_cell::{SegmentCell, SQRT_3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SQRT_3` [INFO] [stdout] --> src/main.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use segment_cell::{SegmentCell, SQRT_3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let mut r_num: u32 = std::u32::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/main.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | if r_num == std::u32::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/segment_cell.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | cell.use_segments(std::u32::MAX); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let mut r_num: u32 = std::u32::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/main.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | if r_num == std::u32::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/segment_cell.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | cell.use_segments(std::u32::MAX); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut scale = 0.38; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut scale = 0.38; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.83s [INFO] running `Command { std: "docker" "inspect" "fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6", kill_on_drop: false }` [INFO] [stdout] fed00da899f42aa40d1664df26519488d211b3313cbd6faad2c4d1bc888234a6