[INFO] fetching crate qqx 0.0.4... [INFO] testing qqx-0.0.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-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 b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 904e37ba9f1a14697effa6bca998bd55e0c8ee459d8001e441e361c557074326 [INFO] running `Command { std: "docker" "start" "-a" "904e37ba9f1a14697effa6bca998bd55e0c8ee459d8001e441e361c557074326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "904e37ba9f1a14697effa6bca998bd55e0c8ee459d8001e441e361c557074326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904e37ba9f1a14697effa6bca998bd55e0c8ee459d8001e441e361c557074326", kill_on_drop: false }` [INFO] [stdout] 904e37ba9f1a14697effa6bca998bd55e0c8ee459d8001e441e361c557074326 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5eff0bfaf2417083e985bd775f3a94ecd5e3805e078f993dda6a66dcdf2f14b [INFO] running `Command { std: "docker" "start" "-a" "b5eff0bfaf2417083e985bd775f3a94ecd5e3805e078f993dda6a66dcdf2f14b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.6.5 [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 gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [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 quote v1.0.36 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling object v0.35.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling backtrace v0.3.72 [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 owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling osmesa-sys v0.1.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 calloop v0.6.5 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling qqx-macro v0.0.4 [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 54.06s [INFO] running `Command { std: "docker" "inspect" "b5eff0bfaf2417083e985bd775f3a94ecd5e3805e078f993dda6a66dcdf2f14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5eff0bfaf2417083e985bd775f3a94ecd5e3805e078f993dda6a66dcdf2f14b", kill_on_drop: false }` [INFO] [stdout] b5eff0bfaf2417083e985bd775f3a94ecd5e3805e078f993dda6a66dcdf2f14b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f73527426512c657967a6b5ef381ef306a21976c0d85c94d65bbc6d846ab95bf [INFO] running `Command { std: "docker" "start" "-a" "f73527426512c657967a6b5ef381ef306a21976c0d85c94d65bbc6d846ab95bf", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "f73527426512c657967a6b5ef381ef306a21976c0d85c94d65bbc6d846ab95bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f73527426512c657967a6b5ef381ef306a21976c0d85c94d65bbc6d846ab95bf", kill_on_drop: false }` [INFO] [stdout] f73527426512c657967a6b5ef381ef306a21976c0d85c94d65bbc6d846ab95bf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3dcfdf240047c5595494d256c5c07b23a8de0d01e2b4c5dce7877603453b4d09 [INFO] running `Command { std: "docker" "start" "-a" "3dcfdf240047c5595494d256c5c07b23a8de0d01e2b4c5dce7877603453b4d09", 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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qqx-28a74efb8ad4a73e) [INFO] [stderr] [INFO] [stderr] thread '' (23) 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: 0x5b9a7e597b32 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5b9a7e597b32 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5b9a7e597b32 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5b9a7e597b32 - ::fmt::hffd20ad4e5eca8ab [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5b9a7e5a814f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5b9a7e5a814f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5b9a7e564043 - std::io::default_write_fmt::ha7130bf70117e1da [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5b9a7e564043 - std::io::Write::write_fmt::h22459ad26fe60c51 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5b9a7e570512 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5b9a7e57542f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5b9a7e575289 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5b9a7e575a05 - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x5b9a7e57589a - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x5b9a7e570649 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x5b9a7e557c2d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x5b9a7e5afef0 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x5b9a7e355bcf - winit::platform_impl::platform::EventLoop::new_any_thread::h946d006d2ef4432e [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: 0x5b9a7e355e4b - winit::platform_impl::platform::EventLoop::new::h8551e6dab0d03b3f [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: 0x5b9a7e3c02cc - winit::event_loop::EventLoop::with_user_event::hdba56a565224e239 [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: 0x5b9a7e3c02fe - winit::event_loop::EventLoop<()>::new::hea39973b4d8a0e34 [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: 0x5b9a7e304068 - qqx::event::init::hc6116b51ef69ebe1 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:16:31 [INFO] [stderr] 21: 0x5b9a7e304068 - qqx::event::init___rust_ctor___ctor::init___rust_ctor___ctor::hf2ce74a7c4d00760 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] 22: 0x74cc478f7304 - __libc_start_main [INFO] [stderr] 23: 0x5b9a7e303f65 - _start [INFO] [stderr] 24: 0x0 - [INFO] [stderr] [INFO] [stderr] thread '' (23) panicked at library/core/src/panicking.rs:225:5: [INFO] [stderr] panic in a function that cannot unwind [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5b9a7e597b32 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5b9a7e597b32 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5b9a7e597b32 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5b9a7e597b32 - ::fmt::hffd20ad4e5eca8ab [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5b9a7e5a814f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5b9a7e5a814f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5b9a7e564043 - std::io::default_write_fmt::ha7130bf70117e1da [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5b9a7e564043 - std::io::Write::write_fmt::h22459ad26fe60c51 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5b9a7e570512 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5b9a7e57542f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5b9a7e575289 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5b9a7e575a05 - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x5b9a7e575866 - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:700:13 [INFO] [stderr] 13: 0x5b9a7e570649 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x5b9a7e557c2d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x5b9a7e5afc3d - core::panicking::panic_nounwind_fmt::runtime::h0e9d970dfc029f14 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:117:22 [INFO] [stderr] 16: 0x5b9a7e5afc3d - core::panicking::panic_nounwind_fmt::h120e82628a1ba90a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/intrinsics/mod.rs:2380:9 [INFO] [stderr] 17: 0x5b9a7e5afb82 - core::panicking::panic_nounwind::h9253db62ce804be8 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:225:5 [INFO] [stderr] 18: 0x5b9a7e5afd97 - core::panicking::panic_cannot_unwind::hc150ece388003b54 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:337:5 [INFO] [stderr] 19: 0x5b9a7e304070 - qqx::event::init::hc6116b51ef69ebe1 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] 20: 0x5b9a7e304070 - qqx::event::init___rust_ctor___ctor::init___rust_ctor___ctor::hf2ce74a7c4d00760 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] 21: 0x74cc478f7304 - __libc_start_main [INFO] [stderr] 22: 0x5b9a7e303f65 - _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" "3dcfdf240047c5595494d256c5c07b23a8de0d01e2b4c5dce7877603453b4d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dcfdf240047c5595494d256c5c07b23a8de0d01e2b4c5dce7877603453b4d09", kill_on_drop: false }` [INFO] [stdout] 3dcfdf240047c5595494d256c5c07b23a8de0d01e2b4c5dce7877603453b4d09