[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] 74d15e847e43cb47f9b8704a32a248df791fd980 [INFO] checking Shopify/shopify-function-rust against try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShopify%2Fshopify-function-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shopify/shopify-function-rust on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "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-1-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" "+173780a87744406b7489b28349c0176f14bb3881" "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_client_codegen v0.14.0 [INFO] [stderr] Downloaded graphql_client v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05799315d2fe340f8c955e3ff1ecf1a4ebfb37c8c563936f77da518d684f24a8 [INFO] running `Command { std: "docker" "start" "-a" "05799315d2fe340f8c955e3ff1ecf1a4ebfb37c8c563936f77da518d684f24a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05799315d2fe340f8c955e3ff1ecf1a4ebfb37c8c563936f77da518d684f24a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05799315d2fe340f8c955e3ff1ecf1a4ebfb37c8c563936f77da518d684f24a8", kill_on_drop: false }` [INFO] [stdout] 05799315d2fe340f8c955e3ff1ecf1a4ebfb37c8c563936f77da518d684f24a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac3fcd52110c6d782e39d1d63be9dfceb1e8aa78c381fb5bacca439ea5d4f097 [INFO] running `Command { std: "docker" "start" "-a" "ac3fcd52110c6d782e39d1d63be9dfceb1e8aa78c381fb5bacca439ea5d4f097", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [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 itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking convert_case v0.7.1 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling serde_derive v1.0.217 [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 v1.0.0 (/opt/rustwide/workdir/example) [INFO] [stderr] Checking example_with_targets v1.0.0 (/opt/rustwide/workdir/example_with_targets) [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 { &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 { &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 { &raw mut TARGET_B_OUTPUT }, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.64s [INFO] running `Command { std: "docker" "inspect" "ac3fcd52110c6d782e39d1d63be9dfceb1e8aa78c381fb5bacca439ea5d4f097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3fcd52110c6d782e39d1d63be9dfceb1e8aa78c381fb5bacca439ea5d4f097", kill_on_drop: false }` [INFO] [stdout] ac3fcd52110c6d782e39d1d63be9dfceb1e8aa78c381fb5bacca439ea5d4f097