[INFO] cloning repository https://github.com/tlwalker/arcade-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlwalker/arcade-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlwalker%2Farcade-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlwalker%2Farcade-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2903522d226b82562484e7a21bf259f850d6052 [INFO] checking tlwalker/arcade-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlwalker%2Farcade-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlwalker/arcade-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tlwalker/arcade-rs [INFO] finished tweaking git repo https://github.com/tlwalker/arcade-rs [INFO] tweaked toml for git repo https://github.com/tlwalker/arcade-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/tlwalker/arcade-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded libc v0.1.12 [INFO] [stderr] Downloaded bitflags v0.3.3 [INFO] [stderr] Downloaded num-complex v0.1.43 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded libc v0.2.89 [INFO] [stderr] Downloaded sdl2-sys v0.7.0 [INFO] [stderr] Downloaded rustc-serialize v0.3.24 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded num-bigint v0.1.44 [INFO] [stderr] Downloaded sdl2_image v0.6.0 [INFO] [stderr] Downloaded sdl2 v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4dd2e02eade574b37cab1ccb2c225f47de881835573c933540e59215d90a1d9 [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" "f4dd2e02eade574b37cab1ccb2c225f47de881835573c933540e59215d90a1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4dd2e02eade574b37cab1ccb2c225f47de881835573c933540e59215d90a1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4dd2e02eade574b37cab1ccb2c225f47de881835573c933540e59215d90a1d9", kill_on_drop: false }` [INFO] [stdout] f4dd2e02eade574b37cab1ccb2c225f47de881835573c933540e59215d90a1d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbf70607cd98e548365124a4a08332c61099efdb687ab5ff9a99e97e72752e4f [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" "bbf70607cd98e548365124a4a08332c61099efdb687ab5ff9a99e97e72752e4f", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling sdl2-sys v0.7.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.12.1 [INFO] [stderr] Checking sdl2_image v0.6.0 [INFO] [stderr] Checking arcade-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/phi/data.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn contains(&self, rect: Rect) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/phi/data.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn overlaps(&self, other: Rect) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | ChangeView(Box), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | where F: Fn(&mut Phi) -> Box [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Events`, `Phi`, `ViewAction`, `View` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use phi::{Events, Phi, View, ViewAction}; [INFO] [stdout] | ^^^^^^ ^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/phi/data.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn contains(&self, rect: Rect) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/phi/data.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn overlaps(&self, other: Rect) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | ChangeView(Box), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | where F: Fn(&mut Phi) -> Box [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Events`, `Phi`, `ViewAction`, `View` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use phi::{Events, Phi, View, ViewAction}; [INFO] [stdout] | ^^^^^^ ^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | xmin >= self.x && xmin <= self.x + self.w as i32 && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | xmax >= self.x && xmax <= self.x + self.w as i32 && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | ymin >= self.y && ymin <= self.y + self.h as i32 && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | ymax >= self.y && ymax <= self.y + self.h as i32 [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | self.x + self.w as i32 > other.x && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | self.y + self.h as i32 > other.y [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arcade-rs` [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[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | xmin >= self.x && xmin <= self.x + self.w as i32 && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | xmax >= self.x && xmax <= self.x + self.w as i32 && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | ymin >= self.y && ymin <= self.y + self.h as i32 && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | ymax >= self.y && ymax <= self.y + self.h as i32 [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | self.x + self.w as i32 > other.x && [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `f64` [INFO] [stdout] --> src/phi/data.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | self.y + self.h as i32 > other.y [INFO] [stdout] | ^ no implementation for `f64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bbf70607cd98e548365124a4a08332c61099efdb687ab5ff9a99e97e72752e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf70607cd98e548365124a4a08332c61099efdb687ab5ff9a99e97e72752e4f", kill_on_drop: false }` [INFO] [stdout] bbf70607cd98e548365124a4a08332c61099efdb687ab5ff9a99e97e72752e4f