[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/76b447d97a3c568ba99cda54e8e63864165a63da against master#a2db9280539229a3b8a084a09886670a57bc7e9c for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Fopengl-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mickvangelderen/opengl-rust on toolchain a2db9280539229a3b8a084a09886670a57bc7e9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mickvangelderen/opengl-rust 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" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/simple-field-offset/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.15.0 [INFO] [stderr] Downloaded num-integer v0.1.38 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.14 [INFO] [stderr] Downloaded cocoa v0.14.0 [INFO] [stderr] Downloaded cc v1.0.15 [INFO] [stderr] Downloaded wayland-window v0.13.3 [INFO] [stderr] Downloaded gif v0.10.0 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded syn v0.13.10 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded num-traits v0.2.4 [INFO] [stderr] Downloaded inflate v0.4.2 [INFO] [stderr] Downloaded gleam v0.5.0 [INFO] [stderr] Downloaded core-graphics v0.13.0 [INFO] [stderr] Downloaded num-derive v0.2.1 [INFO] [stderr] Downloaded x11-dl v2.17.5 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded image v0.19.0 [INFO] [stderr] Downloaded winit v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8ee34902d95b2566b8804cf1feccfe5fcf0f1afb274deff10a3d769d6a50c8c [INFO] running `Command { std: "docker" "start" "-a" "a8ee34902d95b2566b8804cf1feccfe5fcf0f1afb274deff10a3d769d6a50c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8ee34902d95b2566b8804cf1feccfe5fcf0f1afb274deff10a3d769d6a50c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ee34902d95b2566b8804cf1feccfe5fcf0f1afb274deff10a3d769d6a50c8c", kill_on_drop: false }` [INFO] [stdout] a8ee34902d95b2566b8804cf1feccfe5fcf0f1afb274deff10a3d769d6a50c8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7cd41d0c252833eda7927fdf9dba510e2644351f47c5bc31feaaca218c138df [INFO] running `Command { std: "docker" "start" "-a" "f7cd41d0c252833eda7927fdf9dba510e2644351f47c5bc31feaaca218c138df", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/simple-field-offset/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Compiling syn v0.13.10 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking inflate v0.4.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.15.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking simple-field-offset v0.1.0 (/opt/rustwide/workdir/simple-field-offset) [INFO] [stderr] Checking cgmath v0.16.1 [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] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Compiling num-derive v0.2.1 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking wayland-window v0.13.3 [INFO] [stderr] Checking winit v0.13.1 [INFO] [stdout] error[E0539]: malformed `link` attribute input [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.13.1/src/platform/linux/dlopen.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[link="dl"] [INFO] [stdout] | ^^^^^^^^^^^^ expected this to be a list [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] help: try changing it to one of the following valid forms of the attribute [INFO] [stdout] | [INFO] [stdout] 9 - #[link="dl"] [INFO] [stdout] 9 + #[link(name = "...")] [INFO] [stdout] | [INFO] [stdout] 9 - #[link="dl"] [INFO] [stdout] 9 + #[link(name = "...", import_name_type = "decorated|noprefix|undecorated")] [INFO] [stdout] | [INFO] [stdout] 9 - #[link="dl"] [INFO] [stdout] 9 + #[link(name = "...", kind = "dylib|static|...")] [INFO] [stdout] | [INFO] [stdout] 9 - #[link="dl"] [INFO] [stdout] 9 + #[link(name = "...", kind = "dylib|static|...", wasm_import_module = "...", import_name_type = "decorated|noprefix|undecorated")] [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0539`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winit` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f7cd41d0c252833eda7927fdf9dba510e2644351f47c5bc31feaaca218c138df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7cd41d0c252833eda7927fdf9dba510e2644351f47c5bc31feaaca218c138df", kill_on_drop: false }` [INFO] [stdout] f7cd41d0c252833eda7927fdf9dba510e2644351f47c5bc31feaaca218c138df