[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] documenting wibbe/tiny-rts against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwibbe%2Ftiny-rts" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wibbe/tiny-rts on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-18/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-05-20" "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-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6332e84a63fce4d4afc661b9351be1894d1daec0e4f5b3d9e8c8db88f814e236 [INFO] running `Command { std: "docker" "start" "-a" "6332e84a63fce4d4afc661b9351be1894d1daec0e4f5b3d9e8c8db88f814e236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6332e84a63fce4d4afc661b9351be1894d1daec0e4f5b3d9e8c8db88f814e236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6332e84a63fce4d4afc661b9351be1894d1daec0e4f5b3d9e8c8db88f814e236", kill_on_drop: false }` [INFO] [stdout] 6332e84a63fce4d4afc661b9351be1894d1daec0e4f5b3d9e8c8db88f814e236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09e17356f4e14b09f7dae5c2377b9d43bf3e62445e4643ec17a246619bf04d5f [INFO] running `Command { std: "docker" "start" "-a" "09e17356f4e14b09f7dae5c2377b9d43bf3e62445e4643ec17a246619bf04d5f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [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 gl_generator v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking 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" "09e17356f4e14b09f7dae5c2377b9d43bf3e62445e4643ec17a246619bf04d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e17356f4e14b09f7dae5c2377b9d43bf3e62445e4643ec17a246619bf04d5f", kill_on_drop: false }` [INFO] [stdout] 09e17356f4e14b09f7dae5c2377b9d43bf3e62445e4643ec17a246619bf04d5f