[INFO] cloning repository https://github.com/dcchut/vnq_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dcchut/vnq_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcchut%2Fvnq_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcchut%2Fvnq_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23e17b331b39f9a691cf60368f17f9162de5d0a0 [INFO] checking dcchut/vnq_server against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcchut%2Fvnq_server" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dcchut/vnq_server on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dcchut/vnq_server [INFO] finished tweaking git repo https://github.com/dcchut/vnq_server [INFO] tweaked toml for git repo https://github.com/dcchut/vnq_server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/dcchut/vnq_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fe8668eb3f9ff02c090abe3f71bb934fc0bb660fe6ea9a3ed1b33041a32eb59 [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" "6fe8668eb3f9ff02c090abe3f71bb934fc0bb660fe6ea9a3ed1b33041a32eb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fe8668eb3f9ff02c090abe3f71bb934fc0bb660fe6ea9a3ed1b33041a32eb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe8668eb3f9ff02c090abe3f71bb934fc0bb660fe6ea9a3ed1b33041a32eb59", kill_on_drop: false }` [INFO] [stdout] 6fe8668eb3f9ff02c090abe3f71bb934fc0bb660fe6ea9a3ed1b33041a32eb59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a42b78e6c6be743006ac5f29c4f904fe490381e254e4399978018537f380143 [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" "9a42b78e6c6be743006ac5f29c4f904fe490381e254e4399978018537f380143", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.46 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking arc-swap v0.4.2 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.20 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking bytestring v0.1.4 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.1.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking getrandom v0.1.11 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-threadpool v0.3.1 [INFO] [stderr] Checking serde v1.0.118 [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.2 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-server v1.0.1 [INFO] [stderr] Checking actix-testing v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.2 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking juniper v0.14.2 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking jsonwebtoken v6.0.1 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking actix-cors v0.5.3 [INFO] [stderr] Checking actix-web-httpauth v0.5.0 [INFO] [stderr] Checking vnq_server v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `done` in crate `futures` [INFO] [stdout] --> src/main.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | futures::done( [INFO] [stdout] | ^^^^ not found in `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `done` in crate `futures` [INFO] [stdout] --> src/main.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | futures::done( [INFO] [stdout] | ^^^^ not found in `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> impl Future { [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> src/main.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> impl Future { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> impl Future { [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> src/main.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> impl Future { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remote` found for struct `Ref<'_, ConnectionInfo>` in the current scope [INFO] [stdout] --> src/main.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(ip) = req.connection_info().remote() { [INFO] [stdout] | ^^^^^^ method not found in `Ref<'_, ConnectionInfo>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remote` found for struct `Ref<'_, ConnectionInfo>` in the current scope [INFO] [stdout] --> src/main.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(ip) = req.connection_info().remote() { [INFO] [stdout] | ^^^^^^ method not found in `Ref<'_, ConnectionInfo>` [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:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | Cors::new() [INFO] [stdout] | ^^^ function or associated item not found in `Cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for struct `Route` in the current scope [INFO] [stdout] --> src/main.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | .route(web::post().to_async(graphql)) [INFO] [stdout] | ^^^^^^^^ method not found in `Route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for struct `Route` in the current scope [INFO] [stdout] --> src/main.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | .route(web::post().to_async(graphql)) [INFO] [stdout] | ^^^^^^^^ method not found in `Route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for struct `Route` in the current scope [INFO] [stdout] --> src/main.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | .route(web::get().to_async(graphql)), [INFO] [stdout] | ^^^^^^^^ method not found in `Route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for struct `Route` in the current scope [INFO] [stdout] --> src/main.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | .route(web::get().to_async(graphql)), [INFO] [stdout] | ^^^^^^^^ method not found in `Route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn main() -> io::Result<()> { [INFO] [stdout] | -------------- expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 69 | / HttpServer::new(move || { [INFO] [stdout] 70 | | App::new() [INFO] [stdout] 71 | | .data(schema.clone()) [INFO] [stdout] 72 | | .wrap(middleware::Logger::default()) [INFO] [stdout] ... | [INFO] [stdout] 89 | | .bind("127.0.0.1:8080")? [INFO] [stdout] 90 | | .run() [INFO] [stdout] | |__________^ expected enum `std::result::Result`, found struct `Server` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stdout] found struct `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vnq_server` [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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn main() -> io::Result<()> { [INFO] [stdout] | -------------- expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 69 | / HttpServer::new(move || { [INFO] [stdout] 70 | | App::new() [INFO] [stdout] 71 | | .data(schema.clone()) [INFO] [stdout] 72 | | .wrap(middleware::Logger::default()) [INFO] [stdout] ... | [INFO] [stdout] 89 | | .bind("127.0.0.1:8080")? [INFO] [stdout] 90 | | .run() [INFO] [stdout] | |__________^ expected enum `std::result::Result`, found struct `Server` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stdout] found struct `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9a42b78e6c6be743006ac5f29c4f904fe490381e254e4399978018537f380143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a42b78e6c6be743006ac5f29c4f904fe490381e254e4399978018537f380143", kill_on_drop: false }` [INFO] [stdout] 9a42b78e6c6be743006ac5f29c4f904fe490381e254e4399978018537f380143