[INFO] cloning repository https://github.com/vvzen/glium-101 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vvzen/glium-101" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvzen%2Fglium-101", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvzen%2Fglium-101'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3b35600ce3ffbd199b3143937d709b785d39454 [INFO] checking vvzen/glium-101 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvzen%2Fglium-101" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vvzen/glium-101 [INFO] finished tweaking git repo https://github.com/vvzen/glium-101 [INFO] tweaked toml for git repo https://github.com/vvzen/glium-101 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vvzen/glium-101 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vvzen/glium-101 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 734bdee95c2bb9cd447f37afa8c3ecda03a80bcb24c4f70147b013dfa5393315 [INFO] running `Command { std: "docker" "start" "-a" "734bdee95c2bb9cd447f37afa8c3ecda03a80bcb24c4f70147b013dfa5393315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "734bdee95c2bb9cd447f37afa8c3ecda03a80bcb24c4f70147b013dfa5393315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734bdee95c2bb9cd447f37afa8c3ecda03a80bcb24c4f70147b013dfa5393315", kill_on_drop: false }` [INFO] [stdout] 734bdee95c2bb9cd447f37afa8c3ecda03a80bcb24c4f70147b013dfa5393315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5862a4770c8038672286d77f5a9cc3e16b0e82df41e190dc96be65be58e550b [INFO] running `Command { std: "docker" "start" "-a" "d5862a4770c8038672286d77f5a9cc3e16b0e82df41e190dc96be65be58e550b", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking sctk-adwaita v0.4.3 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking winit v0.27.5 [INFO] [stderr] Checking glutin v0.29.1 [INFO] [stderr] Checking glium-101 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | glutin::event::Event::WindowEvent { window_id, event } => match event { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | glutin::event::Event::WindowEvent { window_id, event } => match event { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Circle` is never constructed [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum ShapePrimitive { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 51 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Circle` is never constructed [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum ShapePrimitive { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 51 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | display: &glium::Display, [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 73 | ) -> SketchDrawCommand { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | ) -> SketchDrawCommand<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | display: &glium::Display, [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 73 | ) -> SketchDrawCommand { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | ) -> SketchDrawCommand<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 119 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 119 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.82s [INFO] running `Command { std: "docker" "inspect" "d5862a4770c8038672286d77f5a9cc3e16b0e82df41e190dc96be65be58e550b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5862a4770c8038672286d77f5a9cc3e16b0e82df41e190dc96be65be58e550b", kill_on_drop: false }` [INFO] [stdout] d5862a4770c8038672286d77f5a9cc3e16b0e82df41e190dc96be65be58e550b