[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#4007d4ef26eab44bdabc2b7574d032152264d3ad for pr-66919 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvis87%2Frust-api-service" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/invis87/rust-api-service on toolchain 4007d4ef26eab44bdabc2b7574d032152264d3ad [INFO] running `"/workspace/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "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-3/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" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "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] 0683efdb38a8ffabc4f7f54ec14052f8ba2e4306af18941e2994a5e37af21b6a [INFO] running `"docker" "start" "-a" "0683efdb38a8ffabc4f7f54ec14052f8ba2e4306af18941e2994a5e37af21b6a"` [INFO] [stderr] Checking ref_slice v1.2.0 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking slog-async v2.3.0 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Checking native-tls v0.2.3 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking slog-term v2.4.2 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking kafka v0.8.0 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking trust-dns-resolver v0.10.3 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking reqwest v0.9.22 [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] 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] 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" "0683efdb38a8ffabc4f7f54ec14052f8ba2e4306af18941e2994a5e37af21b6a"` [INFO] running `"docker" "rm" "-f" "0683efdb38a8ffabc4f7f54ec14052f8ba2e4306af18941e2994a5e37af21b6a"` [INFO] [stdout] 0683efdb38a8ffabc4f7f54ec14052f8ba2e4306af18941e2994a5e37af21b6a