[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCobrand%2Ftoyunda-player-rs-old" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cobrand/toyunda-player-rs-old on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73da905a2dde76d0a8e7ed051fef13bed5343a3dc2128e1f51f97f0140dec19a [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" "73da905a2dde76d0a8e7ed051fef13bed5343a3dc2128e1f51f97f0140dec19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73da905a2dde76d0a8e7ed051fef13bed5343a3dc2128e1f51f97f0140dec19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73da905a2dde76d0a8e7ed051fef13bed5343a3dc2128e1f51f97f0140dec19a", kill_on_drop: false }` [INFO] [stdout] 73da905a2dde76d0a8e7ed051fef13bed5343a3dc2128e1f51f97f0140dec19a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a70a3f6bd0a805748b7a20c1f4ae8880ef6a4b7023dba3ef82f05ae25a2d6bf1 [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" "a70a3f6bd0a805748b7a20c1f4ae8880ef6a4b7023dba3ef82f05ae25a2d6bf1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling sdl2-sys v0.8.1 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling xml-rs v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling gl_generator v0.4.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling gl v0.5.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.18.0 [INFO] [stderr] Checking sdl2 v0.16.1 [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] 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] 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 `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" "a70a3f6bd0a805748b7a20c1f4ae8880ef6a4b7023dba3ef82f05ae25a2d6bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70a3f6bd0a805748b7a20c1f4ae8880ef6a4b7023dba3ef82f05ae25a2d6bf1", kill_on_drop: false }` [INFO] [stdout] a70a3f6bd0a805748b7a20c1f4ae8880ef6a4b7023dba3ef82f05ae25a2d6bf1