[INFO] fetching crate qqx 0.0.4... [INFO] testing qqx-0.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate qqx 0.0.4 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qqx 0.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio-misc v1.2.2 [INFO] [stderr] Downloaded qqx-macro v0.0.4 [INFO] [stderr] Downloaded backtrace v0.3.72 [INFO] [stderr] Downloaded glium v0.30.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d7fa1705b79bfaef88e86a23fd87f17fb3b13c3661e0edfdea0a03852fc7fed [INFO] running `Command { std: "docker" "start" "-a" "5d7fa1705b79bfaef88e86a23fd87f17fb3b13c3661e0edfdea0a03852fc7fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d7fa1705b79bfaef88e86a23fd87f17fb3b13c3661e0edfdea0a03852fc7fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d7fa1705b79bfaef88e86a23fd87f17fb3b13c3661e0edfdea0a03852fc7fed", kill_on_drop: false }` [INFO] [stdout] 5d7fa1705b79bfaef88e86a23fd87f17fb3b13c3661e0edfdea0a03852fc7fed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f47f41bbb9299e8d1927dcbc517da9134e74f81e68357de7ab766ef56288997d [INFO] running `Command { std: "docker" "start" "-a" "f47f41bbb9299e8d1927dcbc517da9134e74f81e68357de7ab766ef56288997d", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.19.0 [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 ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [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 xcursor v0.3.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [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 object v0.35.0 [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 owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [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 backtrace v0.3.72 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling glium v0.30.2 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling calloop v0.6.5 [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 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)]` 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 05s [INFO] running `Command { std: "docker" "inspect" "f47f41bbb9299e8d1927dcbc517da9134e74f81e68357de7ab766ef56288997d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f47f41bbb9299e8d1927dcbc517da9134e74f81e68357de7ab766ef56288997d", kill_on_drop: false }` [INFO] [stdout] f47f41bbb9299e8d1927dcbc517da9134e74f81e68357de7ab766ef56288997d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d43effcc040e4eedb23963fca766f438a264c1097632999b586daa94f0ed926c [INFO] running `Command { std: "docker" "start" "-a" "d43effcc040e4eedb23963fca766f438a264c1097632999b586daa94f0ed926c", 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)]` 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)]` 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 7.40s [INFO] running `Command { std: "docker" "inspect" "d43effcc040e4eedb23963fca766f438a264c1097632999b586daa94f0ed926c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d43effcc040e4eedb23963fca766f438a264c1097632999b586daa94f0ed926c", kill_on_drop: false }` [INFO] [stdout] d43effcc040e4eedb23963fca766f438a264c1097632999b586daa94f0ed926c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 51c447b5255f97af21c17da8df0d08d0719f491404f7cbeaf5b1717d87632ea0 [INFO] running `Command { std: "docker" "start" "-a" "51c447b5255f97af21c17da8df0d08d0719f491404f7cbeaf5b1717d87632ea0", 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)]` 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.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/qqx-4dedd3de06942d2b) [INFO] [stderr] [INFO] [stderr] thread '' 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: LibraryOpenError(OpenError { kind: Library, detail: "opening library failed (Dynamic loading not supported); opening library failed (Dynamic loading not supported); opening library failed (Dynamic loading not supported); opening library failed (Dynamic loading not supported)" }) [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x71037ccc4dc2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x71037ccc4dc2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x71037ccc4dc2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x71037ccc4dc2 - ::fmt::hb62c8ed31943daa5 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x71037cd017b3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x71037cd017b3 - core::fmt::write::h375399f8cb90b45a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stderr] 6: 0x71037ccc1f03 - std::io::default_write_fmt::h5b62fa6c96f0f73d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x71037ccc1f03 - std::io::Write::write_fmt::h8399aff377841b1f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x71037ccc4c12 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x71037ccc639c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x71037ccc619f - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x71037ccc6d32 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x71037ccc6aea - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x71037ccc52c9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x71037ccc677d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x71037ca45000 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x71037caee40c - winit::platform_impl::platform::EventLoop::new_any_thread::h1cbb4f1a1c9a676a [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: 0x71037caedf6b - winit::platform_impl::platform::EventLoop::new::h52689f109a4d0c8a [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: 0x71037caeb77c - winit::event_loop::EventLoop::with_user_event::h57f03204c51734ce [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: 0x71037caeb74e - winit::event_loop::EventLoop<()>::new::he765f1063eea8981 [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: 0x71037ca45af8 - qqx::event::init::he96f4d2e221cfbb6 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:16:31 [INFO] [stderr] 21: 0x71037ca45af8 - qqx::event::init___rust_ctor___ctor::init___rust_ctor___ctor::hec39660f26eea9bd [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] [INFO] [stderr] thread '' 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: 0x71037ccc4dc2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x71037ccc4dc2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x71037ccc4dc2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x71037ccc4dc2 - ::fmt::hb62c8ed31943daa5 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x71037cd017b3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x71037cd017b3 - core::fmt::write::h375399f8cb90b45a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stderr] 6: 0x71037ccc1f03 - std::io::default_write_fmt::h5b62fa6c96f0f73d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x71037ccc1f03 - std::io::Write::write_fmt::h8399aff377841b1f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x71037ccc4c12 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x71037ccc639c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x71037ccc619f - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x71037ccc6d32 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x71037ccc6ab6 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stderr] 13: 0x71037ccc52c9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x71037ccc677d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x71037ca4503d - core::panicking::panic_nounwind_fmt::runtime::h4165f4309fca3550 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:117:22 [INFO] [stderr] 16: 0x71037ca4503d - core::panicking::panic_nounwind_fmt::h4e78be162f75f82d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/intrinsics/mod.rs:2340:9 [INFO] [stderr] 17: 0x71037ca450d2 - core::panicking::panic_nounwind::hc293057e74d9bb94 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:225:5 [INFO] [stderr] 18: 0x71037ca45231 - core::panicking::panic_cannot_unwind::h92ed7fe8920ee3b9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:330:5 [INFO] [stderr] 19: 0x71037ca45b00 - qqx::event::init::he96f4d2e221cfbb6 [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [INFO] [stderr] 20: 0x71037ca45b00 - qqx::event::init___rust_ctor___ctor::init___rust_ctor___ctor::hec39660f26eea9bd [INFO] [stderr] at /opt/rustwide/workdir/src/event/mod.rs:13:1 [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/x86_64-unknown-linux-musl/debug/deps/qqx-4dedd3de06942d2b` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "51c447b5255f97af21c17da8df0d08d0719f491404f7cbeaf5b1717d87632ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c447b5255f97af21c17da8df0d08d0719f491404f7cbeaf5b1717d87632ea0", kill_on_drop: false }` [INFO] [stdout] 51c447b5255f97af21c17da8df0d08d0719f491404f7cbeaf5b1717d87632ea0