[INFO] fetching crate cynic 3.8.0... [INFO] checking cynic-3.8.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate cynic 3.8.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cynic 3.8.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cynic 3.8.0 [INFO] finished tweaking crates.io crate cynic 3.8.0 [INFO] tweaked toml for crates.io crate cynic 3.8.0 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 322 packages to latest compatible versions [INFO] [stderr] Adding rstest v0.21.0 (available: v0.23.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 599411b8d7fdc4000dd558cdc38765c632e94458e987812b74ea3a73840236da [INFO] running `Command { std: "docker" "start" "-a" "599411b8d7fdc4000dd558cdc38765c632e94458e987812b74ea3a73840236da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "599411b8d7fdc4000dd558cdc38765c632e94458e987812b74ea3a73840236da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599411b8d7fdc4000dd558cdc38765c632e94458e987812b74ea3a73840236da", kill_on_drop: false }` [INFO] [stdout] 599411b8d7fdc4000dd558cdc38765c632e94458e987812b74ea3a73840236da [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da417c4b7f4a0a1fc35481e893a7dcd3b08a72c65e3e5cd60ee9502764eaa28f [INFO] running `Command { std: "docker" "start" "-a" "da417c4b7f4a0a1fc35481e893a7dcd3b08a72c65e3e5cd60ee9502764eaa28f", 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] Checking futures-channel v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking serde v1.0.214 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ref-cast v1.0.23 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Compiling logos v0.14.2 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Compiling cynic-parser v0.4.5 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ouroboros v0.18.4 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking insta v1.41.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling cynic-codegen v3.8.0 [INFO] [stderr] Checking graphql-parser v0.4.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking rstest v0.21.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Compiling cynic-proc-macros v3.8.0 [INFO] [stderr] Checking cynic v3.8.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking mockito v1.5.0 [INFO] [stderr] Migrating tests/arguments.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/compatability.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/scalars.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/inline-fragments.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/recursive-queries.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/keyword-queries.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `cynic` [INFO] [stdout] --> src/variables.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use cynic::QueryVariableLiterals; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `cynic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: Could not find file: ../schemas/test_cases.graphql [INFO] [stdout] --> tests/keyword-queries.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[cynic::schema_for_derives(file = r#"../schemas/test_cases.graphql"#, module = "schema")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `cynic::schema_for_derives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/enum-arguments.rs from 2021 edition to 2024 [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/keyword-queries.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | cynic::use_schema!(r#"../schemas/test_cases.graphql"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/test_cases.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "keyword-queries") due to 4 previous errors [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `KeywordQuery`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/keyword-queries.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | let query = queries::KeywordQuery::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `KeywordQuery` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 35 | pub struct KeywordQuery { [INFO] [stdout] | ----------------------- function or associated item `build` not found for this struct because it doesn't satisfy `<_ as QueryFragment>::VariablesFields = _`, `KeywordQuery: QueryBuilder<_>` or `KeywordQuery: QueryFragment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `KeywordQuery: QueryBuilder<_>` [INFO] [stdout] `KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `KeywordQuery: QueryBuilder<_>` [INFO] [stdout] `<&KeywordQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&KeywordQuery: QueryBuilder<_>` [INFO] [stdout] `&KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `&KeywordQuery: QueryBuilder<_>` [INFO] [stdout] `<&mut KeywordQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut KeywordQuery: QueryBuilder<_>` [INFO] [stdout] `&mut KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `&mut KeywordQuery: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeywordQuery: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/keyword-queries.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | let data = serde_json::from_value::(json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `KeywordQuery` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 152 others [INFO] [stdout] = note: required for `KeywordQuery` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.132/src/value/mod.rs:1032:8 [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1031 | where [INFO] [stdout] 1032 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] Migrating tests/spread.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/renames.rs from 2021 edition to 2024 [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/spread.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cynic::use_schema!("../schemas/starwars.schema.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/starwars.schema.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/spread.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | schema_path = "../schemas/starwars.schema.graphql" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/spread.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | schema_path = "../schemas/starwars.schema.graphql" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/spread.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[cynic(schema_path = "../schemas/starwars.schema.graphql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/spread.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | schema_path = "../schemas/starwars.schema.graphql" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `variable` in `schema` [INFO] [stdout] --> tests/spread.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(cynic::QueryVariables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `variable` in `schema` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `FilmDirectorQuery`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/spread.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 47 | struct FilmDirectorQuery { [INFO] [stdout] | ------------------------ function or associated item `build` not found for this struct because it doesn't satisfy `<_ as QueryFragment>::VariablesFields = _`, `FilmDirectorQuery: QueryBuilder<_>` or `FilmDirectorQuery: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 55 | FilmDirectorQuery::build(FilmArguments { [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `FilmDirectorQuery` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `FilmDirectorQuery: QueryBuilder<_>` [INFO] [stdout] `FilmDirectorQuery: QueryFragment` [INFO] [stdout] which is required by `FilmDirectorQuery: QueryBuilder<_>` [INFO] [stdout] `<&FilmDirectorQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&FilmDirectorQuery: QueryBuilder<_>` [INFO] [stdout] `&FilmDirectorQuery: QueryFragment` [INFO] [stdout] which is required by `&FilmDirectorQuery: QueryBuilder<_>` [INFO] [stdout] `<&mut FilmDirectorQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut FilmDirectorQuery: QueryBuilder<_>` [INFO] [stdout] `&mut FilmDirectorQuery: QueryFragment` [INFO] [stdout] which is required by `&mut FilmDirectorQuery: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "spread") due to 7 previous errors [INFO] [stderr] Migrating tests/simple_schema_tests.rs from 2021 edition to 2024 [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/simple_schema_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cynic::use_schema!("../schemas/simple.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/simple.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/enum-fallbacks.rs from 2021 edition to 2024 [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/simple_schema_tests.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[cynic(schema_path = "../schemas/simple.graphql", variables = "TestArgs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/simple_schema_tests.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | #[cynic(schema_path = "../schemas/simple.graphql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/simple_schema_tests.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | schema_path = "../schemas/simple.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/simple_schema_tests.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | schema_path = "../schemas/simple.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `variable` in `schema` [INFO] [stdout] --> tests/simple_schema_tests.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(cynic::QueryVariables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `variable` in `schema` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestQuery: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/simple_schema_tests.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | serde_json::from_value::(input).unwrap(), [INFO] [stdout] | ^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `TestQuery` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 160 others [INFO] [stdout] = note: required for `TestQuery` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.132/src/value/mod.rs:1032:8 [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1031 | where [INFO] [stdout] 1032 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `TestQuery`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_schema_tests.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 33 | struct TestQuery { [INFO] [stdout] | ---------------- function or associated item `build` not found for this struct because it doesn't satisfy `::VariablesFields = _`, `TestQuery: QueryBuilder<_>` or `TestQuery: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 98 | let operation = TestQuery::build(TestArgs { an_int: 1 }); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `TestQuery` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `TestQuery: QueryBuilder<_>` [INFO] [stdout] `TestQuery: QueryFragment` [INFO] [stdout] which is required by `TestQuery: QueryBuilder<_>` [INFO] [stdout] `<&TestQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&TestQuery: QueryBuilder<_>` [INFO] [stdout] `&TestQuery: QueryFragment` [INFO] [stdout] which is required by `&TestQuery: QueryBuilder<_>` [INFO] [stdout] `<&mut TestQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut TestQuery: QueryBuilder<_>` [INFO] [stdout] `&mut TestQuery: QueryFragment` [INFO] [stdout] which is required by `&mut TestQuery: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "simple_schema_tests") due to 8 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] Migrating tests/http.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `cynic::http::ReqwestExt` [INFO] [stdout] --> tests/http.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use cynic::http::ReqwestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ReqwestExt` in `http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/http.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub use reqwest_ext::ReqwestExt; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `http-reqwest` feature [INFO] [stdout] --> /tmp/fixit/src/http.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "http-reqwest")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/aliases.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `cynic::http::ReqwestExt` [INFO] [stdout] --> tests/http.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use cynic::http::ReqwestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ReqwestExt` in `http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/http.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub use reqwest_ext::ReqwestExt; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `http-reqwest` feature [INFO] [stdout] --> /tmp/fixit/src/http.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "http-reqwest")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reqwest` [INFO] [stdout] --> tests/http.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "http") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reqwest` [INFO] [stdout] --> tests/http.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/aliases.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | schema_path = "../schemas/starwars.schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/input-object-tests.rs from 2021 edition to 2024 [INFO] [stdout] error: Could not find file: ../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/aliases.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[cynic(schema_path = "../schemas/starwars.schema.graphql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/aliases.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | cynic::use_schema!("../schemas/starwars.schema.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/starwars.schema.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/aliases.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | schema_path = "../schemas/starwars.schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `FilmQueryWithExplicitAlias`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/aliases.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 9 | struct FilmQueryWithExplicitAlias { [INFO] [stdout] | --------------------------------- function or associated item `build` not found for this struct because it doesn't satisfy `<_ as QueryFragment>::VariablesFields = _`, `FilmQueryWithExplicitAlias: QueryBuilder<_>` or `FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 31 | let operation = FilmQueryWithExplicitAlias::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `FilmQueryWithExplicitAlias` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `FilmQueryWithExplicitAlias: QueryBuilder<_>` [INFO] [stdout] `FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `FilmQueryWithExplicitAlias: QueryBuilder<_>` [INFO] [stdout] `<&FilmQueryWithExplicitAlias as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&FilmQueryWithExplicitAlias: QueryBuilder<_>` [INFO] [stdout] `&FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&FilmQueryWithExplicitAlias: QueryBuilder<_>` [INFO] [stdout] `<&mut FilmQueryWithExplicitAlias as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut FilmQueryWithExplicitAlias: QueryBuilder<_>` [INFO] [stdout] `&mut FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&mut FilmQueryWithExplicitAlias: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FilmQueryWithExplicitAlias: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/aliases.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | serde_json::from_value::(json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `FilmQueryWithExplicitAlias` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 152 others [INFO] [stdout] = note: required for `FilmQueryWithExplicitAlias` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.132/src/value/mod.rs:1032:8 [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1031 | where [INFO] [stdout] 1032 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `FilmQueryWithImplicitAlias`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/aliases.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 70 | struct FilmQueryWithImplicitAlias { [INFO] [stdout] | --------------------------------- function or associated item `build` not found for this struct because it doesn't satisfy `<_ as QueryFragment>::VariablesFields = _`, `FilmQueryWithImplicitAlias: QueryBuilder<_>` or `FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 82 | let operation = FilmQueryWithImplicitAlias::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `FilmQueryWithImplicitAlias` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `FilmQueryWithImplicitAlias: QueryBuilder<_>` [INFO] [stdout] `FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `FilmQueryWithImplicitAlias: QueryBuilder<_>` [INFO] [stdout] `<&FilmQueryWithImplicitAlias as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&FilmQueryWithImplicitAlias: QueryBuilder<_>` [INFO] [stdout] `&FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&FilmQueryWithImplicitAlias: QueryBuilder<_>` [INFO] [stdout] `<&mut FilmQueryWithImplicitAlias as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut FilmQueryWithImplicitAlias: QueryBuilder<_>` [INFO] [stdout] `&mut FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&mut FilmQueryWithImplicitAlias: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FilmQueryWithImplicitAlias: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/aliases.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | serde_json::from_value::(json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `FilmQueryWithImplicitAlias` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 152 others [INFO] [stdout] = note: required for `FilmQueryWithImplicitAlias` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.132/src/value/mod.rs:1032:8 [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1031 | where [INFO] [stdout] 1032 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "aliases") due to 8 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] Migrating tests/generics_simple.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/default-values-tests.rs from 2021 edition to 2024 [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/generics_simple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cynic::use_schema!("../schemas/simple.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/simple.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/generics_simple.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[cynic(schema_path = "../schemas/simple.graphql", variables = "TestArgs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/generics_simple.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | schema_path = "../schemas/simple.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/generics_simple.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | schema_path = "../schemas/simple.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `variable` in `schema` [INFO] [stdout] --> tests/generics_simple.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(cynic::QueryVariables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `variable` in `schema` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestStruct` in module `schema` [INFO] [stdout] --> tests/generics_simple.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | T: cynic::QueryFragment, [INFO] [stdout] | ^^^^^^^^^^ not found in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `TestQuery`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/generics_simple.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestQuery { [INFO] [stdout] | ---------------- function or associated item `build` not found for this struct because it doesn't satisfy `::VariablesFields = _`, `TestQuery: QueryBuilder<_>` or `TestQuery: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 31 | let operation = TestQuery::build(TestArgs { a_str: Some("1") }); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `TestQuery` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `TestQuery: QueryBuilder<_>` [INFO] [stdout] `TestQuery: QueryFragment` [INFO] [stdout] which is required by `TestQuery: QueryBuilder<_>` [INFO] [stdout] `<&TestQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&TestQuery: QueryBuilder<_>` [INFO] [stdout] `&TestQuery: QueryFragment` [INFO] [stdout] which is required by `&TestQuery: QueryBuilder<_>` [INFO] [stdout] `<&mut TestQuery as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut TestQuery: QueryBuilder<_>` [INFO] [stdout] `&mut TestQuery: QueryFragment` [INFO] [stdout] which is required by `&mut TestQuery: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `GenericInResponse`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/generics_simple.rs:54:54 [INFO] [stdout] | [INFO] [stdout] 42 | struct GenericInResponse [INFO] [stdout] | --------------------------- function or associated item `build` not found for this struct because it doesn't satisfy `<_ as QueryFragment>::VariablesFields = _`, `GenericInResponse: QueryBuilder<_>` or `GenericInResponse: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 54 | let operation = GenericInResponse::::build(TestArgs { a_str: Some("1") }); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `GenericInResponse` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `GenericInResponse: QueryBuilder<_>` [INFO] [stdout] `GenericInResponse: QueryFragment` [INFO] [stdout] which is required by `GenericInResponse: QueryBuilder<_>` [INFO] [stdout] `<&GenericInResponse as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&GenericInResponse: QueryBuilder<_>` [INFO] [stdout] `&GenericInResponse: QueryFragment` [INFO] [stdout] which is required by `&GenericInResponse: QueryBuilder<_>` [INFO] [stdout] `<&mut GenericInResponse as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut GenericInResponse: QueryBuilder<_>` [INFO] [stdout] `&mut GenericInResponse: QueryFragment` [INFO] [stdout] which is required by `&mut GenericInResponse: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestStruct: QueryFragment` is not satisfied [INFO] [stdout] --> tests/generics_simple.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let operation = GenericInResponse::::build(TestArgs { a_str: Some("1") }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `QueryFragment` is not implemented for `TestStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `QueryFragment`: [INFO] [stdout] Arc [INFO] [stdout] Box [INFO] [stdout] Rc [INFO] [stdout] Vec [INFO] [stdout] bool [INFO] [stdout] std::option::Option [INFO] [stdout] std::string::String [INFO] [stdout] note: required by a bound in `GenericInResponse` [INFO] [stdout] --> tests/generics_simple.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct GenericInResponse [INFO] [stdout] | ----------------- required by a bound in this struct [INFO] [stdout] 43 | where [INFO] [stdout] 44 | T: cynic::QueryFragment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GenericInResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "generics_simple") due to 9 previous errors [INFO] [stderr] Migrating tests/variable-inlining.rs from 2021 edition to 2024 [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/variable-inlining.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #[cynic(schema_path = "../schemas/simple.graphql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/variables.rs from 2021 edition to 2024 [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/variable-inlining.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[cynic(schema_path = "../schemas/simple.graphql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/variable-inlining.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | cynic::use_schema!("../schemas/simple.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/simple.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnInputType: Serialize` is not satisfied [INFO] [stdout] --> tests/variable-inlining.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(QueryVariableLiterals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `AnInputType` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `AnInputType` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `to_input_literal` [INFO] [stdout] --> /tmp/fixit/src/queries/input_literal_ser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn to_input_literal(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 12 | where [INFO] [stdout] 13 | T: Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_input_literal` [INFO] [stdout] = note: this error originates in the derive macro `QueryVariableLiterals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "variable-inlining") due to 4 previous errors [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/variables.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | #[cynic(schema_path = "../schemas/simple.graphql", variables = "TestArgs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/mutation_generics.rs from 2021 edition to 2024 [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/variables.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | schema_path = "../schemas/simple.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/variables.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | #[cynic(schema_path = "../schemas/simple.graphql", variables = "TestArgs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/simple.graphql [INFO] [stdout] --> tests/variables.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | schema_path = "../schemas/simple.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/variables.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | cynic::use_schema!("../schemas/simple.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/simple.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `variable` in `schema` [INFO] [stdout] --> tests/variables.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(cynic::QueryVariables, cynic::QueryVariableLiterals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `variable` in `schema` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `QueryWithUnusedVariables`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variables.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 37 | struct QueryWithUnusedVariables { [INFO] [stdout] | ------------------------------- function or associated item `build` not found for this struct because it doesn't satisfy `<_ as QueryFragment>::VariablesFields = _`, `QueryWithUnusedVariables: QueryBuilder<_>` or `QueryWithUnusedVariables: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 45 | let operation = QueryWithUnusedVariables::build(TestArgs { a_str: None }); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `QueryWithUnusedVariables` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `QueryWithUnusedVariables: QueryBuilder<_>` [INFO] [stdout] `QueryWithUnusedVariables: QueryFragment` [INFO] [stdout] which is required by `QueryWithUnusedVariables: QueryBuilder<_>` [INFO] [stdout] `<&QueryWithUnusedVariables as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&QueryWithUnusedVariables: QueryBuilder<_>` [INFO] [stdout] `&QueryWithUnusedVariables: QueryFragment` [INFO] [stdout] which is required by `&QueryWithUnusedVariables: QueryBuilder<_>` [INFO] [stdout] `<&mut QueryWithUnusedVariables as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut QueryWithUnusedVariables: QueryBuilder<_>` [INFO] [stdout] `&mut QueryWithUnusedVariables: QueryFragment` [INFO] [stdout] which is required by `&mut QueryWithUnusedVariables: QueryBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `query` exists for struct `OperationBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variables.rs:81:79 [INFO] [stdout] | [INFO] [stdout] 75 | struct QueryWithArguments { [INFO] [stdout] | ------------------------- doesn't satisfy `QueryWithArguments: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 81 | let operation = OperationBuilder::>::query() [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `OperationBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `QueryWithArguments: QueryFragment` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `query` exists for struct `OperationBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/variables.rs:99:79 [INFO] [stdout] | [INFO] [stdout] 75 | struct QueryWithArguments { [INFO] [stdout] | ------------------------- doesn't satisfy `QueryWithArguments: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 99 | let operation = OperationBuilder::>::query() [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `OperationBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `QueryWithArguments: QueryFragment` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "variables") due to 9 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] Migrating tests/escaping-strings.rs from 2021 edition to 2024 [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/mutation_generics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cynic::use_schema!("../schemas/raindancer.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Errors { errors: [Error("Could not find file: ../schemas/raindancer.graphql")] } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/raindancer.graphql [INFO] [stdout] --> tests/mutation_generics.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[cynic(schema_path = "../schemas/raindancer.graphql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/raindancer.graphql [INFO] [stdout] --> tests/mutation_generics.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | schema_path = "../schemas/raindancer.graphql" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: ../schemas/raindancer.graphql [INFO] [stdout] --> tests/mutation_generics.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | schema_path = "../schemas/raindancer.graphql" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `variable` in `schema` [INFO] [stdout] --> tests/mutation_generics.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(cynic::QueryVariables, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `variable` in `schema` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `variable` in `schema` [INFO] [stdout] --> tests/mutation_generics.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(cynic::QueryVariables, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `variable` in `schema` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SignInInput` in module `schema` [INFO] [stdout] --> tests/mutation_generics.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[cynic(graphql_type = "SignInInput")] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::SignInInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignInInput<'_, Cow<'_, str>>: Serialize` is not satisfied [INFO] [stdout] --> tests/mutation_generics.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(cynic::QueryVariables, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `SignInInput<'_, Cow<'_, str>>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `SignInInput<'_, Cow<'_, str>>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 143 others [INFO] [stdout] note: required by a bound in `serialize_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.214/src/ser/mod.rs:1814:21 [INFO] [stdout] | [INFO] [stdout] 1811 | fn serialize_entry(&mut self, key: &K, value: &V) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1814 | V: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeMap::serialize_entry` [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignInInput<'_, Username>: Serialize` is not satisfied [INFO] [stdout] --> tests/mutation_generics.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(cynic::QueryVariables, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `SignInInput<'_, Username>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `SignInInput<'_, Username>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 143 others [INFO] [stdout] note: required by a bound in `serialize_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.214/src/ser/mod.rs:1814:21 [INFO] [stdout] | [INFO] [stdout] 1811 | fn serialize_entry(&mut self, key: &K, value: &V) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1814 | V: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeMap::serialize_entry` [INFO] [stdout] = note: this error originates in the derive macro `cynic::QueryVariables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `SignIn`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mutation_generics.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct SignIn { [INFO] [stdout] | ----------------- function or associated item `build` not found for this struct because it doesn't satisfy `::VariablesFields = _`, `SignIn: MutationBuilder<_>` or `SignIn: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 55 | let operation = SignIn::build(SignInVariables { [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `SignIn` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::VariablesFields = _` [INFO] [stdout] which is required by `SignIn: MutationBuilder<_>` [INFO] [stdout] `SignIn: QueryFragment` [INFO] [stdout] which is required by `SignIn: MutationBuilder<_>` [INFO] [stdout] `<&SignIn as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&SignIn: MutationBuilder<_>` [INFO] [stdout] `&SignIn: QueryFragment` [INFO] [stdout] which is required by `&SignIn: MutationBuilder<_>` [INFO] [stdout] `<&mut SignIn as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut SignIn: MutationBuilder<_>` [INFO] [stdout] `&mut SignIn: QueryFragment` [INFO] [stdout] which is required by `&mut SignIn: MutationBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `SignInMoreGeneric>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/mutation_generics.rs:69:61 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SignInMoreGeneric> [INFO] [stdout] | ----------------------------------------------------------------- function or associated item `build` not found for this struct because it doesn't satisfy `<_ as QueryFragment>::VariablesFields = _`, `_: MutationBuilder<_>` or `_: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 69 | let operation = SignInMoreGeneric::>::build(SignInVariablesMoreGeneric { [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `SignInMoreGeneric>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `SignInMoreGeneric>: MutationBuilder<_>` [INFO] [stdout] `SignInMoreGeneric>: QueryFragment` [INFO] [stdout] which is required by `SignInMoreGeneric>: MutationBuilder<_>` [INFO] [stdout] `<&SignInMoreGeneric> as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&SignInMoreGeneric>: MutationBuilder<_>` [INFO] [stdout] `&SignInMoreGeneric>: QueryFragment` [INFO] [stdout] which is required by `&SignInMoreGeneric>: MutationBuilder<_>` [INFO] [stdout] `<&mut SignInMoreGeneric> as QueryFragment>::VariablesFields = _` [INFO] [stdout] which is required by `&mut SignInMoreGeneric>: MutationBuilder<_>` [INFO] [stdout] `&mut SignInMoreGeneric>: QueryFragment` [INFO] [stdout] which is required by `&mut SignInMoreGeneric>: MutationBuilder<_>` [INFO] [stdout] note: the trait `QueryFragment` must be implemented [INFO] [stdout] --> /tmp/fixit/src/core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait QueryFragment: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `build`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `MutationBuilder` [INFO] [stdout] candidate #2: `QueryBuilder` [INFO] [stdout] candidate #3: `SubscriptionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` (test "mutation_generics") due to 11 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "da417c4b7f4a0a1fc35481e893a7dcd3b08a72c65e3e5cd60ee9502764eaa28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da417c4b7f4a0a1fc35481e893a7dcd3b08a72c65e3e5cd60ee9502764eaa28f", kill_on_drop: false }` [INFO] [stdout] da417c4b7f4a0a1fc35481e893a7dcd3b08a72c65e3e5cd60ee9502764eaa28f