[INFO] cloning repository https://github.com/mickvangelderen/opengl-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mickvangelderen/opengl-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Fopengl-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Fopengl-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76b447d97a3c568ba99cda54e8e63864165a63da [INFO] checking mickvangelderen/opengl-rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Fopengl-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mickvangelderen/opengl-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mickvangelderen/opengl-rust [INFO] finished tweaking git repo https://github.com/mickvangelderen/opengl-rust [INFO] tweaked toml for git repo https://github.com/mickvangelderen/opengl-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mickvangelderen/opengl-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] e7ae95f0db022e5b7da8785f80f12f1c0e75777a0bf66006411a68415d91cde6 [INFO] running `Command { std: "docker" "start" "-a" "e7ae95f0db022e5b7da8785f80f12f1c0e75777a0bf66006411a68415d91cde6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7ae95f0db022e5b7da8785f80f12f1c0e75777a0bf66006411a68415d91cde6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ae95f0db022e5b7da8785f80f12f1c0e75777a0bf66006411a68415d91cde6", kill_on_drop: false }` [INFO] [stdout] e7ae95f0db022e5b7da8785f80f12f1c0e75777a0bf66006411a68415d91cde6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3492ba807263cc18f21c15936a5ca51b02b14499648bb2bed12fe5899863d0ea [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" "3492ba807263cc18f21c15936a5ca51b02b14499648bb2bed12fe5899863d0ea", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking simple-field-offset v0.1.0 (/opt/rustwide/workdir/simple-field-offset) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> simple-field-offset/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &(*(0 as *const $Struct)).$field as *const _ as $Offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 75 | let favorite_color_offset = field_offset!(Employee, favorite_color); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `field_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> simple-field-offset/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &(*(0 as *const $Struct)).$field as *const _ as $Offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 96 | field_offset!(Employee, (active, name, favorite_color)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> simple-field-offset/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &(*(0 as *const $Struct)).$field as *const _ as $Offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 96 | field_offset!(Employee, (active, name, favorite_color)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> simple-field-offset/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &(*(0 as *const $Struct)).$field as *const _ as $Offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 96 | field_offset!(Employee, (active, name, favorite_color)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> simple-field-offset/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &(*(0 as *const $Struct)).$field as *const _ as $Offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 121 | let _: isize = field_offset!(Employee, active, isize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> simple-field-offset/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &(*(0 as *const $Struct)).$field as *const _ as $Offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 126 | let _: (isize, isize) = field_offset!(Employee, (active, name), isize); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> simple-field-offset/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &(*(0 as *const $Struct)).$field as *const _ as $Offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 126 | let _: (isize, isize) = field_offset!(Employee, (active, name), isize); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking inflate v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling syn v0.13.10 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Checking rayon-core v1.4.0 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.15.0 [INFO] [stderr] Compiling num-derive v0.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking wayland-window v0.13.3 [INFO] [stderr] Checking winit v0.13.1 [INFO] [stderr] Checking opengl-experiment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/import.rs:88:74 [INFO] [stdout] | [INFO] [stdout] 88 | let mut tri: [TriangleElement; 3] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/import.rs:88:74 [INFO] [stdout] | [INFO] [stdout] 88 | let mut tri: [TriangleElement; 3] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let mut diffuse_texture_id = TextureId::new().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut specular_texture_id = TextureId::new().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(non_exhaustive)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonzero` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nonzero)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let mut diffuse_texture_id = TextureId::new().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut specular_texture_id = TextureId::new().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(non_exhaustive)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonzero` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nonzero)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.72s [INFO] running `Command { std: "docker" "inspect" "3492ba807263cc18f21c15936a5ca51b02b14499648bb2bed12fe5899863d0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3492ba807263cc18f21c15936a5ca51b02b14499648bb2bed12fe5899863d0ea", kill_on_drop: false }` [INFO] [stdout] 3492ba807263cc18f21c15936a5ca51b02b14499648bb2bed12fe5899863d0ea