[INFO] cloning repository https://github.com/Shopify/shopify-function-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shopify/shopify-function-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShopify%2Fshopify-function-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShopify%2Fshopify-function-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daa05f0827cd14dadd500f169fa7345a4b4f9bb2 [INFO] checking Shopify/shopify-function-rust against try#f3dc08d20a1589b87bde75bb82ee6423307f9bde for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShopify%2Fshopify-function-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shopify/shopify-function-rust on toolchain f3dc08d20a1589b87bde75bb82ee6423307f9bde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shopify/shopify-function-rust [INFO] finished tweaking git repo https://github.com/Shopify/shopify-function-rust [INFO] tweaked toml for git repo https://github.com/Shopify/shopify-function-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Shopify/shopify-function-rust 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" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphql_query_derive v0.14.0 [INFO] [stderr] Downloaded graphql-introspection-query v0.2.0 [INFO] [stderr] Downloaded graphql_client v0.14.0 [INFO] [stderr] Downloaded graphql_client_codegen v0.14.0 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e06daa53393bf2fb00771f5dbf37f38a63275eb7f3805a7bf67b0f99e988ba20 [INFO] running `Command { std: "docker" "start" "-a" "e06daa53393bf2fb00771f5dbf37f38a63275eb7f3805a7bf67b0f99e988ba20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e06daa53393bf2fb00771f5dbf37f38a63275eb7f3805a7bf67b0f99e988ba20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06daa53393bf2fb00771f5dbf37f38a63275eb7f3805a7bf67b0f99e988ba20", kill_on_drop: false }` [INFO] [stdout] e06daa53393bf2fb00771f5dbf37f38a63275eb7f3805a7bf67b0f99e988ba20 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eacebb5abddeaa6b0d722b71ace3d12a242eea06a0a042b2734e9501ee63c99 [INFO] running `Command { std: "docker" "start" "-a" "8eacebb5abddeaa6b0d722b71ace3d12a242eea06a0a042b2734e9501ee63c99", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking convert_case v0.7.1 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking graphql-parser v0.4.0 [INFO] [stderr] Checking graphql-introspection-query v0.2.0 [INFO] [stderr] Checking graphql_client_codegen v0.14.0 [INFO] [stderr] Checking shopify_function_macro v0.8.1 (/opt/rustwide/workdir/shopify_function_macro) [INFO] [stderr] Compiling graphql_query_derive v0.14.0 [INFO] [stderr] Checking graphql_client v0.14.0 [INFO] [stderr] Checking shopify_function v0.8.1 (/opt/rustwide/workdir/shopify_function) [INFO] [stderr] Checking example_with_targets v1.0.0 (/opt/rustwide/workdir/example_with_targets) [INFO] [stderr] Checking example v1.0.0 (/opt/rustwide/workdir/example) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> shopify_function/tests/shopify_function.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | let actual_result = std::str::from_utf8(unsafe { FUNCTION_OUTPUT.as_slice() }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> shopify_function/tests/shopify_function.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | output_stream = unsafe { &mut FUNCTION_OUTPUT } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 - output_stream = unsafe { &mut FUNCTION_OUTPUT } [INFO] [stdout] 27 + output_stream = unsafe { &raw mut FUNCTION_OUTPUT } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> shopify_function/tests/shopify_function_target.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | let actual_result = std::str::from_utf8(unsafe { TARGET_A_OUTPUT.as_slice() }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> shopify_function/tests/shopify_function_target.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let actual_result = std::str::from_utf8(unsafe { TARGET_B_OUTPUT.as_slice() }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> shopify_function/tests/shopify_function_target.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | output_stream = unsafe { &mut TARGET_A_OUTPUT } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 - output_stream = unsafe { &mut TARGET_A_OUTPUT } [INFO] [stdout] 25 + output_stream = unsafe { &raw mut TARGET_A_OUTPUT } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> shopify_function/tests/shopify_function_target.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | output_stream = unsafe { &mut TARGET_B_OUTPUT }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 - output_stream = unsafe { &mut TARGET_B_OUTPUT }, [INFO] [stdout] 56 + output_stream = unsafe { &raw mut TARGET_B_OUTPUT }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.04s [INFO] running `Command { std: "docker" "inspect" "8eacebb5abddeaa6b0d722b71ace3d12a242eea06a0a042b2734e9501ee63c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eacebb5abddeaa6b0d722b71ace3d12a242eea06a0a042b2734e9501ee63c99", kill_on_drop: false }` [INFO] [stdout] 8eacebb5abddeaa6b0d722b71ace3d12a242eea06a0a042b2734e9501ee63c99