[INFO] cloning repository https://github.com/elsuizo/RSIS_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elsuizo/RSIS_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felsuizo%2FRSIS_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felsuizo%2FRSIS_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09de29bb086a048b69a0864594265ca12eb8d517 [INFO] checking elsuizo/RSIS_Rust against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felsuizo%2FRSIS_Rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elsuizo/RSIS_Rust on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elsuizo/RSIS_Rust [INFO] finished tweaking git repo https://github.com/elsuizo/RSIS_Rust [INFO] tweaked toml for git repo https://github.com/elsuizo/RSIS_Rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/elsuizo/RSIS_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09f48f2901909336831470af0e942a0d9aef05f67529d806a4eff8fc23253f75 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "09f48f2901909336831470af0e942a0d9aef05f67529d806a4eff8fc23253f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09f48f2901909336831470af0e942a0d9aef05f67529d806a4eff8fc23253f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f48f2901909336831470af0e942a0d9aef05f67529d806a4eff8fc23253f75", kill_on_drop: false }` [INFO] [stdout] 09f48f2901909336831470af0e942a0d9aef05f67529d806a4eff8fc23253f75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0eda4b73e84097cc35a3df4e58cc4c2377baef7f5995004d00829869f221e30 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a0eda4b73e84097cc35a3df4e58cc4c2377baef7f5995004d00829869f221e30", kill_on_drop: false }` [INFO] [stderr] Compiling csfml-system-sys v0.1.0 [INFO] [stderr] Checking sfml-types v0.1.0 [INFO] [stderr] Compiling csfml-window-sys v0.1.1 [INFO] [stderr] Compiling csfml-graphics-sys v0.1.0 [INFO] [stderr] Compiling csfml-network-sys v0.1.0 [INFO] [stderr] Compiling csfml-audio-sys v0.1.0 [INFO] [stderr] Checking sfml v0.11.2 [INFO] [stderr] Checking RSIS_Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RectangleShape` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | RectangleShape, Text}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | use sfml::window::{Key, VideoMode, window_style, event, MouseButton}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RectangleShape` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | RectangleShape, Text}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | use sfml::window::{Key, VideoMode, window_style, event, MouseButton}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let k = side as f32 / 320E+9; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let radius = 20.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let dt = 1E-4; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut counter:i32 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut v = Vector2f::new(1.0, 1.5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut p = Vector2f::new(0.0, 0.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut a = Vector2f::new(0.0, 0.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let k = side as f32 / 320E+9; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let radius = 20.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let dt = 1E-4; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut counter:i32 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut v = Vector2f::new(1.0, 1.5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut p = Vector2f::new(0.0, 0.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut a = Vector2f::new(0.0, 0.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut counter:i32 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut clock_general = Clock::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pixel_to_point` [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn pixel_to_point(bounds: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scale` [INFO] [stdout] --> src/main.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn scale(v: &Vector2f, c: f32) -> Vector2f { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut counter:i32 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut clock_general = Clock::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pixel_to_point` [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn pixel_to_point(bounds: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scale` [INFO] [stdout] --> src/main.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn scale(v: &Vector2f, c: f32) -> Vector2f { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RSIS_Rust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rsis_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RSIS_Rust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rsis_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.26s [INFO] running `Command { std: "docker" "inspect" "a0eda4b73e84097cc35a3df4e58cc4c2377baef7f5995004d00829869f221e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0eda4b73e84097cc35a3df4e58cc4c2377baef7f5995004d00829869f221e30", kill_on_drop: false }` [INFO] [stdout] a0eda4b73e84097cc35a3df4e58cc4c2377baef7f5995004d00829869f221e30