[INFO] fetching crate gstd 1.4.1... [INFO] checking gstd-1.4.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate gstd 1.4.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate gstd 1.4.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gstd 1.4.1 [INFO] finished tweaking crates.io crate gstd 1.4.1 [INFO] tweaked toml for crates.io crate gstd 1.4.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding enum-iterator v1.5.0 (latest: v2.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gstd-codegen v1.4.1 [INFO] [stderr] Downloaded galloc v1.4.1 [INFO] [stderr] Downloaded gear-stack-buffer v1.4.1 [INFO] [stderr] Downloaded gcore v1.4.1 [INFO] [stderr] Downloaded gsys v1.4.1 [INFO] [stderr] Downloaded gear-core-errors v1.4.1 [INFO] [stderr] Downloaded gear-ss58 v1.4.1 [INFO] [stderr] Downloaded str-buf v3.0.3 [INFO] [stderr] Downloaded libc-print v0.1.23 [INFO] [stderr] Downloaded page_size v0.6.0 [INFO] [stderr] Downloaded gear-dlmalloc v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34022e142dbffebf97c48d3c2d3f7ac2e4820f3b1505c7027cb4b8101e0381fe [INFO] running `Command { std: "docker" "start" "-a" "34022e142dbffebf97c48d3c2d3f7ac2e4820f3b1505c7027cb4b8101e0381fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34022e142dbffebf97c48d3c2d3f7ac2e4820f3b1505c7027cb4b8101e0381fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34022e142dbffebf97c48d3c2d3f7ac2e4820f3b1505c7027cb4b8101e0381fe", kill_on_drop: false }` [INFO] [stdout] 34022e142dbffebf97c48d3c2d3f7ac2e4820f3b1505c7027cb4b8101e0381fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cf49022115b35a0c222b62c6d7acd8fa572845e1c3a96969df5ca53855f7597 [INFO] running `Command { std: "docker" "start" "-a" "6cf49022115b35a0c222b62c6d7acd8fa572845e1c3a96969df5ca53855f7597", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling gear-stack-buffer v1.4.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking libc-print v0.1.23 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking str-buf v3.0.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking gsys v1.4.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking galloc v1.4.1 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling gear-ss58 v1.4.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling gstd-codegen v1.4.1 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking gear-core-errors v1.4.1 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking gcore v1.4.1 [INFO] [stderr] Checking gstd v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.02s [INFO] running `Command { std: "docker" "inspect" "6cf49022115b35a0c222b62c6d7acd8fa572845e1c3a96969df5ca53855f7597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf49022115b35a0c222b62c6d7acd8fa572845e1c3a96969df5ca53855f7597", kill_on_drop: false }` [INFO] [stdout] 6cf49022115b35a0c222b62c6d7acd8fa572845e1c3a96969df5ca53855f7597 [INFO] checking gstd-1.4.1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate gstd 1.4.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate gstd 1.4.1 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gstd 1.4.1 [INFO] finished tweaking crates.io crate gstd 1.4.1 [INFO] tweaked toml for crates.io crate gstd 1.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding enum-iterator v1.5.0 (latest: v2.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad2c077506317b53d8dd2c64a090a0f44c8b1717ad5a7de28dd156ce70a911d [INFO] running `Command { std: "docker" "start" "-a" "2ad2c077506317b53d8dd2c64a090a0f44c8b1717ad5a7de28dd156ce70a911d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad2c077506317b53d8dd2c64a090a0f44c8b1717ad5a7de28dd156ce70a911d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad2c077506317b53d8dd2c64a090a0f44c8b1717ad5a7de28dd156ce70a911d", kill_on_drop: false }` [INFO] [stdout] 2ad2c077506317b53d8dd2c64a090a0f44c8b1717ad5a7de28dd156ce70a911d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37a15176f51ec9a222a6afbf420c2fcbf8bbff447d30fd6f3d6b0335f17d1f73 [INFO] running `Command { std: "docker" "start" "-a" "37a15176f51ec9a222a6afbf420c2fcbf8bbff447d30fd6f3d6b0335f17d1f73", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling gear-stack-buffer v1.4.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking libc-print v0.1.23 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking str-buf v3.0.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking gsys v1.4.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking galloc v1.4.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling gear-ss58 v1.4.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling gstd-codegen v1.4.1 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking gear-core-errors v1.4.1 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking gcore v1.4.1 [INFO] [stderr] Checking gstd v1.4.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/debug.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/debug.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(unsafe { &DEBUG_MSG }, b"42"); [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(unsafe { addr_of!(DEBUG_MSG) }, b"42"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/debug.rs (1 fix) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/debug.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(unsafe { &DEBUG_MSG }, b"Formatted: value = 42"); [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] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(unsafe { addr_of!(DEBUG_MSG) }, b"Formatted: value = 42"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/debug.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(unsafe { &DEBUG_MSG }, b"String literal"); [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] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(unsafe { addr_of!(DEBUG_MSG) }, b"String literal"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/debug.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { &DEBUG_MSG }, [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] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { addr_of!(DEBUG_MSG) }, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.46s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: failed to parse manifest at `/tmp/fixit/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] feature `panic-handler` includes `const_format` which is neither a dependency nor another feature [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "37a15176f51ec9a222a6afbf420c2fcbf8bbff447d30fd6f3d6b0335f17d1f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a15176f51ec9a222a6afbf420c2fcbf8bbff447d30fd6f3d6b0335f17d1f73", kill_on_drop: false }` [INFO] [stdout] 37a15176f51ec9a222a6afbf420c2fcbf8bbff447d30fd6f3d6b0335f17d1f73