[INFO] cloning repository https://github.com/CasperN/asteroids [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CasperN/asteroids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCasperN%2Fasteroids", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCasperN%2Fasteroids'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e959c986a7be37f8408e27d5d551e507efac5817 [INFO] checking CasperN/asteroids against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCasperN%2Fasteroids" "/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/CasperN/asteroids on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CasperN/asteroids [INFO] finished tweaking git repo https://github.com/CasperN/asteroids [INFO] tweaked toml for git repo https://github.com/CasperN/asteroids written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CasperN/asteroids 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded rand v0.5.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e00e3187151944bce57a67178eeb295a454c71fffddd0e0cb8e7c2e0b274cfe4 [INFO] running `Command { std: "docker" "start" "-a" "e00e3187151944bce57a67178eeb295a454c71fffddd0e0cb8e7c2e0b274cfe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e00e3187151944bce57a67178eeb295a454c71fffddd0e0cb8e7c2e0b274cfe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00e3187151944bce57a67178eeb295a454c71fffddd0e0cb8e7c2e0b274cfe4", kill_on_drop: false }` [INFO] [stdout] e00e3187151944bce57a67178eeb295a454c71fffddd0e0cb8e7c2e0b274cfe4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bb95cf582d5771c0131ec3b013873e5cb18944e67e0c2571d39f4e48da294ef [INFO] running `Command { std: "docker" "start" "-a" "0bb95cf582d5771c0131ec3b013873e5cb18944e67e0c2571d39f4e48da294ef", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.5.3 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking asteroids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_modrs_mods` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(non_modrs_mods)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `euclidean_division` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(euclidean_division)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_modrs_mods` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(non_modrs_mods)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `euclidean_division` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(euclidean_division)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `div_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/collision.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let row = x.div_euc(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `div_euclid` with a similar name [INFO] [stdout] | [INFO] [stdout] 88 | let row = x.div_euclid(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `div_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/collision.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let row = x.div_euc(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `div_euclid` with a similar name [INFO] [stdout] | [INFO] [stdout] 88 | let row = x.div_euclid(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `div_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/collision.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let col = y.div_euc(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `div_euclid` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 | let col = y.div_euclid(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_collisions` in this scope [INFO] [stdout] --> src/collision.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | assert!(find_collisions(&ids(), &mut outlines).len() == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_collisions` in this scope [INFO] [stdout] --> src/collision.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | assert!(find_collisions(&ids(), &mut outlines).len() == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_collisions` in this scope [INFO] [stdout] --> src/collision.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | assert!(find_collisions(&ids(), &mut outlines).len() == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_collisions` in this scope [INFO] [stdout] --> src/collision.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | assert!(find_collisions(&ids(), &mut outlines).len() == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `div_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/collision.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let col = y.div_euc(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `div_euclid` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 | let col = y.div_euclid(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mod_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/component/momentum.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | self.theta = self.theta.mod_euc(2.0 * PI); [INFO] [stdout] | ^^^^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mod_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/component/momentum.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | self.theta = self.theta.mod_euc(2.0 * PI); [INFO] [stdout] | ^^^^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mod_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/vector_2d.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | V2(self.0.mod_euc(xmod), self.1.mod_euc(ymod)) [INFO] [stdout] | ^^^^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mod_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/vector_2d.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | V2(self.0.mod_euc(xmod), self.1.mod_euc(ymod)) [INFO] [stdout] | ^^^^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mod_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/vector_2d.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | V2(self.0.mod_euc(xmod), self.1.mod_euc(ymod)) [INFO] [stdout] | ^^^^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mod_euc` found for type `f32` in the current scope [INFO] [stdout] --> src/vector_2d.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | V2(self.0.mod_euc(xmod), self.1.mod_euc(ymod)) [INFO] [stdout] | ^^^^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asteroids` (bin "asteroids") due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asteroids` (bin "asteroids" test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0bb95cf582d5771c0131ec3b013873e5cb18944e67e0c2571d39f4e48da294ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bb95cf582d5771c0131ec3b013873e5cb18944e67e0c2571d39f4e48da294ef", kill_on_drop: false }` [INFO] [stdout] 0bb95cf582d5771c0131ec3b013873e5cb18944e67e0c2571d39f4e48da294ef