[INFO] cloning repository https://github.com/nebnebben/Azul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nebnebben/Azul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebnebben%2FAzul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebnebben%2FAzul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 820ac6c3ab37826fa6f1ad44d77b7dd40f2956e8 [INFO] checking nebnebben/Azul against try#51000a35bc99aeffdc092bf2226ab562eedb9eff for pr-135899 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebnebben%2FAzul" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nebnebben/Azul on toolchain 51000a35bc99aeffdc092bf2226ab562eedb9eff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nebnebben/Azul [INFO] finished tweaking git repo https://github.com/nebnebben/Azul [INFO] tweaked toml for git repo https://github.com/nebnebben/Azul written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nebnebben/Azul 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" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 195cb141ca25d7017f748c26120c5976d7ace4bc51794c4301505eef2b7793f7 [INFO] running `Command { std: "docker" "start" "-a" "195cb141ca25d7017f748c26120c5976d7ace4bc51794c4301505eef2b7793f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "195cb141ca25d7017f748c26120c5976d7ace4bc51794c4301505eef2b7793f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195cb141ca25d7017f748c26120c5976d7ace4bc51794c4301505eef2b7793f7", kill_on_drop: false }` [INFO] [stdout] 195cb141ca25d7017f748c26120c5976d7ace4bc51794c4301505eef2b7793f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbab8b5b3d20a88081e282de864599ce68bc16ad980972a193a13f46a5970afd [INFO] running `Command { std: "docker" "start" "-a" "bbab8b5b3d20a88081e282de864599ce68bc16ad980972a193a13f46a5970afd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking Azul v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/factories/bag.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::player::player_constants::PATTERN_TILES` [INFO] [stdout] --> src/player/wall_tiles.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::player::player_constants::PATTERN_TILES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tiles: Hash` is not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | unfilled_tiles[i].insert(*tile); [INFO] [stdout] | ^^^^^^ the trait `Hash` is not implemented for `Tiles` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `HashSet::::insert` [INFO] [stdout] --> /rustc/51000a35bc99aeffdc092bf2226ab562eedb9eff/library/std/src/collections/hash/set.rs:916:5 [INFO] [stdout] help: consider annotating `Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `contains` exists for struct `HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | if !self.unfilled_tiles[row].contains(&placed_tile) { [INFO] [stdout] | ^^^^^^^^ method cannot be called on `HashSet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tiles { [INFO] [stdout] | -------------- doesn't satisfy `Tiles: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tiles: Hash` [INFO] [stdout] help: consider annotating `Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | self.unfilled_tiles[row].remove(&placed_tile); [INFO] [stdout] | ^^^^^^ method cannot be called on `HashSet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tiles { [INFO] [stdout] | -------------- doesn't satisfy `Tiles: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tiles: Hash` [INFO] [stdout] help: consider annotating `Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tiles::Tiles: Hash` is not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | unfilled_tiles[i].insert(*tile); [INFO] [stdout] | ^^^^^^ the trait `Hash` is not implemented for `tiles::Tiles` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::collections::HashSet::::insert` [INFO] [stdout] --> /rustc/51000a35bc99aeffdc092bf2226ab562eedb9eff/library/std/src/collections/hash/set.rs:916:5 [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `contains` exists for struct `HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | if !self.unfilled_tiles[row].contains(&placed_tile) { [INFO] [stdout] | ^^^^^^^^ method cannot be called on `HashSet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tiles { [INFO] [stdout] | -------------- doesn't satisfy `tiles::Tiles: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tiles::Tiles: Hash` [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | self.unfilled_tiles[row].remove(&placed_tile); [INFO] [stdout] | ^^^^^^ method cannot be called on `HashSet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tiles { [INFO] [stdout] | -------------- doesn't satisfy `tiles::Tiles: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tiles::Tiles: Hash` [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Azul` (bin "Azul") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `tiles::Tiles: Hash` is not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(wall_tiles.unfilled_tiles[0], HashSet::from([DeepBlue, Yellow, Red, Black, IceBlue])); [INFO] [stdout] | ^^^^^^^ the trait `Hash` is not implemented for `tiles::Tiles` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From<[T; N]>` is implemented for `std::collections::HashSet` [INFO] [stdout] = note: required for `std::collections::HashSet` to implement `From<[tiles::Tiles; 5]>` [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::collections::HashSet` [INFO] [stdout] --> src/player/wall_tiles.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(wall_tiles.unfilled_tiles[0], HashSet::from([DeepBlue, Yellow, Red, Black, IceBlue])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::collections::HashSet [INFO] [stdout] | std::collections::HashSet [INFO] [stdout] | [INFO] [stdout] note: an implementation of `Hash` might be missing for `tiles::Tiles` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tiles { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `Hash` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `contains` exists for struct `HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:79:47 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(!wall_tiles.unfilled_tiles[0].contains(&placed_tile)); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `HashSet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tiles { [INFO] [stdout] | -------------- doesn't satisfy `tiles::Tiles: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tiles::Tiles: Hash` [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tiles::Tiles: Hash` is not satisfied [INFO] [stdout] --> src/player/wall_tiles.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(unplaced_tiles, HashSet::from([DeepBlue, Yellow, Red, Black, IceBlue])); [INFO] [stdout] | ^^^^^^^ the trait `Hash` is not implemented for `tiles::Tiles` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From<[T; N]>` is implemented for `std::collections::HashSet` [INFO] [stdout] = note: required for `std::collections::HashSet` to implement `From<[tiles::Tiles; 5]>` [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::collections::HashSet` [INFO] [stdout] --> src/player/wall_tiles.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(unplaced_tiles, HashSet::from([DeepBlue, Yellow, Red, Black, IceBlue])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::collections::HashSet [INFO] [stdout] | std::collections::HashSet [INFO] [stdout] | [INFO] [stdout] note: an implementation of `Hash` might be missing for `tiles::Tiles` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tiles { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `Hash` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `tiles::Tiles` with `#[derive(Hash)]` [INFO] [stdout] --> src/tiles.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Hash)] [INFO] [stdout] 3 | pub enum Tiles { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factories/factory_tile.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut factory_tile = FactoryTile::new(tiles.clone()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/factories/bag.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let contents = &bag.contents; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Azul` (bin "Azul" test) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bbab8b5b3d20a88081e282de864599ce68bc16ad980972a193a13f46a5970afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbab8b5b3d20a88081e282de864599ce68bc16ad980972a193a13f46a5970afd", kill_on_drop: false }` [INFO] [stdout] bbab8b5b3d20a88081e282de864599ce68bc16ad980972a193a13f46a5970afd