[INFO] cloning repository https://github.com/PatchyVideo/thvote-gateway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PatchyVideo/thvote-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatchyVideo%2Fthvote-gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatchyVideo%2Fthvote-gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a272b957978b7f750f22103bf2135f51c66de569
[INFO] testing PatchyVideo/thvote-gateway against 1.54.0 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatchyVideo%2Fthvote-gateway" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PatchyVideo/thvote-gateway on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/PatchyVideo/thvote-gateway
[INFO] finished tweaking git repo https://github.com/PatchyVideo/thvote-gateway
[INFO] tweaked toml for git repo https://github.com/PatchyVideo/thvote-gateway written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/PatchyVideo/thvote-gateway already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50d8560f02bfb13bd9ff190d87fd79b2c2346d4b07a708b063b60e836b5891d3
[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" "50d8560f02bfb13bd9ff190d87fd79b2c2346d4b07a708b063b60e836b5891d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50d8560f02bfb13bd9ff190d87fd79b2c2346d4b07a708b063b60e836b5891d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50d8560f02bfb13bd9ff190d87fd79b2c2346d4b07a708b063b60e836b5891d3", kill_on_drop: false }`
[INFO] [stdout] 50d8560f02bfb13bd9ff190d87fd79b2c2346d4b07a708b063b60e836b5891d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ca70183cdfa86d3ab5339471fe4c169a0299bc4605bb1fcc8b459afcfba8666
[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" "1ca70183cdfa86d3ab5339471fe4c169a0299bc4605bb1fcc8b459afcfba8666", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.9.0
[INFO] [stderr]    Compiling smartstring v0.2.7
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling derive_utils v0.11.2
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling actix-macros v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.16
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling juniper_codegen v0.15.7
[INFO] [stderr]    Compiling extend v1.1.1
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling futures-enum v0.1.17
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling futures-executor v0.3.16
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling futures v0.3.16
[INFO] [stderr]    Compiling actix-rt v2.2.0
[INFO] [stderr]    Compiling graphql-parser v0.3.0
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling trust-dns-proto v0.19.7
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling bson v1.2.2
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling actix v0.10.0
[INFO] [stderr]    Compiling juniper v0.15.7
[INFO] [stderr]    Compiling actix-http v2.2.0
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling juniper_subscriptions v0.15.5
[INFO] [stderr]    Compiling juniper_subscriptions v0.16.0
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling juniper_graphql_ws v0.3.0
[INFO] [stderr]    Compiling juniper_graphql_ws v0.2.5
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling actix-web v3.3.2
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling actix-web-actors v3.0.0
[INFO] [stderr]    Compiling actix-cors v0.5.4
[INFO] [stderr]    Compiling juniper_actix v0.2.5
[INFO] [stderr]    Compiling gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `object` in `juniper`
[INFO] [stdout]    --> src/result_query/mod.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 185 | #[juniper::object]
[INFO] [stdout]     |            ^^^^^^ could not find `object` in `juniper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `object` in `juniper`
[INFO] [stdout]    --> src/result_query/mod.rs:254:12
[INFO] [stdout]     |
[INFO] [stdout] 254 | #[juniper::object]
[INFO] [stdout]     |            ^^^^^^ could not find `object` in `juniper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `graphql` in this scope
[INFO] [stdout]    --> src/result_query/mod.rs:186:3
[INFO] [stdout]     |
[INFO] [stdout] 186 | #[graphql(description="单个人物的结果")]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `graphql` in this scope
[INFO] [stdout]    --> src/result_query/mod.rs:255:3
[INFO] [stdout]     |
[INFO] [stdout] 255 | #[graphql(description="人物的结果")]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `client::ClientBuilder`, `cookie`
[INFO] [stdout]  --> src/main.rs:8:68
[INFO] [stdout]   |
[INFO] [stdout] 8 | use actix_web::{App, Error, HttpMessage, HttpResponse, HttpServer, client::ClientBuilder, cookie, middleware, web};
[INFO] [stdout]   |                                                                    ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::client::Client`
[INFO] [stdout]  --> src/common.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::client::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `juniper::graphql_value`
[INFO] [stdout]  --> src/submit_handler/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use juniper::graphql_value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/submit_handler/mod.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::common::{Error, UserVerifyResult, PostResult};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Utc`
[INFO] [stdout]   --> src/submit_handler/mod.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use chrono::{DateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]   --> src/submit_handler/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use bson::oid::ObjectId;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `juniper::graphql_value`
[INFO] [stdout]  --> src/result_query/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use juniper::graphql_value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/result_query/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]   --> src/result_query/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use bson::oid::ObjectId;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::*`
[INFO] [stdout]    --> src/result_query/mod.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 271 | use crate::services::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CharacterRankResult`, `FilterConditions`, `Reasons`, `SingleCharacterResult`
[INFO] [stdout]   --> src/schema.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 | use result_query::{CharacterRankResult, Reasons, FilterConditions, SingleCharacterResult};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `juniper::graphql_value`
[INFO] [stdout]  --> src/user_manager/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use juniper::graphql_value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `UserVerifyResult`
[INFO] [stdout]  --> src/user_manager/mod.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::common::{Error, UserVerifyResult, PostResult};
[INFO] [stdout]   |                     ^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Utc`
[INFO] [stdout]  --> src/user_manager/mod.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]   --> src/user_manager/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use bson::oid::ObjectId;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::*`
[INFO] [stdout]   --> src/user_manager/mod.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | use crate::services::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::*`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::os::raw::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gateway`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "1ca70183cdfa86d3ab5339471fe4c169a0299bc4605bb1fcc8b459afcfba8666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ca70183cdfa86d3ab5339471fe4c169a0299bc4605bb1fcc8b459afcfba8666", kill_on_drop: false }`
[INFO] [stdout] 1ca70183cdfa86d3ab5339471fe4c169a0299bc4605bb1fcc8b459afcfba8666
