[INFO] fetching crate xcb 1.4.0... [INFO] checking xcb-1.4.0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate xcb 1.4.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate xcb 1.4.0 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xcb 1.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate xcb 1.4.0 [INFO] tweaked toml for crates.io crate xcb 1.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate xcb 1.4.0 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded as-raw-xcb-connection v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ca2c9837c49e2b8d40b9b3b6e40172e6b39a12648f5dc37818d5d68a5110f3a [INFO] running `Command { std: "docker" "start" "-a" "4ca2c9837c49e2b8d40b9b3b6e40172e6b39a12648f5dc37818d5d68a5110f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ca2c9837c49e2b8d40b9b3b6e40172e6b39a12648f5dc37818d5d68a5110f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca2c9837c49e2b8d40b9b3b6e40172e6b39a12648f5dc37818d5d68a5110f3a", kill_on_drop: false }` [INFO] [stdout] 4ca2c9837c49e2b8d40b9b3b6e40172e6b39a12648f5dc37818d5d68a5110f3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 136915eb9a239c7f960b249db6bae162875445fcad7a0ce88b1490d80c15fe2c [INFO] running `Command { std: "docker" "start" "-a" "136915eb9a239c7f960b249db6bae162875445fcad7a0ce88b1490d80c15fe2c", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling xcb v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `wire_off` is never read [INFO] [stdout] --> build/cg/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 158 | Expr { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 161 | wire_off: Expr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wire_off` is never read [INFO] [stdout] --> build/cg/mod.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 165 | Pad { [INFO] [stdout] | --- field in this variant [INFO] [stdout] 166 | wire_off: Expr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wire_off` is never read [INFO] [stdout] --> build/cg/mod.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | AlignPad { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 170 | wire_off: Expr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WireOff` is never used [INFO] [stdout] --> build/cg/mod.rs:1127:7 [INFO] [stdout] | [INFO] [stdout] 1127 | trait WireOff { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ` and `text` are never read [INFO] [stdout] --> build/cg/doc.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DocError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ` and `name` are never read [INFO] [stdout] --> build/cg/doc.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DocSee { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 28 | pub typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocSee` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `errors` and `sees` are never read [INFO] [stdout] --> build/cg/doc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Doc { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | pub sees: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Doc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ext.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | Extension::BigRequests => &mut crate::bigreq::FFI_EXT, [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | Extension::BigRequests => addr_of_mut!(crate::bigreq::FFI_EXT), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ext.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | Extension::XcMisc => &mut crate::xc_misc::FFI_EXT, [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] 337 | Extension::XcMisc => addr_of_mut!(crate::xc_misc::FFI_EXT), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ext.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | Extension::BigRequests => &mut crate::bigreq::FFI_EXT, [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | Extension::BigRequests => addr_of_mut!(crate::bigreq::FFI_EXT), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ext.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | Extension::XcMisc => &mut crate::xc_misc::FFI_EXT, [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] 337 | Extension::XcMisc => addr_of_mut!(crate::xc_misc::FFI_EXT), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/bigreq.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/bigreq.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/bigreq.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | ext: (&mut FFI_EXT) as *mut _, [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] 217 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | ext: (&mut FFI_EXT) as *mut _, [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] 230 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:425:18 [INFO] [stdout] | [INFO] [stdout] 425 | ext: (&mut FFI_EXT) as *mut _, [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] 425 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 642 | ext: (&mut FFI_EXT) as *mut _, [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] 642 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/bigreq.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/bigreq.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/bigreq.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | ext: (&mut FFI_EXT) as *mut _, [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] 217 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 34 | xcb_prefetch_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), &mut FFI_EXT as *mut _); [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] 45 | let reply = xcb_get_extension_data(conn.get_raw_conn(), addr_of_mut!(FFI_EXT) as *mut _); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | ext: (&mut FFI_EXT) as *mut _, [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] 230 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:425:18 [INFO] [stdout] | [INFO] [stdout] 425 | ext: (&mut FFI_EXT) as *mut _, [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] 425 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/xcb-feb70cf96e552672/out/xc_misc.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 642 | ext: (&mut FFI_EXT) as *mut _, [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] 642 | ext: addr_of_mut!(FFI_EXT)) as *mut _, [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 4.58s [INFO] running `Command { std: "docker" "inspect" "136915eb9a239c7f960b249db6bae162875445fcad7a0ce88b1490d80c15fe2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "136915eb9a239c7f960b249db6bae162875445fcad7a0ce88b1490d80c15fe2c", kill_on_drop: false }` [INFO] [stdout] 136915eb9a239c7f960b249db6bae162875445fcad7a0ce88b1490d80c15fe2c