[INFO] cloning repository https://github.com/sheeshDotExe/RUST-PARTICLES [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sheeshDotExe/RUST-PARTICLES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsheeshDotExe%2FRUST-PARTICLES", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsheeshDotExe%2FRUST-PARTICLES'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7212040c5900b30fbf65f79097a0224aa4769d34 [INFO] building sheeshDotExe/RUST-PARTICLES 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%2FsheeshDotExe%2FRUST-PARTICLES" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sheeshDotExe/RUST-PARTICLES 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/sheeshDotExe/RUST-PARTICLES [INFO] finished tweaking git repo https://github.com/sheeshDotExe/RUST-PARTICLES [INFO] tweaked toml for git repo https://github.com/sheeshDotExe/RUST-PARTICLES written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sheeshDotExe/RUST-PARTICLES 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded throw v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 55154f551ea3ec6c264d44b616f29dfb7d75b0533964c39eae4294f6ae1e0c02 [INFO] running `Command { std: "docker" "start" "-a" "55154f551ea3ec6c264d44b616f29dfb7d75b0533964c39eae4294f6ae1e0c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55154f551ea3ec6c264d44b616f29dfb7d75b0533964c39eae4294f6ae1e0c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55154f551ea3ec6c264d44b616f29dfb7d75b0533964c39eae4294f6ae1e0c02", kill_on_drop: false }` [INFO] [stdout] 55154f551ea3ec6c264d44b616f29dfb7d75b0533964c39eae4294f6ae1e0c02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5c0dc33d8db699486f0dd1053bd395f623de7796399f0e1751bd746646e52912 [INFO] running `Command { std: "docker" "start" "-a" "5c0dc33d8db699486f0dd1053bd395f623de7796399f0e1751bd746646e52912", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling throw v0.1.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling rstar v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling particles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Error` [INFO] [stdout] --> src/game/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/game/game.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::ThreadRng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rstar::primitives::Rectangle` [INFO] [stdout] --> src/game/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rstar::primitives::Rectangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rstar::RTree` [INFO] [stdout] --> src/game/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rstar::RTree; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/game/game.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/game/game.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::render::{Canvas, WindowCanvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::surface::Surface` [INFO] [stdout] --> src/game/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2::surface::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/game/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/game/game.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/game/game.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn game_init(number_of_particles: usize, rng: &mut ThreadRng) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/game/game.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | fn do_game_tick(game_state: &mut GameState, rng: &mut ThreadRng) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `radius` is never used [INFO] [stdout] --> src/game/game.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const radius: f64 = 50.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/game/game.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PI: f64 = 3.14159265358979323846264338327950288f64; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_on_circle` is never used [INFO] [stdout] --> src/game/game.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn point_on_circle(k: f64, n: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `radius` should have an upper case name [INFO] [stdout] --> src/game/game.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const radius: f64 = 50.0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RADIUS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.55s [INFO] running `Command { std: "docker" "inspect" "5c0dc33d8db699486f0dd1053bd395f623de7796399f0e1751bd746646e52912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c0dc33d8db699486f0dd1053bd395f623de7796399f0e1751bd746646e52912", kill_on_drop: false }` [INFO] [stdout] 5c0dc33d8db699486f0dd1053bd395f623de7796399f0e1751bd746646e52912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 82646b4b5dd36afff1ad06ccdd557160d7c3e7a7745e8504de4ebd76f6e7713a [INFO] running `Command { std: "docker" "start" "-a" "82646b4b5dd36afff1ad06ccdd557160d7c3e7a7745e8504de4ebd76f6e7713a", kill_on_drop: false }` [INFO] [stderr] Compiling particles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Error` [INFO] [stdout] --> src/game/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/game/game.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::ThreadRng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rstar::primitives::Rectangle` [INFO] [stdout] --> src/game/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rstar::primitives::Rectangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rstar::RTree` [INFO] [stdout] --> src/game/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rstar::RTree; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/game/game.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/game/game.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::render::{Canvas, WindowCanvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::surface::Surface` [INFO] [stdout] --> src/game/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2::surface::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/game/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/game/game.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/game/game.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn game_init(number_of_particles: usize, rng: &mut ThreadRng) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/game/game.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | fn do_game_tick(game_state: &mut GameState, rng: &mut ThreadRng) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `radius` is never used [INFO] [stdout] --> src/game/game.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const radius: f64 = 50.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/game/game.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PI: f64 = 3.14159265358979323846264338327950288f64; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_on_circle` is never used [INFO] [stdout] --> src/game/game.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn point_on_circle(k: f64, n: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `radius` should have an upper case name [INFO] [stdout] --> src/game/game.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const radius: f64 = 50.0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RADIUS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "82646b4b5dd36afff1ad06ccdd557160d7c3e7a7745e8504de4ebd76f6e7713a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82646b4b5dd36afff1ad06ccdd557160d7c3e7a7745e8504de4ebd76f6e7713a", kill_on_drop: false }` [INFO] [stdout] 82646b4b5dd36afff1ad06ccdd557160d7c3e7a7745e8504de4ebd76f6e7713a