[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCasperN%2Fasteroids" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CasperN/asteroids on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-0/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 572628f4994db010fdce2a1ced5049572fc19b11c4a2d777cdd0c15d7edb57bb [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" "572628f4994db010fdce2a1ced5049572fc19b11c4a2d777cdd0c15d7edb57bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "572628f4994db010fdce2a1ced5049572fc19b11c4a2d777cdd0c15d7edb57bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572628f4994db010fdce2a1ced5049572fc19b11c4a2d777cdd0c15d7edb57bb", kill_on_drop: false }` [INFO] [stdout] 572628f4994db010fdce2a1ced5049572fc19b11c4a2d777cdd0c15d7edb57bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5845871bdcf5e28c4364c6dffc41d8897605f2882668e7f37c8b69e865167bca [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" "5845871bdcf5e28c4364c6dffc41d8897605f2882668e7f37c8b69e865167bca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Checking rand_core v0.2.1 [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] 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" "5845871bdcf5e28c4364c6dffc41d8897605f2882668e7f37c8b69e865167bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5845871bdcf5e28c4364c6dffc41d8897605f2882668e7f37c8b69e865167bca", kill_on_drop: false }` [INFO] [stdout] 5845871bdcf5e28c4364c6dffc41d8897605f2882668e7f37c8b69e865167bca