[INFO] fetching crate graphgate 0.5.1... [INFO] checking graphgate-0.5.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate graphgate 0.5.1 into /workspace/builds/worker-103/source [INFO] validating manifest of crates.io crate graphgate 0.5.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graphgate 0.5.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate graphgate 0.5.1 [INFO] tweaked toml for crates.io crate graphgate 0.5.1 written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate crates.io crate graphgate 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded security-framework-sys v2.1.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] [stderr] Downloaded kube-derive v0.51.0 [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded array_tool v1.0.3 [INFO] [stderr] Downloaded multer v1.2.2 [INFO] [stderr] Downloaded async-graphql-parser v2.5.9 [INFO] [stderr] Downloaded async-graphql v2.6.4 [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded jsonpath_lib v0.2.6 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded async-trait v0.1.48 [INFO] [stderr] Downloaded brotli-decompressor v2.3.1 [INFO] [stderr] Downloaded async-graphql-value v2.5.9 [INFO] [stderr] Downloaded tower v0.4.6 [INFO] [stderr] Downloaded tokio-util v0.6.4 [INFO] [stderr] Downloaded h2 v0.3.1 [INFO] [stderr] Downloaded async-graphql-warp v2.6.4 [INFO] [stderr] Downloaded security-framework v2.1.2 [INFO] [stderr] Downloaded brotli v3.3.0 [INFO] [stderr] Downloaded async-graphql-derive v2.6.0 [INFO] [stderr] Downloaded ordered-float v2.1.1 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.1 [INFO] [stderr] Downloaded thrift v0.13.0 [INFO] [stderr] Downloaded kube v0.51.0 [INFO] [stderr] Downloaded graphgate-schema v0.5.1 [INFO] [stderr] Downloaded k8s-openapi v0.11.0 [INFO] [stderr] Downloaded graphgate-planner v0.5.1 [INFO] [stderr] Downloaded graphgate-handler v0.5.1 [INFO] [stderr] Downloaded graphgate-validation v0.5.0 [INFO] [stderr] Downloaded integer-encoding v1.1.7 [INFO] [stderr] Downloaded opentelemetry-jaeger v0.12.0 [INFO] [stderr] Downloaded protobuf v2.22.1 [INFO] [stderr] Downloaded opentelemetry-prometheus v0.6.0 [INFO] [stderr] Downloaded opentelemetry v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78c0bc585b634fd920e39c3b3ef6104dee2a8e73ecb2f56b8cc10c5164f50fd3 [INFO] running `Command { std: "docker" "start" "-a" "78c0bc585b634fd920e39c3b3ef6104dee2a8e73ecb2f56b8cc10c5164f50fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78c0bc585b634fd920e39c3b3ef6104dee2a8e73ecb2f56b8cc10c5164f50fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c0bc585b634fd920e39c3b3ef6104dee2a8e73ecb2f56b8cc10c5164f50fd3", kill_on_drop: false }` [INFO] [stdout] 78c0bc585b634fd920e39c3b3ef6104dee2a8e73ecb2f56b8cc10c5164f50fd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b399cb4171842a9d145bfadbac1dcee0237bcf11241cec0de4cbd4d44667d81 [INFO] running `Command { std: "docker" "start" "-a" "6b399cb4171842a9d145bfadbac1dcee0237bcf11241cec0de4cbd4d44667d81", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] byteorder v1.4.2 (as host dependency): default, std [INFO] [stderr] itoa v0.4.7 (as host dependency): default, std [INFO] [stderr] serde v1.0.125 (as host dependency): default, derive, serde_derive [INFO] [stderr] serde_json v1.0.64 (as host dependency): indexmap, preserve_order [INFO] [stderr] tokio v1.4.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling protobuf v2.22.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Compiling k8s-openapi v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking integer-encoding v1.1.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking spin v0.7.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking brotli-decompressor v2.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking brotli v3.3.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking thrift v0.13.0 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.3.7 [INFO] [stderr] Checking tokio-io-timeout v1.1.1 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking multer v1.2.2 [INFO] [stderr] Checking opentelemetry v0.13.0 [INFO] [stderr] Checking tower v0.4.6 [INFO] [stderr] Checking opentelemetry-prometheus v0.6.0 [INFO] [stderr] Checking opentelemetry-jaeger v0.12.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking async-graphql-value v2.5.9 [INFO] [stderr] Checking jsonpath_lib v0.2.6 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking async-graphql-parser v2.5.9 [INFO] [stderr] Compiling kube-derive v0.51.0 [INFO] [stderr] Checking graphgate-schema v0.5.1 [INFO] [stderr] Checking graphgate-validation v0.5.0 [INFO] [stderr] Checking graphgate-planner v0.5.1 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Compiling async-graphql-derive v2.6.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.2 [INFO] [stderr] Checking graphgate-handler v0.5.1 [INFO] [stderr] Checking async-graphql v2.6.4 [INFO] [stderr] Checking kube v0.51.0 [INFO] [stderr] Checking graphgate v0.5.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Checking async-graphql-warp v2.6.4 [INFO] [stderr] Migrating examples/accounts.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/reviews.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/products.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/builtin_scalar_bug/bug.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `accounts` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/accounts.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: invalid `dyn` keyword [INFO] [stderr] --> examples/accounts.rs:42:35 [INFO] [stderr] | [INFO] [stderr] 42 | async fn users(&self) -> impl dyn Stream { [INFO] [stderr] | ^^^ help: remove this keyword [INFO] [stderr] | [INFO] [stderr] = help: `dyn` is only needed at the start of a trait `+`-separated list [INFO] [stderr] [INFO] [stderr] error: expected curly braces [INFO] [stderr] --> examples/accounts.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | async fn users(&self) -> impl dyn Stream { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::stream::Stream` [INFO] [stderr] --> examples/accounts.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_util::stream::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::Duration` [INFO] [stderr] --> examples/accounts.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/accounts.rs:54:54 [INFO] [stderr] | [INFO] [stderr] 54 | let schema = Schema::build(Query, EmptyMutation, Subscription) [INFO] [stderr] | ^^^^^^^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by `async_graphql::Schema::::build` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-2.6.4/src/schema.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | / pub fn build( [INFO] [stderr] 227 | | query: Query, [INFO] [stderr] 228 | | mutation: Mutation, [INFO] [stderr] 229 | | subscription: Subscription, [INFO] [stderr] 230 | | ) -> SchemaBuilder { [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/accounts.rs:59:26 [INFO] [stderr] | [INFO] [stderr] 59 | let routes = graphql(schema.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `graphql` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-warp-2.6.4/src/request.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 55 | Subscription: SubscriptionType + 'static, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `graphql` [INFO] [stderr] [INFO] [stderr] error[E0599]: the method `execute` exists for struct `async_graphql::Schema`, but its trait bounds were not satisfied [INFO] [stderr] --> examples/accounts.rs:67:47 [INFO] [stderr] | [INFO] [stderr] 38 | struct Subscription; [INFO] [stderr] | -------------------- doesn't satisfy `Subscription: SubscriptionType` [INFO] [stderr] ... [INFO] [stderr] 67 | warp::reply::json(&schema.execute(request).await).into_response(), [INFO] [stderr] | ^^^^^^^ method cannot be called on `async_graphql::Schema` due to unsatisfied trait bounds [INFO] [stderr] | [INFO] [stderr] = note: the following trait bounds were not satisfied: [INFO] [stderr] `Subscription: SubscriptionType` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/accounts.rs:71:34 [INFO] [stderr] | [INFO] [stderr] 71 | .or(graphql_subscription(schema)); [INFO] [stderr] | ^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `graphql_subscription` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-warp-2.6.4/src/subscription.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | Subscription: SubscriptionType + Send + Sync + 'static, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `graphql_subscription` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/accounts.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | async fn users(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/accounts.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | async fn users(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `reviews` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/reviews.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: invalid `dyn` keyword [INFO] [stderr] --> examples/reviews.rs:75:37 [INFO] [stderr] | [INFO] [stderr] 75 | async fn reviews(&self) -> impl dyn Stream { [INFO] [stderr] | ^^^ help: remove this keyword [INFO] [stderr] | [INFO] [stderr] = help: `dyn` is only needed at the start of a trait `+`-separated list [INFO] [stderr] [INFO] [stderr] error: expected curly braces [INFO] [stderr] --> examples/reviews.rs:75:41 [INFO] [stderr] | [INFO] [stderr] 75 | async fn reviews(&self) -> impl dyn Stream { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::stream::Stream` [INFO] [stderr] --> examples/reviews.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_util::stream::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::Duration` [INFO] [stderr] --> examples/reviews.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/reviews.rs:117:54 [INFO] [stderr] | [INFO] [stderr] 117 | let schema = Schema::build(Query, EmptyMutation, Subscription) [INFO] [stderr] | ^^^^^^^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by `async_graphql::Schema::::build` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-2.6.4/src/schema.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | / pub fn build( [INFO] [stderr] 227 | | query: Query, [INFO] [stderr] 228 | | mutation: Mutation, [INFO] [stderr] 229 | | subscription: Subscription, [INFO] [stderr] 230 | | ) -> SchemaBuilder { [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/reviews.rs:123:26 [INFO] [stderr] | [INFO] [stderr] 123 | let routes = graphql(schema.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `graphql` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-warp-2.6.4/src/request.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 55 | Subscription: SubscriptionType + 'static, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `graphql` [INFO] [stderr] [INFO] [stderr] error[E0599]: the method `execute` exists for struct `async_graphql::Schema`, but its trait bounds were not satisfied [INFO] [stderr] --> examples/reviews.rs:131:47 [INFO] [stderr] | [INFO] [stderr] 71 | struct Subscription; [INFO] [stderr] | -------------------- doesn't satisfy `Subscription: SubscriptionType` [INFO] [stderr] ... [INFO] [stderr] 131 | warp::reply::json(&schema.execute(request).await).into_response(), [INFO] [stderr] | ^^^^^^^ method cannot be called on `async_graphql::Schema` due to unsatisfied trait bounds [INFO] [stderr] | [INFO] [stderr] = note: the following trait bounds were not satisfied: [INFO] [stderr] `Subscription: SubscriptionType` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/reviews.rs:135:34 [INFO] [stderr] | [INFO] [stderr] 135 | .or(graphql_subscription(schema)); [INFO] [stderr] | ^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `graphql_subscription` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-warp-2.6.4/src/subscription.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | Subscription: SubscriptionType + Send + Sync + 'static, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `graphql_subscription` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/reviews.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | async fn reviews(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/reviews.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | async fn reviews(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `products` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/products.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: invalid `dyn` keyword [INFO] [stderr] --> examples/products.rs:35:38 [INFO] [stderr] | [INFO] [stderr] 35 | async fn products(&self) -> impl dyn Stream { [INFO] [stderr] | ^^^ help: remove this keyword [INFO] [stderr] | [INFO] [stderr] = help: `dyn` is only needed at the start of a trait `+`-separated list [INFO] [stderr] [INFO] [stderr] error: expected curly braces [INFO] [stderr] --> examples/products.rs:35:42 [INFO] [stderr] | [INFO] [stderr] 35 | async fn products(&self) -> impl dyn Stream { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::stream::Stream` [INFO] [stderr] --> examples/products.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_util::stream::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::Duration` [INFO] [stderr] --> examples/products.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/products.rs:69:54 [INFO] [stderr] | [INFO] [stderr] 69 | let schema = Schema::build(Query, EmptyMutation, Subscription) [INFO] [stderr] | ^^^^^^^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by `async_graphql::Schema::::build` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-2.6.4/src/schema.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | / pub fn build( [INFO] [stderr] 227 | | query: Query, [INFO] [stderr] 228 | | mutation: Mutation, [INFO] [stderr] 229 | | subscription: Subscription, [INFO] [stderr] 230 | | ) -> SchemaBuilder { [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/products.rs:75:26 [INFO] [stderr] | [INFO] [stderr] 75 | let routes = graphql(schema.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `graphql` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-warp-2.6.4/src/request.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 55 | Subscription: SubscriptionType + 'static, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `graphql` [INFO] [stderr] [INFO] [stderr] error[E0599]: the method `execute` exists for struct `async_graphql::Schema`, but its trait bounds were not satisfied [INFO] [stderr] --> examples/products.rs:83:47 [INFO] [stderr] | [INFO] [stderr] 31 | struct Subscription; [INFO] [stderr] | -------------------- doesn't satisfy `Subscription: SubscriptionType` [INFO] [stderr] ... [INFO] [stderr] 83 | warp::reply::json(&schema.execute(request).await).into_response(), [INFO] [stderr] | ^^^^^^^ method cannot be called on `async_graphql::Schema` due to unsatisfied trait bounds [INFO] [stderr] | [INFO] [stderr] = note: the following trait bounds were not satisfied: [INFO] [stderr] `Subscription: SubscriptionType` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Subscription: SubscriptionType` is not satisfied [INFO] [stderr] --> examples/products.rs:87:34 [INFO] [stderr] | [INFO] [stderr] 87 | .or(graphql_subscription(schema)); [INFO] [stderr] | ^^^^^^ the trait `SubscriptionType` is not implemented for `Subscription` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `graphql_subscription` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-graphql-warp-2.6.4/src/subscription.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | Subscription: SubscriptionType + Send + Sync + 'static, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `graphql_subscription` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/products.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | async fn products(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/products.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | async fn products(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling async-graphql-value v2.5.9 [INFO] [stderr] Compiling kube-derive v0.51.0 [INFO] [stderr] Compiling async-graphql-parser v2.5.9 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.3.7 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-io-timeout v1.1.1 [INFO] [stderr] Compiling async-graphql-derive v2.6.0 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking opentelemetry v0.13.0 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking tower v0.4.6 [INFO] [stderr] Checking opentelemetry-jaeger v0.12.0 [INFO] [stderr] Checking opentelemetry-prometheus v0.6.0 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking async-graphql v2.6.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.2 [INFO] [stderr] Checking kube v0.51.0 [INFO] [stderr] Checking graphgate-handler v0.5.1 [INFO] [stderr] Checking async-graphql-warp v2.6.4 [INFO] [stderr] Checking graphgate v0.5.1 (/tmp/fixit) [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> examples/accounts.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | async fn users(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 42 | async fn users(&self) -> impl dyn Stream { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> examples/products.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | async fn products(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 35 | async fn products(&self) -> impl dyn Stream { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> examples/reviews.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | async fn reviews(&self) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 75 | async fn reviews(&self) -> impl dyn Stream { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graphgate` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6b399cb4171842a9d145bfadbac1dcee0237bcf11241cec0de4cbd4d44667d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b399cb4171842a9d145bfadbac1dcee0237bcf11241cec0de4cbd4d44667d81", kill_on_drop: false }` [INFO] [stdout] 6b399cb4171842a9d145bfadbac1dcee0237bcf11241cec0de4cbd4d44667d81