[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#c9228570668803e3e6402770d55f23a12c9ae686 for pr-79472 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCasperN%2Fasteroids" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CasperN/asteroids on toolchain c9228570668803e3e6402770d55f23a12c9ae686 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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: "/workspace/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b153593757c73bdad8d6a14ad60570b727bcae49ca5b6c55dcced6c5d22c8e5a [INFO] running `Command { std: "docker" "start" "-a" "b153593757c73bdad8d6a14ad60570b727bcae49ca5b6c55dcced6c5d22c8e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b153593757c73bdad8d6a14ad60570b727bcae49ca5b6c55dcced6c5d22c8e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b153593757c73bdad8d6a14ad60570b727bcae49ca5b6c55dcced6c5d22c8e5a", kill_on_drop: false }` [INFO] [stdout] b153593757c73bdad8d6a14ad60570b727bcae49ca5b6c55dcced6c5d22c8e5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a02bfedf172a7816b6472287af63aae579f4cfd6e6d945b36372350385f43935 [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" "a02bfedf172a7816b6472287af63aae579f4cfd6e6d945b36372350385f43935", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.5.3 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking asteroids v0.1.0 (/opt/rustwide/workdir) [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:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let row = x.div_euc(X_LEN / NUM_CELLS as f32) as usize; [INFO] [stdout] | ^^^^^^^ method not found in `f32` [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] | ^^^^^^^ 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 `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] | ^^^^^^^ method not found in `f32` [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] | ^^^^^^^ 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: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 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: aborting due to 9 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "a02bfedf172a7816b6472287af63aae579f4cfd6e6d945b36372350385f43935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02bfedf172a7816b6472287af63aae579f4cfd6e6d945b36372350385f43935", kill_on_drop: false }` [INFO] [stdout] a02bfedf172a7816b6472287af63aae579f4cfd6e6d945b36372350385f43935