[INFO] cloning repository https://github.com/brhoades/rusty-planets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brhoades/rusty-planets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-planets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-planets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c209e4a578fdb5a28eef1e77b67dcfc466b0afe [INFO] building brhoades/rusty-planets against master#f3126500f25114ba4e0ac3e76694dd45a22de56d for pr-107620-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-planets" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brhoades/rusty-planets on toolchain f3126500f25114ba4e0ac3e76694dd45a22de56d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brhoades/rusty-planets [INFO] finished tweaking git repo https://github.com/brhoades/rusty-planets [INFO] tweaked toml for git repo https://github.com/brhoades/rusty-planets written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brhoades/rusty-planets 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" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.19.0 [INFO] [stderr] Downloaded cc v1.0.49 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.61.0 [INFO] [stderr] Downloaded piston_window v0.98.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23f298a41584344ba17127d050116e8ca850a22f1dc636ba51e85df1f426bef3 [INFO] running `Command { std: "docker" "start" "-a" "23f298a41584344ba17127d050116e8ca850a22f1dc636ba51e85df1f426bef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23f298a41584344ba17127d050116e8ca850a22f1dc636ba51e85df1f426bef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f298a41584344ba17127d050116e8ca850a22f1dc636ba51e85df1f426bef3", kill_on_drop: false }` [INFO] [stdout] 23f298a41584344ba17127d050116e8ca850a22f1dc636ba51e85df1f426bef3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df372150a0f79ac775ed09951b75375a99c96443b74a103243c403ef1860082d [INFO] running `Command { std: "docker" "start" "-a" "df372150a0f79ac775ed09951b75375a99c96443b74a103243c403ef1860082d", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling piston2d-graphics v0.32.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling piston-gfx_texture v0.36.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.61.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling pistoncore-window v0.43.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.48.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.61.0 [INFO] [stderr] Compiling piston v0.48.0 [INFO] [stderr] Compiling piston_window v0.98.0 [INFO] [stderr] Compiling rusty-planets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bodies.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Planet`, `Star` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use bodies::{World,Planet,Star}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut world = World{entities: vec!()}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | window.draw_2d(&event, |context, graphics, _device| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut world = World{entities: vec!()}; [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: field `velocity` is never read [INFO] [stdout] --> src/bodies.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Planet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bodies.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bodies.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(window_size: Size) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.67s [INFO] running `Command { std: "docker" "inspect" "df372150a0f79ac775ed09951b75375a99c96443b74a103243c403ef1860082d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df372150a0f79ac775ed09951b75375a99c96443b74a103243c403ef1860082d", kill_on_drop: false }` [INFO] [stdout] df372150a0f79ac775ed09951b75375a99c96443b74a103243c403ef1860082d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4d3ffab01486551fcaf5236dec18bfcf1fe25758c490eb905529b22c4d61c1e [INFO] running `Command { std: "docker" "start" "-a" "b4d3ffab01486551fcaf5236dec18bfcf1fe25758c490eb905529b22c4d61c1e", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-planets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bodies.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Planet`, `Star` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use bodies::{World,Planet,Star}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut world = World{entities: vec!()}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | window.draw_2d(&event, |context, graphics, _device| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut world = World{entities: vec!()}; [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: field `velocity` is never read [INFO] [stdout] --> src/bodies.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Planet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bodies.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bodies.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(window_size: Size) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "b4d3ffab01486551fcaf5236dec18bfcf1fe25758c490eb905529b22c4d61c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d3ffab01486551fcaf5236dec18bfcf1fe25758c490eb905529b22c4d61c1e", kill_on_drop: false }` [INFO] [stdout] b4d3ffab01486551fcaf5236dec18bfcf1fe25758c490eb905529b22c4d61c1e