[INFO] fetching crate shopify_function 0.5.0... [INFO] checking shopify_function-0.5.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate shopify_function 0.5.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate shopify_function 0.5.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shopify_function 0.5.0 [INFO] finished tweaking crates.io crate shopify_function 0.5.0 [INFO] tweaked toml for crates.io crate shopify_function 0.5.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages [INFO] [stderr] Adding ascii v0.9.3 (latest: v1.1.0) [INFO] [stderr] Adding combine v3.8.1 (latest: v4.6.6) [INFO] [stderr] Adding graphql_client v0.13.0 (latest: v0.14.0) [INFO] [stderr] Adding graphql_client_codegen v0.13.0 (latest: v0.14.0) [INFO] [stderr] Adding graphql_query_derive v0.13.0 (latest: v0.14.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding shopify_function_macro v0.5.0 (latest: v0.7.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphql-parser v0.4.0 [INFO] [stderr] Downloaded graphql-introspection-query v0.2.0 [INFO] [stderr] Downloaded graphql_query_derive v0.13.0 [INFO] [stderr] Downloaded graphql_client_codegen v0.13.0 [INFO] [stderr] Downloaded graphql_client v0.13.0 [INFO] [stderr] Downloaded shopify_function_macro v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c60308478ecfca44791c563edd3d0beb5d48c1a1ecb52bed983a1c4ef3be272a [INFO] running `Command { std: "docker" "start" "-a" "c60308478ecfca44791c563edd3d0beb5d48c1a1ecb52bed983a1c4ef3be272a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c60308478ecfca44791c563edd3d0beb5d48c1a1ecb52bed983a1c4ef3be272a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c60308478ecfca44791c563edd3d0beb5d48c1a1ecb52bed983a1c4ef3be272a", kill_on_drop: false }` [INFO] [stdout] c60308478ecfca44791c563edd3d0beb5d48c1a1ecb52bed983a1c4ef3be272a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2aa893c159bb26836b4fb650a79967d45f2e2f1c01322b14be08122975bd95f [INFO] running `Command { std: "docker" "start" "-a" "a2aa893c159bb26836b4fb650a79967d45f2e2f1c01322b14be08122975bd95f", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling shopify_function_macro v0.5.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Checking shopify_function v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling graphql-parser v0.4.0 [INFO] [stderr] Compiling graphql_client_codegen v0.13.0 [INFO] [stderr] Compiling graphql_query_derive v0.13.0 [INFO] [stderr] Checking graphql_client v0.13.0 [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/shopify_function.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_types!( [INFO] [stdout] 12 | | query_path = "./tests/fixtures/input.graphql", [INFO] [stdout] 13 | | schema_path = "./tests/fixtures/schema.graphql" [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not create output query file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/generate_types.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / generate_types!( [INFO] [stdout] 4 | | query_path = "./tests/fixtures/input.graphql", [INFO] [stdout] 5 | | schema_path = "./tests/fixtures/schema.graphql" [INFO] [stdout] 6 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not create output query file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/shopify_function_target.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / #[shopify_function_target( [INFO] [stdout] 20 | | // Implicit target = "test.target-a" [INFO] [stdout] 21 | | query_path = "./tests/fixtures/input.graphql", [INFO] [stdout] 22 | | schema_path = "./tests/fixtures/schema_with_targets.graphql", [INFO] [stdout] 23 | | input_stream = std::io::Cursor::new(TARGET_A_INPUT.as_bytes().to_vec()), [INFO] [stdout] 24 | | output_stream = unsafe { &mut TARGET_A_OUTPUT } [INFO] [stdout] 25 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not create output query file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/shopify_function_target.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / #[shopify_function_target( [INFO] [stdout] 47 | | target = "test.target-b", [INFO] [stdout] 48 | | module_name = "mod_b", [INFO] [stdout] 49 | | query_path = "./tests/fixtures/b.graphql", [INFO] [stdout] ... | [INFO] [stdout] 52 | | output_stream = unsafe { &mut TARGET_B_OUTPUT } [INFO] [stdout] 53 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not create output query file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shopify_function::Result` [INFO] [stdout] --> tests/shopify_function_target.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use shopify_function::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `input` [INFO] [stdout] --> tests/generate_types.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let parsed: input::ResponseData = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `target_a` [INFO] [stdout] --> tests/shopify_function_target.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | target_a::export(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `target_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mod_b` [INFO] [stdout] --> tests/shopify_function_target.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | mod_b::export(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mod_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shopify_function` (test "generate_types") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> tests/shopify_function.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | output_stream = unsafe { &mut FUNCTION_OUTPUT } [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] 26 | output_stream = unsafe { addr_of_mut!(FUNCTION_OUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `input` [INFO] [stdout] --> tests/shopify_function.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | fn my_function(input: input::ResponseData) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `output` [INFO] [stdout] --> tests/shopify_function.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | fn my_function(input: input::ResponseData) -> Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `output` [INFO] [stdout] --> tests/shopify_function.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(output::FunctionResult { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shopify_function` (test "shopify_function_target") due to 5 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `shopify_function` (test "shopify_function") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a2aa893c159bb26836b4fb650a79967d45f2e2f1c01322b14be08122975bd95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2aa893c159bb26836b4fb650a79967d45f2e2f1c01322b14be08122975bd95f", kill_on_drop: false }` [INFO] [stdout] a2aa893c159bb26836b4fb650a79967d45f2e2f1c01322b14be08122975bd95f [INFO] checking shopify_function-0.5.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate shopify_function 0.5.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate shopify_function 0.5.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shopify_function 0.5.0 [INFO] finished tweaking crates.io crate shopify_function 0.5.0 [INFO] tweaked toml for crates.io crate shopify_function 0.5.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3db0b39d902fdddf87be590c47928809399e7ea12c42c1f7039a53e520133a52 [INFO] running `Command { std: "docker" "start" "-a" "3db0b39d902fdddf87be590c47928809399e7ea12c42c1f7039a53e520133a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3db0b39d902fdddf87be590c47928809399e7ea12c42c1f7039a53e520133a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db0b39d902fdddf87be590c47928809399e7ea12c42c1f7039a53e520133a52", kill_on_drop: false }` [INFO] [stdout] 3db0b39d902fdddf87be590c47928809399e7ea12c42c1f7039a53e520133a52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679a7eacbfb610ce9d043bcb7241fc8913ef2f4e52f382d70d05d03df5c4815d [INFO] running `Command { std: "docker" "start" "-a" "679a7eacbfb610ce9d043bcb7241fc8913ef2f4e52f382d70d05d03df5c4815d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling shopify_function_macro v0.5.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Checking shopify_function v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling graphql-parser v0.4.0 [INFO] [stderr] Compiling graphql_client_codegen v0.13.0 [INFO] [stderr] Compiling graphql_query_derive v0.13.0 [INFO] [stderr] Checking graphql_client v0.13.0 [INFO] [stderr] Migrating tests/shopify_function_target.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> tests/shopify_function_target.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | output_stream = unsafe { &mut TARGET_A_OUTPUT } [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: `--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_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | output_stream = unsafe { addr_of_mut!(TARGET_A_OUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/generate_types.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> tests/shopify_function_target.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | output_stream = unsafe { &mut TARGET_B_OUTPUT } [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] 52 | output_stream = unsafe { addr_of_mut!(TARGET_B_OUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/shopify_function.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> tests/shopify_function.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | output_stream = unsafe { &mut FUNCTION_OUTPUT } [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: `--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_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 26 | output_stream = unsafe { addr_of_mut!(FUNCTION_OUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking shopify_function v0.5.0 (/tmp/fixit) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> tests/shopify_function.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | output_stream = unsafe { &mut FUNCTION_OUTPUT } [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] 26 | output_stream = unsafe { addr_of_mut!(FUNCTION_OUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> tests/shopify_function_target.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | output_stream = unsafe { &mut TARGET_A_OUTPUT } [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] 24 | output_stream = unsafe { addr_of_mut!(TARGET_A_OUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> tests/shopify_function_target.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | output_stream = unsafe { &mut TARGET_B_OUTPUT } [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] 52 | output_stream = unsafe { addr_of_mut!(TARGET_B_OUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "679a7eacbfb610ce9d043bcb7241fc8913ef2f4e52f382d70d05d03df5c4815d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679a7eacbfb610ce9d043bcb7241fc8913ef2f4e52f382d70d05d03df5c4815d", kill_on_drop: false }` [INFO] [stdout] 679a7eacbfb610ce9d043bcb7241fc8913ef2f4e52f382d70d05d03df5c4815d