[INFO] cloning repository https://github.com/Steven-Ireland/Rust-NBody [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Steven-Ireland/Rust-NBody" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteven-Ireland%2FRust-NBody", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteven-Ireland%2FRust-NBody'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16b57a14bdddee1b270a0e6bfc1ca89696bed458 [INFO] testing Steven-Ireland/Rust-NBody against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteven-Ireland%2FRust-NBody" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Steven-Ireland/Rust-NBody on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Steven-Ireland/Rust-NBody [INFO] finished tweaking git repo https://github.com/Steven-Ireland/Rust-NBody [INFO] tweaked toml for git repo https://github.com/Steven-Ireland/Rust-NBody written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Steven-Ireland/Rust-NBody already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 470281a6f341f8cc738fef195b4677878ecb188a54ea3fe5a451d3581d710093 [INFO] running `Command { std: "docker" "start" "-a" "470281a6f341f8cc738fef195b4677878ecb188a54ea3fe5a451d3581d710093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "470281a6f341f8cc738fef195b4677878ecb188a54ea3fe5a451d3581d710093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470281a6f341f8cc738fef195b4677878ecb188a54ea3fe5a451d3581d710093", kill_on_drop: false }` [INFO] [stdout] 470281a6f341f8cc738fef195b4677878ecb188a54ea3fe5a451d3581d710093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fdca19e945c28e328cd87416c0a952913d351d15837b2283fea3f5798a1cd09 [INFO] running `Command { std: "docker" "start" "-a" "0fdca19e945c28e328cd87416c0a952913d351d15837b2283fea3f5798a1cd09", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling nanovg-sys v1.0.2 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling glutin v0.13.1 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling nanovg v1.0.2 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.11.3 [INFO] [stderr] Compiling nbody v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `G` [INFO] [stdout] --> src/world/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const G: f64 = 1.0; // wrong, just hacking this in for now. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ORIGIN` [INFO] [stdout] --> src/world/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ORIGIN: Point = Point { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RESTING` [INFO] [stdout] --> src/world/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const RESTING: Vector = Vector { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Force` [INFO] [stdout] --> src/world/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Force<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_gravitational_force` [INFO] [stdout] --> src/world/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_gravitational_force (body1: Body, body2: Body) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_angle` [INFO] [stdout] --> src/world/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_angle (point1: Point, point2: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_bodies` [INFO] [stdout] --> src/world/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn update_bodies(bodies: Vec, time_step: f64) -> Vec { [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 12.05s [INFO] running `Command { std: "docker" "inspect" "0fdca19e945c28e328cd87416c0a952913d351d15837b2283fea3f5798a1cd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fdca19e945c28e328cd87416c0a952913d351d15837b2283fea3f5798a1cd09", kill_on_drop: false }` [INFO] [stdout] 0fdca19e945c28e328cd87416c0a952913d351d15837b2283fea3f5798a1cd09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb4cd9001da6d884db8cb6835868c75e0e5828f39c4fd8af4038590223fdf45 [INFO] running `Command { std: "docker" "start" "-a" "7eb4cd9001da6d884db8cb6835868c75e0e5828f39c4fd8af4038590223fdf45", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `G` [INFO] [stdout] --> src/world/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const G: f64 = 1.0; // wrong, just hacking this in for now. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ORIGIN` [INFO] [stdout] --> src/world/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ORIGIN: Point = Point { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RESTING` [INFO] [stdout] --> src/world/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const RESTING: Vector = Vector { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Force` [INFO] [stdout] --> src/world/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Force<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_gravitational_force` [INFO] [stdout] --> src/world/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_gravitational_force (body1: Body, body2: Body) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_angle` [INFO] [stdout] --> src/world/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_angle (point1: Point, point2: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_bodies` [INFO] [stdout] --> src/world/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn update_bodies(bodies: Vec, time_step: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nbody v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | bodies = world::update_bodies(bodies); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/world/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn update_bodies(bodies: Vec, time_step: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------- -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nbody` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7eb4cd9001da6d884db8cb6835868c75e0e5828f39c4fd8af4038590223fdf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb4cd9001da6d884db8cb6835868c75e0e5828f39c4fd8af4038590223fdf45", kill_on_drop: false }` [INFO] [stdout] 7eb4cd9001da6d884db8cb6835868c75e0e5828f39c4fd8af4038590223fdf45