[INFO] cloning repository https://github.com/rkanati/platformer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rkanati/platformer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fplatformer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fplatformer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86b5fdf98cc392345e0b38e28e9da3f6fb119224 [INFO] checking rkanati/platformer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fplatformer" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rkanati/platformer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rkanati/platformer [INFO] finished tweaking git repo https://github.com/rkanati/platformer [INFO] tweaked toml for git repo https://github.com/rkanati/platformer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/rkanati/platformer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winit v0.20.0-alpha4 [INFO] [stderr] Downloaded tiled v0.8.0 [INFO] [stderr] Downloaded glutin v0.22.0-alpha5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f21235d562789a1c6669318f7c6927bb8656032665206fc9a746d475a89e5bc2 [INFO] running `Command { std: "docker" "start" "-a" "f21235d562789a1c6669318f7c6927bb8656032665206fc9a746d475a89e5bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f21235d562789a1c6669318f7c6927bb8656032665206fc9a746d475a89e5bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f21235d562789a1c6669318f7c6927bb8656032665206fc9a746d475a89e5bc2", kill_on_drop: false }` [INFO] [stdout] f21235d562789a1c6669318f7c6927bb8656032665206fc9a746d475a89e5bc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cb1221338eb191b5d99eb666695c1e42ebd24ce4862b9b73ce1bdb5eef7b2a2 [INFO] running `Command { std: "docker" "start" "-a" "2cb1221338eb191b5d99eb666695c1e42ebd24ce4862b9b73ce1bdb5eef7b2a2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Checking base64 v0.5.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking xml-rs v0.3.6 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking x11-dl v2.18.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking flate2 v1.0.11 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rusttype v0.7.5 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking tiled v0.8.0 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking nalgebra v0.19.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking winit v0.20.0-alpha4 [INFO] [stderr] Checking glutin v0.22.0-alpha5 [INFO] [stderr] Checking rust-game v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/game/mod.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let rect = Rect::new(x, y, x + 16.0, y + 16.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sprites` in this scope [INFO] [stdout] --> src/game/mod.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | sprites.push((set.texture(), Sprite{rect, texture_index: index})); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Sprite` in this scope [INFO] [stdout] --> src/game/mod.rs:176:50 [INFO] [stdout] | [INFO] [stdout] 176 | sprites.push((set.texture(), Sprite{rect, texture_index: index})); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/game/mod.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | let rect = Rect::new(p.x - 8.0, p.y, p.x + 8.0, p.y + 16.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sprites` in this scope [INFO] [stdout] --> src/game/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | sprites.push((player_texture, Sprite{rect, texture_index: 0})); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Sprite` in this scope [INFO] [stdout] --> src/game/mod.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | sprites.push((player_texture, Sprite{rect, texture_index: 0})); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lines` in this scope [INFO] [stdout] --> src/game/mod.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | lines.extend(stroke(rect.verts(), 255, 255, 0, 255)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stroke` in this scope [INFO] [stdout] --> src/game/mod.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | lines.extend(stroke(rect.verts(), 255, 255, 0, 255)) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gl::types::*`, `mem`, `shader`, `vec::Vec` [INFO] [stdout] --> src/game/mod.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | gfx::{shader, load_atlas_texture}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | time::{Duration, Instant}, [INFO] [stdout] 19 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | }, [INFO] [stdout] 21 | gl::types::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-game` due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/game/mod.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let rect = Rect::new(x, y, x + 16.0, y + 16.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sprites` in this scope [INFO] [stdout] --> src/game/mod.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | sprites.push((set.texture(), Sprite{rect, texture_index: index})); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Sprite` in this scope [INFO] [stdout] --> src/game/mod.rs:176:50 [INFO] [stdout] | [INFO] [stdout] 176 | sprites.push((set.texture(), Sprite{rect, texture_index: index})); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/game/mod.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | let rect = Rect::new(p.x - 8.0, p.y, p.x + 8.0, p.y + 16.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sprites` in this scope [INFO] [stdout] --> src/game/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | sprites.push((player_texture, Sprite{rect, texture_index: 0})); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Sprite` in this scope [INFO] [stdout] --> src/game/mod.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | sprites.push((player_texture, Sprite{rect, texture_index: 0})); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lines` in this scope [INFO] [stdout] --> src/game/mod.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | lines.extend(stroke(rect.verts(), 255, 255, 0, 255)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stroke` in this scope [INFO] [stdout] --> src/game/mod.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | lines.extend(stroke(rect.verts(), 255, 255, 0, 255)) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gl::types::*`, `mem`, `shader`, `vec::Vec` [INFO] [stdout] --> src/game/mod.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | gfx::{shader, load_atlas_texture}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | time::{Duration, Instant}, [INFO] [stdout] 19 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | }, [INFO] [stdout] 21 | gl::types::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2cb1221338eb191b5d99eb666695c1e42ebd24ce4862b9b73ce1bdb5eef7b2a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb1221338eb191b5d99eb666695c1e42ebd24ce4862b9b73ce1bdb5eef7b2a2", kill_on_drop: false }` [INFO] [stdout] 2cb1221338eb191b5d99eb666695c1e42ebd24ce4862b9b73ce1bdb5eef7b2a2