[INFO] cloning repository https://github.com/wibbe/tiny-rts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wibbe/tiny-rts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwibbe%2Ftiny-rts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwibbe%2Ftiny-rts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e6f4781a09a5a05d7d7d34a2ed7fdab9a57087b [INFO] testing wibbe/tiny-rts 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%2Fwibbe%2Ftiny-rts" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wibbe/tiny-rts 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/wibbe/tiny-rts [INFO] finished tweaking git repo https://github.com/wibbe/tiny-rts [INFO] tweaked toml for git repo https://github.com/wibbe/tiny-rts written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/wibbe/tiny-rts 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] ea2bf6ac0f6d61bcf27754bbe46288a739f7e42e495f0f4f8d306e574b487fc9 [INFO] running `Command { std: "docker" "start" "-a" "ea2bf6ac0f6d61bcf27754bbe46288a739f7e42e495f0f4f8d306e574b487fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea2bf6ac0f6d61bcf27754bbe46288a739f7e42e495f0f4f8d306e574b487fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2bf6ac0f6d61bcf27754bbe46288a739f7e42e495f0f4f8d306e574b487fc9", kill_on_drop: false }` [INFO] [stdout] ea2bf6ac0f6d61bcf27754bbe46288a739f7e42e495f0f4f8d306e574b487fc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eec4c909fcd9fe0819c1d164763fdba559a7872a144fbfca68ca5a23ea18f75c [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" "eec4c909fcd9fe0819c1d164763fdba559a7872a144fbfca68ca5a23ea18f75c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling tiny v0.1.0 (/opt/rustwide/workdir/tiny) [INFO] [stdout] error[E0463]: can't find crate for `glutin` [INFO] [stdout] --> tiny/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate glutin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `glutin` [INFO] [stdout] --> tiny/src/platform/glutin_platform.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate glutin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> tiny/src/lib.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 202 | pub const DRAW_FLIP_H: u32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - pub const DRAW_FLIP_H: u32 = (1 << 1); [INFO] [stdout] 202 + pub const DRAW_FLIP_H: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> tiny/src/lib.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | pub const DRAW_MASK: u32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 203 - pub const DRAW_MASK: u32 = (1 << 2); [INFO] [stdout] 203 + pub const DRAW_MASK: u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> tiny/src/lib.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> tiny/src/lib.rs:234:44 [INFO] [stdout] | [INFO] [stdout] 234 | static IS_TINY_CONTEXT_ALIVE: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tiny/src/lib.rs:229:45 [INFO] [stdout] | [INFO] [stdout] 229 | fn paint(&self, ctx: &Context, painter: &Painter); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn paint(&self, ctx: &Context, painter: &Painter); [INFO] [stdout] 229 + fn paint(&self, ctx: &Context, painter: &dyn Painter); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tiny/src/lib.rs:306:40 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn draw_timing(&self, painter: &Painter, font: &Font, background_color: u8, foreground_color: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 - pub fn draw_timing(&self, painter: &Painter, font: &Font, background_color: u8, foreground_color: u8) { [INFO] [stdout] 306 + pub fn draw_timing(&self, painter: &dyn Painter, font: &Font, background_color: u8, foreground_color: u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/tiny-04aa4c88a47f8afc/out/gl_bindings.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] 9 + fn metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny` due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eec4c909fcd9fe0819c1d164763fdba559a7872a144fbfca68ca5a23ea18f75c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec4c909fcd9fe0819c1d164763fdba559a7872a144fbfca68ca5a23ea18f75c", kill_on_drop: false }` [INFO] [stdout] eec4c909fcd9fe0819c1d164763fdba559a7872a144fbfca68ca5a23ea18f75c