[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] b421e6ee55fb4c8902cb3ec40a1a9282798c0709 [INFO] checking Shopify/shopify-function-rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShopify%2Fshopify-function-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shopify/shopify-function-rust 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 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-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphql_query_derive v0.13.0 [INFO] [stderr] Downloaded graphql_client v0.13.0 [INFO] [stderr] Downloaded graphql_client_codegen v0.13.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] 5b55cbe54f96aedc89d4399adbce05d15e8cf068100604a4371c440f829406af [INFO] running `Command { std: "docker" "start" "-a" "5b55cbe54f96aedc89d4399adbce05d15e8cf068100604a4371c440f829406af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b55cbe54f96aedc89d4399adbce05d15e8cf068100604a4371c440f829406af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b55cbe54f96aedc89d4399adbce05d15e8cf068100604a4371c440f829406af", kill_on_drop: false }` [INFO] [stdout] 5b55cbe54f96aedc89d4399adbce05d15e8cf068100604a4371c440f829406af [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed4d3c5982bedbafa0c7394dcf72d1cddb6f43f6d4f75bffcd3b18f83b2ad0a0 [INFO] running `Command { std: "docker" "start" "-a" "ed4d3c5982bedbafa0c7394dcf72d1cddb6f43f6d4f75bffcd3b18f83b2ad0a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling memchr v2.7.1 [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.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking shopify_function_macro v0.7.0 (/opt/rustwide/workdir/shopify_function_macro) [INFO] [stderr] Compiling graphql-parser v0.4.0 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Checking shopify_function v0.7.0 (/opt/rustwide/workdir/shopify_function) [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] 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] error: proc macro panicked [INFO] [stdout] --> shopify_function/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] --> example_with_targets/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / #[shopify_function_target( [INFO] [stdout] 5 | | // Implicit target = "example.target-a" [INFO] [stdout] 6 | | // Implicit generated module name = "target_a" [INFO] [stdout] 7 | | query_path = "a.graphql", [INFO] [stdout] 8 | | schema_path = "schema.graphql" [INFO] [stdout] 9 | | )] [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] --> example_with_targets/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / #[shopify_function_target( [INFO] [stdout] 5 | | // Implicit target = "example.target-a" [INFO] [stdout] 6 | | // Implicit generated module name = "target_a" [INFO] [stdout] 7 | | query_path = "a.graphql", [INFO] [stdout] 8 | | schema_path = "schema.graphql" [INFO] [stdout] 9 | | )] [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] --> example_with_targets/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / #[shopify_function_target( [INFO] [stdout] 17 | | // Explicit target if function name does not match target handle [INFO] [stdout] 18 | | target = "example.target-b", [INFO] [stdout] 19 | | // Override generated module name [INFO] [stdout] ... | [INFO] [stdout] 22 | | schema_path = "schema.graphql" [INFO] [stdout] 23 | | )] [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] --> example_with_targets/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / #[shopify_function_target( [INFO] [stdout] 17 | | // Explicit target if function name does not match target handle [INFO] [stdout] 18 | | target = "example.target-b", [INFO] [stdout] 19 | | // Override generated module name [INFO] [stdout] ... | [INFO] [stdout] 22 | | schema_path = "schema.graphql" [INFO] [stdout] 23 | | )] [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] --> shopify_function/tests/shopify_function_target.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / #[shopify_function_target( [INFO] [stdout] 21 | | // Implicit target = "test.target-a" [INFO] [stdout] 22 | | query_path = "./tests/fixtures/input.graphql", [INFO] [stdout] 23 | | schema_path = "./tests/fixtures/schema_with_targets.graphql", [INFO] [stdout] 24 | | input_stream = std::io::Cursor::new(TARGET_A_INPUT.as_bytes().to_vec()), [INFO] [stdout] 25 | | output_stream = unsafe { &mut TARGET_A_OUTPUT } [INFO] [stdout] 26 | | )] [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] --> shopify_function/tests/shopify_function.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / generate_types!( [INFO] [stdout] 13 | | query_path = "./tests/fixtures/input.graphql", [INFO] [stdout] 14 | | schema_path = "./tests/fixtures/schema.graphql" [INFO] [stdout] 15 | | ); [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] --> example/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / generate_types!( [INFO] [stdout] 7 | | query_path = "./input.graphql", [INFO] [stdout] 8 | | schema_path = "./schema.graphql" [INFO] [stdout] 9 | | ); [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> shopify_function/tests/shopify_function_target.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / #[shopify_function_target( [INFO] [stdout] 51 | | target = "test.target-b", [INFO] [stdout] 52 | | module_name = "mod_b", [INFO] [stdout] 53 | | query_path = "./tests/fixtures/b.graphql", [INFO] [stdout] ... | [INFO] [stdout] 56 | | output_stream = unsafe { &mut TARGET_B_OUTPUT }, [INFO] [stdout] 57 | | )] [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] --> shopify_function/tests/shopify_function_target.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / #[shopify_function_target( [INFO] [stdout] 68 | | target = "test.target-a", [INFO] [stdout] 69 | | module_name = "country_enum", [INFO] [stdout] 70 | | query_path = "./tests/fixtures/input.graphql", [INFO] [stdout] 71 | | schema_path = "./tests/fixtures/schema_with_targets.graphql", [INFO] [stdout] 72 | | extern_enums = [] [INFO] [stdout] 73 | | )] [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] [stderr] error: could not compile `example_with_targets` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> example/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / generate_types!( [INFO] [stdout] 7 | | query_path = "./input.graphql", [INFO] [stdout] 8 | | schema_path = "./schema.graphql" [INFO] [stdout] 9 | | ); [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[E0433]: failed to resolve: could not find `target_a` in the crate root [INFO] [stdout] --> example_with_targets/src/tests.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let expected = crate::target_a::output::FunctionTargetAResult { status: Some(200) }; [INFO] [stdout] | ^^^^^^^^ could not find `target_a` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `output` [INFO] [stdout] --> example/src/main.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, [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 `input` [INFO] [stdout] --> shopify_function/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 `output` [INFO] [stdout] --> example/src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | targets.push(output::Target::ProductVariant( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mod_b` in the crate root [INFO] [stdout] --> example_with_targets/src/tests.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let expected = crate::mod_b::output::FunctionTargetBResult { [INFO] [stdout] | ^^^^^ could not find `mod_b` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target_a` in this scope [INFO] [stdout] --> example_with_targets/src/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | target_a, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `function_b` in this scope [INFO] [stdout] --> example_with_targets/src/tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | function_b, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `target_a` [INFO] [stdout] --> shopify_function/tests/shopify_function_target.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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 `input` [INFO] [stdout] --> example/src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | input::InputCartLinesMerchandise::ProductVariant(variant) => variant.id, [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 `mod_b` [INFO] [stdout] --> shopify_function/tests/shopify_function_target.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `output` [INFO] [stdout] --> example/src/main.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `input` [INFO] [stdout] --> shopify_function/tests/shopify_function.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | 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] --> shopify_function/tests/shopify_function.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | 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] --> shopify_function/tests/shopify_function.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | 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 [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 `output` [INFO] [stdout] --> example/src/main.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, [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] --> example/src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | targets.push(output::Target::ProductVariant( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shopify_function` (test "shopify_function_target") due to 6 previous errors [INFO] [stderr] error: could not compile `example_with_targets` (lib test) due to 7 previous errors [INFO] [stderr] error: could not compile `shopify_function` (test "shopify_function") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `output` [INFO] [stdout] --> example/src/main.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, [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] --> example/src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | value: output::Value::Percentage(output::Percentage { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] help: if you import `Value`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - value: output::Value::Percentage(output::Percentage { [INFO] [stdout] 61 + value: Value::Percentage(output::Percentage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `input` [INFO] [stdout] --> example/src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | input::InputCartLinesMerchandise::ProductVariant(variant) => variant.id, [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] --> example/src/main.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, [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] --> example/src/main.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `output` in the crate root [INFO] [stdout] --> example/src/tests.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let expected = crate::output::FunctionResult { [INFO] [stdout] | ^^^^^^ could not find `output` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `output` in the crate root [INFO] [stdout] --> example/src/tests.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | discount_application_strategy: crate::output::DiscountApplicationStrategy::FIRST, [INFO] [stdout] | ^^^^^^ could not find `output` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `output` in the crate root [INFO] [stdout] --> example/src/tests.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | let expected = crate::output::FunctionResult { [INFO] [stdout] | ^^^^^^ could not find `output` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `output` in the crate root [INFO] [stdout] --> example/src/tests.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | discounts: vec![crate::output::Discount { [INFO] [stdout] | ^^^^^^ could not find `output` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `output` in the crate root [INFO] [stdout] --> example/src/tests.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | targets: vec![crate::output::Target::ProductVariant( [INFO] [stdout] | ^^^^^^ could not find `output` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `input` [INFO] [stdout] --> example/src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn 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] --> example/src/main.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn 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] --> example/src/main.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | return Ok(output::FunctionResult { [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] --> example/src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | output::ProductVariantTarget { [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] --> example/src/main.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | return Ok(output::FunctionResult { [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] --> example/src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(output::FunctionResult { [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] --> example/src/main.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | discounts: vec![output::Discount { [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] --> example/src/main.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | value: output::Value::Percentage(output::Percentage { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 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: could not find `output` in the crate root [INFO] [stdout] --> example/src/tests.rs:107:47 [INFO] [stdout] | [INFO] [stdout] 107 | discount_application_strategy: crate::output::DiscountApplicationStrategy::FIRST, [INFO] [stdout] | ^^^^^^ could not find `output` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `output` [INFO] [stdout] --> example/src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | value: output::Value::Percentage(output::Percentage { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] help: if you import `Value`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - value: output::Value::Percentage(output::Percentage { [INFO] [stdout] 61 + value: Value::Percentage(output::Percentage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `output` in the crate root [INFO] [stdout] --> example/src/tests.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | value: crate::output::Value::Percentage(output::Percentage { [INFO] [stdout] | ^^^^^^ could not find `output` in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] help: if you import `Value`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 103 - value: crate::output::Value::Percentage(output::Percentage { [INFO] [stdout] 103 + value: Value::Percentage(output::Percentage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (bin "example") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `input` [INFO] [stdout] --> example/src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn 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] --> example/src/main.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn 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] --> example/src/main.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | return Ok(output::FunctionResult { [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] --> example/src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | output::ProductVariantTarget { [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] --> example/src/main.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | return Ok(output::FunctionResult { [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] --> example/src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(output::FunctionResult { [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] --> example/src/main.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | discounts: vec![output::Discount { [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] --> example/src/main.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | value: output::Value::Percentage(output::Percentage { [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] --> example/src/tests.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | output::ProductVariantTarget { [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] --> example/src/tests.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 103 | value: crate::output::Value::Percentage(output::Percentage { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (bin "example" test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "ed4d3c5982bedbafa0c7394dcf72d1cddb6f43f6d4f75bffcd3b18f83b2ad0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4d3c5982bedbafa0c7394dcf72d1cddb6f43f6d4f75bffcd3b18f83b2ad0a0", kill_on_drop: false }` [INFO] [stdout] ed4d3c5982bedbafa0c7394dcf72d1cddb6f43f6d4f75bffcd3b18f83b2ad0a0