[INFO] cloning repository https://github.com/hcoffey1/perlin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hcoffey1/perlin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhcoffey1%2Fperlin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhcoffey1%2Fperlin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b812018408ae6943d06dd00b8c251de6d70fe539
[INFO] checking hcoffey1/perlin against master#4008bbdf34b583ce44a467043aae3703afc0a76f for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhcoffey1%2Fperlin" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hcoffey1/perlin
[INFO] finished tweaking git repo https://github.com/hcoffey1/perlin
[INFO] tweaked toml for git repo https://github.com/hcoffey1/perlin written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hcoffey1/perlin on toolchain 4008bbdf34b583ce44a467043aae3703afc0a76f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hcoffey1/perlin 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" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded version-compare v0.1.0
[INFO] [stderr]   Downloaded sdl2 v0.35.2
[INFO] [stderr]   Downloaded getrandom v0.2.6
[INFO] [stderr]   Downloaded perlin_noise v1.0.1
[INFO] [stderr]   Downloaded libc v0.2.125
[INFO] [stderr]   Downloaded sdl2-sys v0.35.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c
[INFO] running `Command { std: "docker" "start" "bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c", 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" "bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c", 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" "bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking perlin_noise v1.0.1
[INFO] [stderr]     Checking perlin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:176:22
[INFO] [stdout]     |
[INFO] [stdout] 176 |         for scale in (1..300) {
[INFO] [stdout]     |                      ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 176 -         for scale in (1..300) {
[INFO] [stdout] 176 +         for scale in 1..300 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:176:22
[INFO] [stdout]     |
[INFO] [stdout] 176 |         for scale in (1..300) {
[INFO] [stdout]     |                      ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 176 -         for scale in (1..300) {
[INFO] [stdout] 176 +         for scale in 1..300 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let z = 10;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let x = ((center_vec[distance_vec[0].1].pos.0 - i).abs() as f64) * 0.02;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let y = ((center_vec[distance_vec[0].1].pos.1 - j).abs() as f64) * 0.02;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_canvas_moving` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn update_canvas_moving(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_2d_rgb` is never used
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn get_2d_rgb(distance_vec: &[(f64, usize)], perlin: &PerlinNoise) -> (u8, u8, u8) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_1d_rgb` is never used
[INFO] [stdout]   --> src/main.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn get_1d_rgb(distance_vec: &[(f64, usize)], perlin: &PerlinNoise) -> (u8, u8, u8) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `distance` is never used
[INFO] [stdout]   --> src/main.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn distance(point: &(i32, i32), center: &(i32, i32)) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_distances` is never used
[INFO] [stdout]   --> src/main.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn get_distances(point: (i32, i32), centers: &[Center]) -> Vec<(f64, usize)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Center` is never constructed
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct Center {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `step` and `new` are never used
[INFO] [stdout]    --> src/main.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Center {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  92 |     pub fn step(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn new(center: (i32, i32), velocity: (i32, i32), canvas_shape: (i32, i32)) -> Center {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_moving_points` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn render_moving_points(canvas: &mut sdl2::render::Canvas<Window>, sdl_context: &sdl2::Sdl) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let z = 10;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let x = ((center_vec[distance_vec[0].1].pos.0 - i).abs() as f64) * 0.02;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let y = ((center_vec[distance_vec[0].1].pos.1 - j).abs() as f64) * 0.02;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_canvas_moving` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn update_canvas_moving(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_2d_rgb` is never used
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn get_2d_rgb(distance_vec: &[(f64, usize)], perlin: &PerlinNoise) -> (u8, u8, u8) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_1d_rgb` is never used
[INFO] [stdout]   --> src/main.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn get_1d_rgb(distance_vec: &[(f64, usize)], perlin: &PerlinNoise) -> (u8, u8, u8) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `distance` is never used
[INFO] [stdout]   --> src/main.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn distance(point: &(i32, i32), center: &(i32, i32)) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_distances` is never used
[INFO] [stdout]   --> src/main.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn get_distances(point: (i32, i32), centers: &[Center]) -> Vec<(f64, usize)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Center` is never constructed
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct Center {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `step` and `new` are never used
[INFO] [stdout]    --> src/main.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Center {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  92 |     pub fn step(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn new(center: (i32, i32), velocity: (i32, i32), canvas_shape: (i32, i32)) -> Center {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_moving_points` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn render_moving_points(canvas: &mut sdl2::render::Canvas<Window>, sdl_context: &sdl2::Sdl) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.10s
[INFO] running `Command { std: "docker" "inspect" "bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c", kill_on_drop: false }`
[INFO] [stdout] bba7f2d3d05b0c123d346ca0017bcb8e5d0a949c8a2cb503df9ee0496253326c
