[INFO] fetching crate qqx 0.0.4... [INFO] testing qqx-0.0.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate qqx 0.0.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate qqx 0.0.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate qqx 0.0.4 [INFO] tweaked toml for crates.io crate qqx 0.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qqx 0.0.4 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qqx 0.0.4 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a73bc627e5d77f8704ddce130260f944f186ca41d60c6a24b54fee8756a643d [INFO] running `Command { std: "docker" "start" "-a" "3a73bc627e5d77f8704ddce130260f944f186ca41d60c6a24b54fee8756a643d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a73bc627e5d77f8704ddce130260f944f186ca41d60c6a24b54fee8756a643d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a73bc627e5d77f8704ddce130260f944f186ca41d60c6a24b54fee8756a643d", kill_on_drop: false }` [INFO] [stdout] 3a73bc627e5d77f8704ddce130260f944f186ca41d60c6a24b54fee8756a643d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e32159cd75c6db1bdf94b18b2d8bd0863aeb5cc198cddc0b26622c47a015312f [INFO] running `Command { std: "docker" "start" "-a" "e32159cd75c6db1bdf94b18b2d8bd0863aeb5cc198cddc0b26622c47a015312f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling object v0.35.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling backtrace v0.3.72 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glium v0.30.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling qqx-macro v0.0.4 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling qqx v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_fn_floating_point_arithmetic` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn_floating_point_arithmetic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/window/builder.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | WINDOWS.push(dpy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/window/builder.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Window(WINDOWS.len() - 1) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/window/builder.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | while i < WINDOWS.len() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { EVENTLOOP.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EVENTLOOP.take().unwrap().run(|event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/callback/mod.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) fn callbacks() -> &'static mut Callbacks { unsafe { &mut CALLBACKS } } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | / callbacks! { [INFO] [stdout] 28 | | OnFrame(FnMut() -> ControlFlow) : on_frame, [INFO] [stdout] 29 | | OnClose(FnMut(Window)) : on_close, [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `callbacks` (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 1m 03s [INFO] running `Command { std: "docker" "inspect" "e32159cd75c6db1bdf94b18b2d8bd0863aeb5cc198cddc0b26622c47a015312f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32159cd75c6db1bdf94b18b2d8bd0863aeb5cc198cddc0b26622c47a015312f", kill_on_drop: false }` [INFO] [stdout] e32159cd75c6db1bdf94b18b2d8bd0863aeb5cc198cddc0b26622c47a015312f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03cdef3a80aea603e850c31888f8fc7388858e3e330a399778bc199ab0a44e48 [INFO] running `Command { std: "docker" "start" "-a" "03cdef3a80aea603e850c31888f8fc7388858e3e330a399778bc199ab0a44e48", kill_on_drop: false }` [INFO] [stderr] Compiling qqx v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_fn_floating_point_arithmetic` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn_floating_point_arithmetic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/window/builder.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | WINDOWS.push(dpy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/window/builder.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Window(WINDOWS.len() - 1) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/window/builder.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | while i < WINDOWS.len() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { EVENTLOOP.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EVENTLOOP.take().unwrap().run(|event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/callback/mod.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) fn callbacks() -> &'static mut Callbacks { unsafe { &mut CALLBACKS } } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | / callbacks! { [INFO] [stdout] 28 | | OnFrame(FnMut() -> ControlFlow) : on_frame, [INFO] [stdout] 29 | | OnClose(FnMut(Window)) : on_close, [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `callbacks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_floating_point_arithmetic` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn_floating_point_arithmetic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/window/builder.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | WINDOWS.push(dpy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/window/builder.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Window(WINDOWS.len() - 1) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/window/builder.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | while i < WINDOWS.len() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { EVENTLOOP.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EVENTLOOP.take().unwrap().run(|event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/event/callback/mod.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) fn callbacks() -> &'static mut Callbacks { unsafe { &mut CALLBACKS } } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | / callbacks! { [INFO] [stdout] 28 | | OnFrame(FnMut() -> ControlFlow) : on_frame, [INFO] [stdout] 29 | | OnClose(FnMut(Window)) : on_close, [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `callbacks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "03cdef3a80aea603e850c31888f8fc7388858e3e330a399778bc199ab0a44e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03cdef3a80aea603e850c31888f8fc7388858e3e330a399778bc199ab0a44e48", kill_on_drop: false }` [INFO] [stdout] 03cdef3a80aea603e850c31888f8fc7388858e3e330a399778bc199ab0a44e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29479bbbe4ae2982c69162397861f960291fccd650cf21c8355aa0c0fa50b118 [INFO] running `Command { std: "docker" "start" "-a" "29479bbbe4ae2982c69162397861f960291fccd650cf21c8355aa0c0fa50b118", kill_on_drop: false }` [INFO] [stderr] warning: the feature `const_fn_floating_point_arithmetic` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(const_fn_floating_point_arithmetic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/window/builder.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | WINDOWS.push(dpy); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/window/builder.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | Window(WINDOWS.len() - 1) [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/window/builder.rs:63:23 [INFO] [stderr] | [INFO] [stderr] 63 | while i < WINDOWS.len() { [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/event/mod.rs:21:18 [INFO] [stderr] | [INFO] [stderr] 21 | unsafe { EVENTLOOP.as_mut().unwrap() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/event/mod.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | EVENTLOOP.take().unwrap().run(|event, _, control_flow| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/event/callback/mod.rs:23:77 [INFO] [stderr] | [INFO] [stderr] 23 | pub(super) fn callbacks() -> &'static mut Callbacks { unsafe { &mut CALLBACKS } } [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 27 | / callbacks! { [INFO] [stderr] 28 | | OnFrame(FnMut() -> ControlFlow) : on_frame, [INFO] [stderr] 29 | | OnClose(FnMut(Window)) : on_close, [INFO] [stderr] 30 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `callbacks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `qqx` (lib) generated 7 warnings [INFO] [stderr] warning: `qqx` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qqx-28a74efb8ad4a73e) [INFO] [stderr] [INFO] [stderr] thread '' (24) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.25.0/src/platform_impl/linux/mod.rs:612:9: [INFO] [stderr] Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: XOpenDisplayFailed [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x56b200e69d82 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x56b200e69d82 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x56b200e69d82 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x56b200e69d82 - ::fmt::hb1988e8b50fa5f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x56b200e7a4af - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x56b200e7a4af - core::fmt::write::hcd056e06a609f600 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x56b200e35bc1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x56b200e35bc1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x56b200e42152 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x56b200e471bf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x56b200e47019 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x56b200e47845 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x56b200e476da - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x56b200e42299 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x56b200e2976d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x56b200e82260 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x56b200caf3af - winit::platform_impl::platform::EventLoop::new_any_thread::hc91b11823f74bb1b [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.25.0/src/platform_impl/linux/mod.rs:612:9 [INFO] [stderr] 17: 0x56b200caf62b - winit::platform_impl::platform::EventLoop::new::h8d901552cde0dee8 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.25.0/src/platform_impl/linux/mod.rs:567:9 [INFO] [stderr] 18: 0x56b200ca270c - winit::event_loop::EventLoop::with_user_event::h776bbedd9eb241f5 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.25.0/src/event_loop.rs:134:25 [INFO] [stderr] 19: 0x56b200ca273e - winit::event_loop::EventLoop<()>::new::h3f26759f5a826134 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.25.0/src/event_loop.rs:120:9 [INFO] [stderr] 20: 0x56b200bd81d8 - qqx::event::init::h14629a4cfd8e6a8f [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:16:31 [INFO] [stderr] 21: 0x56b200bd81d8 - qqx::event::init___rust_ctor___ctor::init___rust_ctor___ctor::h5ebc963cb760db41 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] 22: 0x742922712304 - __libc_start_main [INFO] [stderr] 23: 0x56b200bd80d5 - _start [INFO] [stderr] 24: 0x0 - [INFO] [stderr] [INFO] [stderr] thread '' (24) panicked at library/core/src/panicking.rs:228:5: [INFO] [stderr] panic in a function that cannot unwind [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x56b200e69d82 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x56b200e69d82 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x56b200e69d82 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x56b200e69d82 - ::fmt::hb1988e8b50fa5f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x56b200e7a4af - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x56b200e7a4af - core::fmt::write::hcd056e06a609f600 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x56b200e35bc1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x56b200e35bc1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x56b200e42152 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x56b200e471bf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x56b200e47019 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x56b200e47845 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x56b200e476a6 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stderr] 13: 0x56b200e42299 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x56b200e2976d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x56b200e81fad - core::panicking::panic_nounwind_fmt::runtime::h4ec66813e41e0d5b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:120:22 [INFO] [stderr] 16: 0x56b200e81fad - core::panicking::panic_nounwind_fmt::h104e567e1186279f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 17: 0x56b200e81ef2 - core::panicking::panic_nounwind::h94445796f6829300 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:228:5 [INFO] [stderr] 18: 0x56b200e82107 - core::panicking::panic_cannot_unwind::h67a3211f62a402d8 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:340:5 [INFO] [stderr] 19: 0x56b200bd81e0 - qqx::event::init::h14629a4cfd8e6a8f [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] 20: 0x56b200bd81e0 - qqx::event::init___rust_ctor___ctor::init___rust_ctor___ctor::h5ebc963cb760db41 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] 21: 0x742922712304 - __libc_start_main [INFO] [stderr] 22: 0x56b200bd80d5 - _start [INFO] [stderr] 23: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/qqx-28a74efb8ad4a73e` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "29479bbbe4ae2982c69162397861f960291fccd650cf21c8355aa0c0fa50b118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29479bbbe4ae2982c69162397861f960291fccd650cf21c8355aa0c0fa50b118", kill_on_drop: false }` [INFO] [stdout] 29479bbbe4ae2982c69162397861f960291fccd650cf21c8355aa0c0fa50b118