[INFO] fetching crate sapp-linux 0.1.15... [INFO] checking sapp-linux-0.1.15 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate sapp-linux 0.1.15 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate sapp-linux 0.1.15 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapp-linux 0.1.15 [INFO] finished tweaking crates.io crate sapp-linux 0.1.15 [INFO] tweaked toml for crates.io crate sapp-linux 0.1.15 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e2b327540585ebccf2c8cd76543dccd84c7213412cf1ce7eb2984722664a64 [INFO] running `Command { std: "docker" "start" "-a" "d7e2b327540585ebccf2c8cd76543dccd84c7213412cf1ce7eb2984722664a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e2b327540585ebccf2c8cd76543dccd84c7213412cf1ce7eb2984722664a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e2b327540585ebccf2c8cd76543dccd84c7213412cf1ce7eb2984722664a64", kill_on_drop: false }` [INFO] [stdout] d7e2b327540585ebccf2c8cd76543dccd84c7213412cf1ce7eb2984722664a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 515c40c3b947673b43890f1927eee2b7d2d64bd4847b63546d39dfb7af001e48 [INFO] running `Command { std: "docker" "start" "-a" "515c40c3b947673b43890f1927eee2b7d2d64bd4847b63546d39dfb7af001e48", kill_on_drop: false }` [INFO] [stderr] Compiling sapp-linux v0.1.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cursor`, `Pixmap` [INFO] [stdout] --> src/x.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | CWColormap, CWEventMask, Colormap, ControlMask, Cursor, EnterWindowMask, ExposureMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | FocusChangeMask, GrabModeAsync, InputOutput, IsViewable, KeyCode, KeyPressMask, KeyReleaseMask, [INFO] [stdout] 11 | KeySym, KeymapStateMask, LeaveWindowMask, Mod1Mask, Mod4Mask, Pixmap, PointerMotionHintMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XErrorHandler`, `XKeyEvent`, `XPointer`, `XSelectionRequestEvent`, `_XrmHashBucketRec` [INFO] [stdout] --> src/x.rs:17:81 [INFO] [stdout] | [INFO] [stdout] 17 | XCloseDisplay, XCreateColormap, XCreateWindow, XDestroyWindow, XErrorEvent, XErrorHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | XEvent, XFlush, XFree, XFreeColormap, XGetKeyboardMapping, XGetWindowAttributes, [INFO] [stdout] 19 | XGetWindowProperty, XGrabPointer, XInitThreads, XInternAtom, XKeyEvent, XLowerWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | XMapWindow, XNextEvent, XOpenDisplay, XPending, XPointer, XRaiseWindow, XResourceManagerString, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | XSelectionEvent, XSelectionRequestEvent, XSetErrorHandler, XSetWMProtocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | XSetWindowAttributes, XSync, XUngrabPointer, XUnmapWindow, XWindowAttributes, XrmInitialize, [INFO] [stdout] 23 | _XEvent, _XPrivDisplay, _XrmHashBucketRec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XrmDatabase` [INFO] [stdout] --> src/x.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | XrmDatabase, XrmDestroyDatabase, XrmGetResource, XrmGetStringDatabase, XrmValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XClassHint`, `XComposeStatus`, `XSizeHints`, `XWMHints` [INFO] [stdout] --> src/x.rs:30:97 [INFO] [stdout] | [INFO] [stdout] 30 | IconicState, NormalState, PMinSize, PMaxSize, PWinGravity, WithdrawnState, XAllocSizeHints, XClassHint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | XComposeStatus, XLookupString, XSetWMNormalHints, XSizeHints, XVisualInfo, XWMHints, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Pixmap` [INFO] [stdout] --> src/x.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | CWColormap, CWEventMask, Colormap, ControlMask, Cursor, EnterWindowMask, ExposureMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | FocusChangeMask, GrabModeAsync, InputOutput, IsViewable, KeyCode, KeyPressMask, KeyReleaseMask, [INFO] [stdout] 11 | KeySym, KeymapStateMask, LeaveWindowMask, Mod1Mask, Mod4Mask, Pixmap, PointerMotionHintMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XErrorHandler`, `XKeyEvent`, `XPointer`, `XSelectionRequestEvent`, `_XrmHashBucketRec` [INFO] [stdout] --> src/x.rs:17:81 [INFO] [stdout] | [INFO] [stdout] 17 | XCloseDisplay, XCreateColormap, XCreateWindow, XDestroyWindow, XErrorEvent, XErrorHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | XEvent, XFlush, XFree, XFreeColormap, XGetKeyboardMapping, XGetWindowAttributes, [INFO] [stdout] 19 | XGetWindowProperty, XGrabPointer, XInitThreads, XInternAtom, XKeyEvent, XLowerWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | XMapWindow, XNextEvent, XOpenDisplay, XPending, XPointer, XRaiseWindow, XResourceManagerString, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | XSelectionEvent, XSelectionRequestEvent, XSetErrorHandler, XSetWMProtocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | XSetWindowAttributes, XSync, XUngrabPointer, XUnmapWindow, XWindowAttributes, XrmInitialize, [INFO] [stdout] 23 | _XEvent, _XPrivDisplay, _XrmHashBucketRec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XrmDatabase` [INFO] [stdout] --> src/x.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | XrmDatabase, XrmDestroyDatabase, XrmGetResource, XrmGetStringDatabase, XrmValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XClassHint`, `XComposeStatus`, `XSizeHints`, `XWMHints` [INFO] [stdout] --> src/x.rs:30:97 [INFO] [stdout] | [INFO] [stdout] 30 | IconicState, NormalState, PMinSize, PMaxSize, PWinGravity, WithdrawnState, XAllocSizeHints, XClassHint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | XComposeStatus, XLookupString, XSetWMNormalHints, XSizeHints, XVisualInfo, XWMHints, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | &_sapp_x11_XDND_VERSION as *const _ as *const libc::c_uchar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 532 | addr_of!(_sapp_x11_XDND_VERSION) as *const _ as *const libc::c_uchar, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | &mut _sapp as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 565 | addr_of_mut!(_sapp) as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | &mut _sapp_glx_errorbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | addr_of_mut!(_sapp_glx_errorbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | &mut _sapp_glx_eventbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 848 | addr_of_mut!(_sapp_glx_eventbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | &mut _sapp_glx_major, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | addr_of_mut!(_sapp_glx_major), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | &mut _sapp_glx_minor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 856 | addr_of_mut!(_sapp_glx_minor), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | &_sapp_x11_XDND_VERSION as *const _ as *const libc::c_uchar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 532 | addr_of!(_sapp_x11_XDND_VERSION) as *const _ as *const libc::c_uchar, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | &mut _sapp as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 565 | addr_of_mut!(_sapp) as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | &mut _sapp_glx_errorbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | addr_of_mut!(_sapp_glx_errorbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | &mut _sapp_glx_eventbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 848 | addr_of_mut!(_sapp_glx_eventbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | &mut _sapp_glx_major, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | addr_of_mut!(_sapp_glx_major), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | &mut _sapp_glx_minor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 856 | addr_of_mut!(_sapp_glx_minor), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "515c40c3b947673b43890f1927eee2b7d2d64bd4847b63546d39dfb7af001e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515c40c3b947673b43890f1927eee2b7d2d64bd4847b63546d39dfb7af001e48", kill_on_drop: false }` [INFO] [stdout] 515c40c3b947673b43890f1927eee2b7d2d64bd4847b63546d39dfb7af001e48 [INFO] checking sapp-linux-0.1.15 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate sapp-linux 0.1.15 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate sapp-linux 0.1.15 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapp-linux 0.1.15 [INFO] finished tweaking crates.io crate sapp-linux 0.1.15 [INFO] tweaked toml for crates.io crate sapp-linux 0.1.15 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4190f432c6b339409d1e830ee3b243f3b46f36238df63ec0853c592944cbe7a8 [INFO] running `Command { std: "docker" "start" "-a" "4190f432c6b339409d1e830ee3b243f3b46f36238df63ec0853c592944cbe7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4190f432c6b339409d1e830ee3b243f3b46f36238df63ec0853c592944cbe7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4190f432c6b339409d1e830ee3b243f3b46f36238df63ec0853c592944cbe7a8", kill_on_drop: false }` [INFO] [stdout] 4190f432c6b339409d1e830ee3b243f3b46f36238df63ec0853c592944cbe7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fd6e1a14f2dd12f02f499c5cb58b67ae4a5ec1305e18e5d7ed4741f675bcc5d [INFO] running `Command { std: "docker" "start" "-a" "7fd6e1a14f2dd12f02f499c5cb58b67ae4a5ec1305e18e5d7ed4741f675bcc5d", kill_on_drop: false }` [INFO] [stderr] Compiling sapp-linux v0.1.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cursor`, `Pixmap` [INFO] [stdout] --> src/x.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | CWColormap, CWEventMask, Colormap, ControlMask, Cursor, EnterWindowMask, ExposureMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | FocusChangeMask, GrabModeAsync, InputOutput, IsViewable, KeyCode, KeyPressMask, KeyReleaseMask, [INFO] [stdout] 11 | KeySym, KeymapStateMask, LeaveWindowMask, Mod1Mask, Mod4Mask, Pixmap, PointerMotionHintMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XErrorHandler`, `XKeyEvent`, `XPointer`, `XSelectionRequestEvent`, `_XrmHashBucketRec` [INFO] [stdout] --> src/x.rs:17:81 [INFO] [stdout] | [INFO] [stdout] 17 | XCloseDisplay, XCreateColormap, XCreateWindow, XDestroyWindow, XErrorEvent, XErrorHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | XEvent, XFlush, XFree, XFreeColormap, XGetKeyboardMapping, XGetWindowAttributes, [INFO] [stdout] 19 | XGetWindowProperty, XGrabPointer, XInitThreads, XInternAtom, XKeyEvent, XLowerWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | XMapWindow, XNextEvent, XOpenDisplay, XPending, XPointer, XRaiseWindow, XResourceManagerString, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | XSelectionEvent, XSelectionRequestEvent, XSetErrorHandler, XSetWMProtocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | XSetWindowAttributes, XSync, XUngrabPointer, XUnmapWindow, XWindowAttributes, XrmInitialize, [INFO] [stdout] 23 | _XEvent, _XPrivDisplay, _XrmHashBucketRec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XrmDatabase` [INFO] [stdout] --> src/x.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | XrmDatabase, XrmDestroyDatabase, XrmGetResource, XrmGetStringDatabase, XrmValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XClassHint`, `XComposeStatus`, `XSizeHints`, `XWMHints` [INFO] [stdout] --> src/x.rs:30:97 [INFO] [stdout] | [INFO] [stdout] 30 | IconicState, NormalState, PMinSize, PMaxSize, PWinGravity, WithdrawnState, XAllocSizeHints, XClassHint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | XComposeStatus, XLookupString, XSetWMNormalHints, XSizeHints, XVisualInfo, XWMHints, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Pixmap` [INFO] [stdout] --> src/x.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | CWColormap, CWEventMask, Colormap, ControlMask, Cursor, EnterWindowMask, ExposureMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | FocusChangeMask, GrabModeAsync, InputOutput, IsViewable, KeyCode, KeyPressMask, KeyReleaseMask, [INFO] [stdout] 11 | KeySym, KeymapStateMask, LeaveWindowMask, Mod1Mask, Mod4Mask, Pixmap, PointerMotionHintMask, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XErrorHandler`, `XKeyEvent`, `XPointer`, `XSelectionRequestEvent`, `_XrmHashBucketRec` [INFO] [stdout] --> src/x.rs:17:81 [INFO] [stdout] | [INFO] [stdout] 17 | XCloseDisplay, XCreateColormap, XCreateWindow, XDestroyWindow, XErrorEvent, XErrorHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | XEvent, XFlush, XFree, XFreeColormap, XGetKeyboardMapping, XGetWindowAttributes, [INFO] [stdout] 19 | XGetWindowProperty, XGrabPointer, XInitThreads, XInternAtom, XKeyEvent, XLowerWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | XMapWindow, XNextEvent, XOpenDisplay, XPending, XPointer, XRaiseWindow, XResourceManagerString, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | XSelectionEvent, XSelectionRequestEvent, XSetErrorHandler, XSetWMProtocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | XSetWindowAttributes, XSync, XUngrabPointer, XUnmapWindow, XWindowAttributes, XrmInitialize, [INFO] [stdout] 23 | _XEvent, _XPrivDisplay, _XrmHashBucketRec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XrmDatabase` [INFO] [stdout] --> src/x.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | XrmDatabase, XrmDestroyDatabase, XrmGetResource, XrmGetStringDatabase, XrmValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XClassHint`, `XComposeStatus`, `XSizeHints`, `XWMHints` [INFO] [stdout] --> src/x.rs:30:97 [INFO] [stdout] | [INFO] [stdout] 30 | IconicState, NormalState, PMinSize, PMaxSize, PWinGravity, WithdrawnState, XAllocSizeHints, XClassHint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | XComposeStatus, XLookupString, XSetWMNormalHints, XSizeHints, XVisualInfo, XWMHints, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | &_sapp_x11_XDND_VERSION as *const _ as *const libc::c_uchar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 532 | addr_of!(_sapp_x11_XDND_VERSION) as *const _ as *const libc::c_uchar, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | &mut _sapp as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 565 | addr_of_mut!(_sapp) as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> src/lib.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | } else if _sapp_glx_GetProcAddressARB.is_some() { [INFO] [stdout] | ____________^ [INFO] [stdout] 749 | | return ::std::mem::transmute_copy::<_, T>(&_sapp_glx_GetProcAddressARB [INFO] [stdout] 750 | | .expect("non-null function pointer")( [INFO] [stdout] 751 | | procname [INFO] [stdout] ... | [INFO] [stdout] 754 | | return ::std::mem::transmute_copy::<_, T>(&dlsym(_sapp_glx_libgl, procname as _)); [INFO] [stdout] 755 | | }; [INFO] [stdout] | |_____^ cannot satisfy `_ -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | &mut _sapp_glx_errorbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | addr_of_mut!(_sapp_glx_errorbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | &mut _sapp_glx_eventbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 848 | addr_of_mut!(_sapp_glx_eventbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | &mut _sapp_glx_major, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | addr_of_mut!(_sapp_glx_major), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | &mut _sapp_glx_minor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 856 | addr_of_mut!(_sapp_glx_minor), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | &_sapp_x11_XDND_VERSION as *const _ as *const libc::c_uchar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 532 | addr_of!(_sapp_x11_XDND_VERSION) as *const _ as *const libc::c_uchar, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | &mut _sapp as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 565 | addr_of_mut!(_sapp) as *mut _sapp_state as *mut libc::c_void, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> src/lib.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | } else if _sapp_glx_GetProcAddressARB.is_some() { [INFO] [stdout] | ____________^ [INFO] [stdout] 749 | | return ::std::mem::transmute_copy::<_, T>(&_sapp_glx_GetProcAddressARB [INFO] [stdout] 750 | | .expect("non-null function pointer")( [INFO] [stdout] 751 | | procname [INFO] [stdout] ... | [INFO] [stdout] 754 | | return ::std::mem::transmute_copy::<_, T>(&dlsym(_sapp_glx_libgl, procname as _)); [INFO] [stdout] 755 | | }; [INFO] [stdout] | |_____^ cannot satisfy `_ -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | &mut _sapp_glx_errorbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 847 | addr_of_mut!(_sapp_glx_errorbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | &mut _sapp_glx_eventbase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 848 | addr_of_mut!(_sapp_glx_eventbase), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | &mut _sapp_glx_major, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 855 | addr_of_mut!(_sapp_glx_major), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | &mut _sapp_glx_minor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 856 | addr_of_mut!(_sapp_glx_minor), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sapp-linux` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sapp-linux` (lib) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7fd6e1a14f2dd12f02f499c5cb58b67ae4a5ec1305e18e5d7ed4741f675bcc5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd6e1a14f2dd12f02f499c5cb58b67ae4a5ec1305e18e5d7ed4741f675bcc5d", kill_on_drop: false }` [INFO] [stdout] 7fd6e1a14f2dd12f02f499c5cb58b67ae4a5ec1305e18e5d7ed4741f675bcc5d