[INFO] cloning repository https://github.com/PatchyVideo/pvgql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PatchyVideo/pvgql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatchyVideo%2Fpvgql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatchyVideo%2Fpvgql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40f17b982df1a4b1fba38005533c4cd77064bdf4 [INFO] checking PatchyVideo/pvgql against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatchyVideo%2Fpvgql" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PatchyVideo/pvgql on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PatchyVideo/pvgql [INFO] removed path dependency juniper from git repo https://github.com/PatchyVideo/pvgql [INFO] removed path dependency juniper_actix from git repo https://github.com/PatchyVideo/pvgql [INFO] finished tweaking git repo https://github.com/PatchyVideo/pvgql [INFO] tweaked toml for git repo https://github.com/PatchyVideo/pvgql written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/PatchyVideo/pvgql already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (juniper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (juniper_actix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (juniper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (juniper_actix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 47066b62d6352f161da881650f40205f2ae216d90c16039299901c025d82ee28 [INFO] running `Command { std: "docker" "start" "-a" "47066b62d6352f161da881650f40205f2ae216d90c16039299901c025d82ee28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47066b62d6352f161da881650f40205f2ae216d90c16039299901c025d82ee28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47066b62d6352f161da881650f40205f2ae216d90c16039299901c025d82ee28", kill_on_drop: false }` [INFO] [stdout] 47066b62d6352f161da881650f40205f2ae216d90c16039299901c025d82ee28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab35f9fb7e344d5ff31ebb1a9e8e7c85f854c175d0735254fb431c6f82c457b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab35f9fb7e344d5ff31ebb1a9e8e7c85f854c175d0735254fb431c6f82c457b8", kill_on_drop: false }` [INFO] [stderr] warning: dependency (juniper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (juniper_actix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling derive_utils v0.11.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling juniper_codegen v0.15.0 [INFO] [stderr] Compiling futures-enum v0.1.15 [INFO] [stderr] Compiling extend v0.3.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix v0.10.0 [INFO] [stderr] Checking bson v1.1.0 [INFO] [stderr] Checking juniper v0.15.0 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking reqwest v0.10.9 [INFO] [stderr] Checking actix-web-actors v3.0.0 [INFO] [stderr] Checking actix-cors v0.5.3 [INFO] [stderr] Checking juniper_actix v0.2.0 [INFO] [stderr] Checking pvgql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `juniper::http::GraphQLRequest` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use juniper::http::GraphQLRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmptyMutation`, `InputValue`, `Object`, `ParseError`, `ParseScalarResult`, `RootNode`, `ScalarToken`, `ScalarValue`, `Spanning`, `Token`, `Value`, `Variables`, `execute`, `serde::de` [INFO] [stdout] --> src/models.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | parser::{ParseError, ScalarToken, Spanning, Token}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 7 | serde::de, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | EmptyMutation, FieldResult, InputValue, Object, ParseScalarResult, RootNode, ScalarValue, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | Value, Variables, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/models.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/models.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spanning` [INFO] [stdout] --> src/./custom_scalar.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | parser::{ParseError, ScalarToken, Spanning, Token}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! postRawJSON { [INFO] [stdout] 3 | | ($t:ident , $u:expr, $j:expr) => { [INFO] [stdout] 4 | | { [INFO] [stdout] 5 | | let client = reqwest::blocking::Client::new(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | }; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Error` [INFO] [stdout] --> src/gql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `juniper::graphql_value` [INFO] [stdout] --> src/gql.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use juniper::graphql_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/services/listVideo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::*` [INFO] [stdout] --> src/services/listVideo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/services/listVideo.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/services/listVideo.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/services/listVideo.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BsonDateTime`, `Meta`, `VideoItem` [INFO] [stdout] --> src/services/listVideo.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::{Meta, Error, RestResult, BsonDateTime, Video, VideoItem}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/services/getVideo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::*` [INFO] [stdout] --> src/services/getVideo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/services/getVideo.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/services/getVideo.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/services/getVideo.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::*` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `juniper::http::GraphQLRequest` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use juniper::http::GraphQLRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmptyMutation`, `InputValue`, `Object`, `ParseError`, `ParseScalarResult`, `RootNode`, `ScalarToken`, `ScalarValue`, `Spanning`, `Token`, `Value`, `Variables`, `execute`, `serde::de` [INFO] [stdout] --> src/models.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | parser::{ParseError, ScalarToken, Spanning, Token}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 7 | serde::de, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | EmptyMutation, FieldResult, InputValue, Object, ParseScalarResult, RootNode, ScalarValue, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | Value, Variables, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/models.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/models.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! postRawJSON { [INFO] [stdout] 3 | | ($t:ident , $u:expr, $j:expr) => { [INFO] [stdout] 4 | | { [INFO] [stdout] 5 | | let client = reqwest::blocking::Client::new(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | }; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Error` [INFO] [stdout] --> src/gql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `juniper::graphql_value` [INFO] [stdout] --> src/gql.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use juniper::graphql_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/services/listVideo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::*` [INFO] [stdout] --> src/services/listVideo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/services/listVideo.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/services/listVideo.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/services/listVideo.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BsonDateTime`, `Meta`, `VideoItem` [INFO] [stdout] --> src/services/listVideo.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::{Meta, Error, RestResult, BsonDateTime, Video, VideoItem}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/services/getVideo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::*` [INFO] [stdout] --> src/services/getVideo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/services/getVideo.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/services/getVideo.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/services/getVideo.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::*` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::os::raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/main.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `into_string` [INFO] [stdout] --> src/./custom_scalar.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | impl ScalarValue for MyScalarValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `into_string` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn into_string(self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `into_string` [INFO] [stdout] --> src/./custom_scalar.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | impl ScalarValue for MyScalarValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `into_string` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn into_string(self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `TestType` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required by `RootNode::<'a, QueryT, MutationT, SubscriptionT>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestSubscriptionType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:67 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `TestSubscriptionType` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required by `RootNode::<'a, QueryT, MutationT, SubscriptionT>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/schema/model.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | QueryT: GraphQLType, [INFO] [stdout] | -------------- required by this bound in `RootNode` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `custom_scalar::TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `custom_scalar::TestType` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required by `RootNode::<'a, QueryT, MutationT, SubscriptionT>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestSubscriptionType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `TestSubscriptionType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/schema/model.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | SubscriptionT: GraphQLType, [INFO] [stdout] | -------------- required by this bound in `RootNode` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestSubscriptionType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:67 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `TestSubscriptionType` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required by `RootNode::<'a, QueryT, MutationT, SubscriptionT>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `custom_scalar::TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `custom_scalar::TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/schema/model.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | QueryT: GraphQLType, [INFO] [stdout] | -------------- required by this bound in `RootNode` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestSubscriptionType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | let schema = RootNode::new(TestType, EmptyMutation::<()>::new(), TestSubscriptionType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GraphQLType` is not implemented for `TestSubscriptionType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/schema/model.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | SubscriptionT: GraphQLType, [INFO] [stdout] | -------------- required by this bound in `RootNode` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/./custom_scalar.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^ expected enum `DefaultScalarValue`, found enum `MyScalarValue` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HashMap` [INFO] [stdout] found reference `&HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestSubscriptionType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLType` is not implemented for `TestSubscriptionType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/lib.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | SubscriptionT: GraphQLType + Sync, [INFO] [stdout] | ----------------------------------------- required by this bound in `execute` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `custom_scalar::TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLType` is not implemented for `custom_scalar::TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/schema/model.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | QueryT: GraphQLType, [INFO] [stdout] | -------------- required by this bound in `RootNode` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `custom_scalar::TestType: GraphQLValueAsync` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLValueAsync` is not implemented for `custom_scalar::TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | QueryT: GraphQLTypeAsync, [INFO] [stdout] | ------------------- required by this bound in `execute` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `GraphQLTypeAsync` for `custom_scalar::TestType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `custom_scalar::TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLType` is not implemented for `custom_scalar::TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | QueryT: GraphQLTypeAsync, [INFO] [stdout] | ------------------- required by this bound in `execute` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `GraphQLTypeAsync` for `custom_scalar::TestType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/./custom_scalar.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^ expected enum `DefaultScalarValue`, found enum `MyScalarValue` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HashMap` [INFO] [stdout] found reference `&HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestSubscriptionType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLType` is not implemented for `TestSubscriptionType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/lib.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | SubscriptionT: GraphQLType + Sync, [INFO] [stdout] | ----------------------------------------- required by this bound in `execute` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLType` is not implemented for `TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/schema/model.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | QueryT: GraphQLType, [INFO] [stdout] | -------------- required by this bound in `RootNode` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestType: GraphQLValueAsync` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLValueAsync` is not implemented for `TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | QueryT: GraphQLTypeAsync, [INFO] [stdout] | ------------------- required by this bound in `execute` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `GraphQLTypeAsync` for `TestType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestType: GraphQLType` is not satisfied [INFO] [stdout] --> src/./custom_scalar.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let (result, errs) = execute(query, None, &schema, &vars, &()) [INFO] [stdout] | ^^^^^^^ the trait `GraphQLType` is not implemented for `TestType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/juniper-0.15.0/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | QueryT: GraphQLTypeAsync, [INFO] [stdout] | ------------------- required by this bound in `execute` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `GraphQLTypeAsync` for `TestType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/./custom_scalar.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | f(obj); [INFO] [stdout] | ^^^ expected enum `MyScalarValue`, found enum `DefaultScalarValue` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&juniper::Object` [INFO] [stdout] found reference `&juniper::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/./custom_scalar.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | f(obj); [INFO] [stdout] | ^^^ expected enum `MyScalarValue`, found enum `DefaultScalarValue` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&juniper::Object` [INFO] [stdout] found reference `&juniper::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Cors` in the current scope [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Cors::new() [INFO] [stdout] | ^^^ function or associated item not found in `Cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Cors` in the current scope [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Cors::new() [INFO] [stdout] | ^^^ function or associated item not found in `Cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pvgql` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab35f9fb7e344d5ff31ebb1a9e8e7c85f854c175d0735254fb431c6f82c457b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab35f9fb7e344d5ff31ebb1a9e8e7c85f854c175d0735254fb431c6f82c457b8", kill_on_drop: false }` [INFO] [stdout] ab35f9fb7e344d5ff31ebb1a9e8e7c85f854c175d0735254fb431c6f82c457b8