[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85fe011e2249a58c7d3777bc030f20bd1843d225 [INFO] testing Cobrand/toyunda-player-rs-old against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCobrand%2Ftoyunda-player-rs-old" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cobrand/toyunda-player-rs-old on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/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-12/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39c5ca758ac611114a066ec2c3bf73baf32b10d982544b069a1a9312f541dc6f [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" "39c5ca758ac611114a066ec2c3bf73baf32b10d982544b069a1a9312f541dc6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39c5ca758ac611114a066ec2c3bf73baf32b10d982544b069a1a9312f541dc6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c5ca758ac611114a066ec2c3bf73baf32b10d982544b069a1a9312f541dc6f", kill_on_drop: false }` [INFO] [stdout] 39c5ca758ac611114a066ec2c3bf73baf32b10d982544b069a1a9312f541dc6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 02dde563c6288d26ba33e72e3d13a78764761235dc83360a8d051a4d187d98ec [INFO] running `Command { std: "docker" "start" "-a" "02dde563c6288d26ba33e72e3d13a78764761235dc83360a8d051a4d187d98ec", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling sdl2-sys v0.8.1 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling xml-rs v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling gl_generator v0.4.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling gl v0.5.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.18.0 [INFO] [stderr] Compiling sdl2 v0.16.1 [INFO] [stderr] Compiling sdl2_ttf v0.16.2 [INFO] [stderr] Compiling 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] error[E0277]: the trait bound `sdl2::pixels::Color: std::convert::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 `std::convert::From` is not implemented for `sdl2::pixels::Color` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `sdl2::pixels::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sdl2::pixels::Color: std::convert::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 `std::convert::From` is not implemented for `sdl2::pixels::Color` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `sdl2::pixels::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 a different struct `sdl2::rect::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<'_>: std::convert::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 `std::convert::AsRef` is not implemented for `sdl2::surface::Surface<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as std::convert::AsRef> [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::AsRef` for `&sdl2::surface::Surface<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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: 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: could not compile `toyunda-player-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "02dde563c6288d26ba33e72e3d13a78764761235dc83360a8d051a4d187d98ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02dde563c6288d26ba33e72e3d13a78764761235dc83360a8d051a4d187d98ec", kill_on_drop: false }` [INFO] [stdout] 02dde563c6288d26ba33e72e3d13a78764761235dc83360a8d051a4d187d98ec