[INFO] cloning repository https://github.com/DJin24/rust_ge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DJin24/rust_ge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDJin24%2Frust_ge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDJin24%2Frust_ge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56074b7d1b590b561d3c5034ae90623e39dc3656 [INFO] testing DJin24/rust_ge against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDJin24%2Frust_ge" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DJin24/rust_ge on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DJin24/rust_ge [INFO] finished tweaking git repo https://github.com/DJin24/rust_ge [INFO] tweaked toml for git repo https://github.com/DJin24/rust_ge written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/DJin24/rust_ge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b7eebe784ace5eb4ea3ebc3e89d6eb7979dfd83fdd31faf8819ea291f4d7269 [INFO] running `Command { std: "docker" "start" "-a" "3b7eebe784ace5eb4ea3ebc3e89d6eb7979dfd83fdd31faf8819ea291f4d7269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b7eebe784ace5eb4ea3ebc3e89d6eb7979dfd83fdd31faf8819ea291f4d7269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7eebe784ace5eb4ea3ebc3e89d6eb7979dfd83fdd31faf8819ea291f4d7269", kill_on_drop: false }` [INFO] [stdout] 3b7eebe784ace5eb4ea3ebc3e89d6eb7979dfd83fdd31faf8819ea291f4d7269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23ded624d1cc89fdc53143072fe00438f6d4607ac5b0283cbad965f1ba90a451 [INFO] running `Command { std: "docker" "start" "-a" "23ded624d1cc89fdc53143072fe00438f6d4607ac5b0283cbad965f1ba90a451", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling rust_ge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::rust_ge::frame_rate::FrameRate` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rust_ge::frame_rate::FrameRate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShapeTypes` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::rust_ge::sprites::{ShapeTypes, Sprite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl2::event::Event` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ::sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl2::keyboard::Keycode` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ::sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl2::pixels::Color` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ::sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl2::EventPump` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ::sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::cell::RefCell` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ::std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::collections::HashSet` [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ::std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::collections::HashSet` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ::std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::rc::Rc` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ::std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Mouse_button` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Mouse_button { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MouseButton` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | left, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `middle` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | middle, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | right, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `code` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | code, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `up` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | up, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `down` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | down, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | left, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | right, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `shift` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | shift, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `control` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | control, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `alt` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | alt, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Alt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `command` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | command, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `other` should have an upper camel case name [INFO] [stdout] --> src/rust_ge/rust_ge_event.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | other, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> src/rust_ge/sprites.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::{Color, PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render` [INFO] [stdout] --> src/rust_ge/sprites.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::render; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::surface::Surface` [INFO] [stdout] --> src/rust_ge/sprites.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::surface::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/rust_ge/sprites.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/rust_ge/sprites.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/rust_ge/sprites.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/rust_ge/sprites.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/rust_ge/sprites.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/rust_ge/sprites.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | game.set_engine(engine); [INFO] [stdout] | ^^^^^^ expected struct `Engine`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | .build()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | let mut canvas = window.into_canvas().build()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ge` due to 4 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "23ded624d1cc89fdc53143072fe00438f6d4607ac5b0283cbad965f1ba90a451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ded624d1cc89fdc53143072fe00438f6d4607ac5b0283cbad965f1ba90a451", kill_on_drop: false }` [INFO] [stdout] 23ded624d1cc89fdc53143072fe00438f6d4607ac5b0283cbad965f1ba90a451