[INFO] updating cached repository https://github.com/invis87/rust-api-service [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c50965350192eba9e80ea0930a455bf6bbf02365 [INFO] checking invis87/rust-api-service against master#fdc0011561c6365c596dfd8fa1ef388162bc89c7 for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvis87%2Frust-api-service" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/invis87/rust-api-service on toolchain fdc0011561c6365c596dfd8fa1ef388162bc89c7 [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/invis87/rust-api-service [INFO] finished tweaking git repo https://github.com/invis87/rust-api-service [INFO] tweaked toml for git repo https://github.com/invis87/rust-api-service written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/invis87/rust-api-service already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 50031676e4449d9db8a5c1ce14756391abdc7998e8b4a049035a31a21a89c764 [INFO] running `"docker" "start" "-a" "50031676e4449d9db8a5c1ce14756391abdc7998e8b4a049035a31a21a89c764"` [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking ref_slice v1.2.0 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Checking slog-term v2.4.2 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking kafka v0.8.0 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking v_escape v0.7.4 [INFO] [stderr] Checking v_htmlescape v0.4.5 [INFO] [stderr] Checking trust-dns-resolver v0.10.3 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking actix-net v0.2.6 [INFO] [stderr] Checking actix-web v0.7.19 [INFO] [stderr] Checking api-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stderr] --> src/handlers/mod.rs:43:25 [INFO] [stderr] | [INFO] [stderr] 43 | let future_result = future::lazy(|| -> Result { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `future` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stderr] --> src/handlers/mod.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | future::ok("OK".to_string()).responder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `future` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stderr] --> src/handlers/mod.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | future::ok(messages_from_kafka).responder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `future` [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude::*` [INFO] [stderr] --> src/handlers/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::AsyncResponder` [INFO] [stderr] --> src/handlers/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use actix_web::AsyncResponder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `api-service`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stderr] --> src/handlers/mod.rs:43:25 [INFO] [stderr] | [INFO] [stderr] 43 | let future_result = future::lazy(|| -> Result { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `future` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stderr] --> src/handlers/mod.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | future::ok("OK".to_string()).responder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `future` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stderr] --> src/handlers/mod.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | future::ok(messages_from_kafka).responder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `future` [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude::*` [INFO] [stderr] --> src/handlers/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::AsyncResponder` [INFO] [stderr] --> src/handlers/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use actix_web::AsyncResponder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `api-service`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "50031676e4449d9db8a5c1ce14756391abdc7998e8b4a049035a31a21a89c764"` [INFO] running `"docker" "rm" "-f" "50031676e4449d9db8a5c1ce14756391abdc7998e8b4a049035a31a21a89c764"` [INFO] [stdout] 50031676e4449d9db8a5c1ce14756391abdc7998e8b4a049035a31a21a89c764