[INFO] fetching crate andiskaz 0.2.0... [INFO] testing andiskaz-0.2.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate andiskaz 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate andiskaz 0.2.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate andiskaz 0.2.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate andiskaz 0.2.0 [INFO] tweaked toml for crates.io crate andiskaz 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate andiskaz 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffe155f12265a09674125ac344eae991ec2c16600681308713351ab5b08ba042 [INFO] running `Command { std: "docker" "start" "-a" "ffe155f12265a09674125ac344eae991ec2c16600681308713351ab5b08ba042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffe155f12265a09674125ac344eae991ec2c16600681308713351ab5b08ba042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe155f12265a09674125ac344eae991ec2c16600681308713351ab5b08ba042", kill_on_drop: false }` [INFO] [stdout] ffe155f12265a09674125ac344eae991ec2c16600681308713351ab5b08ba042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 995dd294451d5fcbb3166e241c81e872465155c948ce7087bfa0c3c157bd024c [INFO] running `Command { std: "docker" "start" "-a" "995dd294451d5fcbb3166e241c81e872465155c948ce7087bfa0c3c157bd024c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.18.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling andiskaz v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `guard` [INFO] [stdout] --> src/terminal.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | guard: AppSyncGuard<'terminal>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/terminal.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | inner: RwLockReadGuard<'shared, ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/terminal.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | inner: RwLockWriteGuard<'shared, ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.42s [INFO] running `Command { std: "docker" "inspect" "995dd294451d5fcbb3166e241c81e872465155c948ce7087bfa0c3c157bd024c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995dd294451d5fcbb3166e241c81e872465155c948ce7087bfa0c3c157bd024c", kill_on_drop: false }` [INFO] [stdout] 995dd294451d5fcbb3166e241c81e872465155c948ce7087bfa0c3c157bd024c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0322701772b044ba72278b027b89e08f35f4e174858bdef02c03c435074b7f [INFO] running `Command { std: "docker" "start" "-a" "2b0322701772b044ba72278b027b89e08f35f4e174858bdef02c03c435074b7f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stdout] warning: field is never read: `guard` [INFO] [stdout] --> src/terminal.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | guard: AppSyncGuard<'terminal>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/terminal.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | inner: RwLockReadGuard<'shared, ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/terminal.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | inner: RwLockWriteGuard<'shared, ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling andiskaz v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gardiz` [INFO] [stdout] --> examples/snakegame/snake.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gardiz::{direc::Direction, rect::Rect}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `gardiz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gardiz` [INFO] [stdout] --> examples/snakegame/food.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gardiz::rect::Rect; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `gardiz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gardiz` [INFO] [stdout] --> examples/snakegame/game.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use gardiz::{direc::Direction, rect::Rect}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `gardiz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> examples/snakegame/snake.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | Self { direction: Direction::Up, segments, body_tile, head_tile } [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> examples/snakegame/game.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Rect::from_range_incl( [INFO] [stdout] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> examples/snakegame/game.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | self.snake.change_direction(Direction::Up); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> examples/snakegame/game.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | self.snake.change_direction(Direction::Down); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> examples/snakegame/game.rs:233:45 [INFO] [stdout] | [INFO] [stdout] 233 | self.snake.change_direction(Direction::Left); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> examples/snakegame/game.rs:244:45 [INFO] [stdout] | [INFO] [stdout] 244 | self.snake.change_direction(Direction::Right); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Direction` in this scope [INFO] [stdout] --> examples/snakegame/snake.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/snake.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(body_tile: Tile, head_tile: Tile, bounds: Rect) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/snake.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn mov(&mut self, bounds: Rect, food: &Food) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Direction` in this scope [INFO] [stdout] --> examples/snakegame/snake.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn change_direction(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/snake.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn saturate_at_bounds(&mut self, bounds: Rect) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/food.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(tile: Tile, snake: &Snake, bounds: Rect) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/food.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn regenerate(&mut self, snake: &Snake, bounds: Rect) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/food.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn in_bounds(&self, bounds: Rect) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/food.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn gen_pos(snake: &Snake, bounds: Rect) -> Vec2 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/game.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | bounds: Rect, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> examples/snakegame/game.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 177 | fn make_bounds(screen_size: Vec2) -> Rect { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `checked_move` found for struct `Vec2` in the current scope [INFO] [stdout] --> examples/snakegame/snake.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | let new_head = self.segments[0].checked_move(self.direction)?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `andiskaz` due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `guard` [INFO] [stdout] --> src/terminal.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | guard: AppSyncGuard<'terminal>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/terminal.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | inner: RwLockReadGuard<'shared, ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/terminal.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | inner: RwLockWriteGuard<'shared, ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2b0322701772b044ba72278b027b89e08f35f4e174858bdef02c03c435074b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0322701772b044ba72278b027b89e08f35f4e174858bdef02c03c435074b7f", kill_on_drop: false }` [INFO] [stdout] 2b0322701772b044ba72278b027b89e08f35f4e174858bdef02c03c435074b7f