[INFO] cloning repository https://github.com/Cobrand/toyunda-player-rs-old [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cobrand/toyunda-player-rs-old" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCobrand%2Ftoyunda-player-rs-old", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCobrand%2Ftoyunda-player-rs-old'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85fe011e2249a58c7d3777bc030f20bd1843d225 [INFO] checking Cobrand/toyunda-player-rs-old against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCobrand%2Ftoyunda-player-rs-old" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cobrand/toyunda-player-rs-old on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking git repo https://github.com/Cobrand/toyunda-player-rs-old [INFO] finished tweaking git repo https://github.com/Cobrand/toyunda-player-rs-old [INFO] tweaked toml for git repo https://github.com/Cobrand/toyunda-player-rs-old written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Cobrand/toyunda-player-rs-old already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6e8346ab694c5cea65e3afc0d9ab321d68e94dfe46ef53e2f64764734e44c07 [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" "b6e8346ab694c5cea65e3afc0d9ab321d68e94dfe46ef53e2f64764734e44c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6e8346ab694c5cea65e3afc0d9ab321d68e94dfe46ef53e2f64764734e44c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e8346ab694c5cea65e3afc0d9ab321d68e94dfe46ef53e2f64764734e44c07", kill_on_drop: false }` [INFO] [stdout] b6e8346ab694c5cea65e3afc0d9ab321d68e94dfe46ef53e2f64764734e44c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 964fde1bf1be11fa2f550978d2051a5209d003fa7055a5ba39e81cb8f4997539 [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" "964fde1bf1be11fa2f550978d2051a5209d003fa7055a5ba39e81cb8f4997539", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sdl2-sys v0.8.1 [INFO] [stderr] Compiling gl_generator v0.4.2 [INFO] [stderr] Checking sdl2 v0.18.0 [INFO] [stderr] Checking sdl2 v0.16.1 [INFO] [stderr] Compiling gl v0.5.2 [INFO] [stderr] Checking sdl2_ttf v0.16.2 [INFO] [stderr] Checking toyunda-player-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gl::types::*` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gl::types::* ; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/displayer.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | 'fontlist: while (font_size < font_size_max) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/displayer.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | if (font_set_max.font_size - font_size > [INFO] [stdout] | ____________________________^ [INFO] [stdout] 129 | | font_size - font_set_min.font_size) { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 | if font_set_max.font_size - font_size > [INFO] [stdout] 129 | font_size - font_set_min.font_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/displayer.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | ... (width - outline_width), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/displayer.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | ... (height - outline_width)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mpv.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | if (!ret.is_null()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if (item.name == "opengl"){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::types::*` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gl::types::* ; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/displayer.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | 'fontlist: while (font_size < font_size_max) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/displayer.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | if (font_set_max.font_size - font_size > [INFO] [stdout] | ____________________________^ [INFO] [stdout] 129 | | font_size - font_set_min.font_size) { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 | if font_set_max.font_size - font_size > [INFO] [stdout] 129 | font_size - font_set_min.font_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/displayer.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | ... (width - outline_width), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/displayer.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | ... (height - outline_width)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mpv.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | if (!ret.is_null()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if (item.name == "opengl"){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sdl2::pixels::Color: From` is not satisfied [INFO] [stdout] --> src/displayer.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | .blended(Color::RGB(180, 180, 180)) [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `sdl2::pixels::Color` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sdl2::pixels::Color: From` is not satisfied [INFO] [stdout] --> src/displayer.rs:172:48 [INFO] [stdout] | [INFO] [stdout] 172 | ... .blended(Color::RGB(0, 0, 0)) [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `sdl2::pixels::Color` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sdl2::pixels::Color: From` is not satisfied [INFO] [stdout] --> src/displayer.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | .blended(Color::RGB(180, 180, 180)) [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `sdl2::pixels::Color` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sdl2::pixels::Color: From` is not satisfied [INFO] [stdout] --> src/displayer.rs:172:48 [INFO] [stdout] | [INFO] [stdout] 172 | ... .blended(Color::RGB(0, 0, 0)) [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `sdl2::pixels::Color` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/displayer.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | Some(Rect::new(outline_width as i32, [INFO] [stdout] | ___________________________^ [INFO] [stdout] 180 | | outline_width as i32, [INFO] [stdout] 181 | | (width - outline_width), [INFO] [stdout] 182 | | (height - outline_width)))); [INFO] [stdout] | |_____________________________________________________________^ expected struct `sdl2::rect::Rect`, found struct `Rect` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sdl2` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sdl2::surface::Surface<'_>: AsRef` is not satisfied [INFO] [stdout] --> src/displayer.rs:183:69 [INFO] [stdout] | [INFO] [stdout] 183 | let mut texture = self.renderer.create_texture_from_surface(&surface_outline).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `sdl2::surface::Surface<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as AsRef> [INFO] [stdout] = note: required because of the requirements on the impl of `AsRef` for `&sdl2::surface::Surface<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mpv.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | write!(f, "{} ({:?})", self.description(), self) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/displayer.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | Some(Rect::new(outline_width as i32, [INFO] [stdout] | ___________________________^ [INFO] [stdout] 180 | | outline_width as i32, [INFO] [stdout] 181 | | (width - outline_width), [INFO] [stdout] 182 | | (height - outline_width)))); [INFO] [stdout] | |_____________________________________________________________^ expected struct `sdl2::rect::Rect`, found struct `Rect` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sdl2` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sdl2::surface::Surface<'_>: AsRef` is not satisfied [INFO] [stdout] --> src/displayer.rs:183:69 [INFO] [stdout] | [INFO] [stdout] 183 | let mut texture = self.renderer.create_texture_from_surface(&surface_outline).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `sdl2::surface::Surface<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as AsRef> [INFO] [stdout] = note: required because of the requirements on the impl of `AsRef` for `&sdl2::surface::Surface<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 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] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mpv.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | write!(f, "{} ({:?})", self.description(), self) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toyunda-player-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: aborting due to 4 previous errors; 9 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: build failed [INFO] running `Command { std: "docker" "inspect" "964fde1bf1be11fa2f550978d2051a5209d003fa7055a5ba39e81cb8f4997539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964fde1bf1be11fa2f550978d2051a5209d003fa7055a5ba39e81cb8f4997539", kill_on_drop: false }` [INFO] [stdout] 964fde1bf1be11fa2f550978d2051a5209d003fa7055a5ba39e81cb8f4997539