[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] testing invis87/rust-api-service against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvis87%2Frust-api-service" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/invis87/rust-api-service on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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-12/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" "+1.40.0" "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-12/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" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 921a190ef797ec69e434d9f9f02f19341823ed08f708e0d4d81966900b2e7f32
[INFO] running `"docker" "start" "-a" "921a190ef797ec69e434d9f9f02f19341823ed08f708e0d4d81966900b2e7f32"`
[INFO] [stderr]    Compiling slog v2.5.2
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling ref_slice v1.2.0
[INFO] [stderr]    Compiling ring v0.13.5
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling tokio v0.2.6
[INFO] [stderr]    Compiling socket2 v0.3.11
[INFO] [stderr]    Compiling snap v0.2.5
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling flate2 v1.0.13
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling v_escape_derive v0.5.6
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling error-chain v0.10.0
[INFO] [stderr]    Compiling actix_derive v0.3.2
[INFO] [stderr]    Compiling term v0.6.1
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling twox-hash v1.5.0
[INFO] [stderr]    Compiling tokio-reactor v0.1.11
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling tokio-threadpool v0.1.17
[INFO] [stderr]    Compiling publicsuffix v1.5.4
[INFO] [stderr]    Compiling kafka v0.8.0
[INFO] [stderr]    Compiling slog-async v2.3.0
[INFO] [stderr]    Compiling slog-term v2.4.2
[INFO] [stderr]    Compiling tokio-udp v0.1.5
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-signal v0.2.7
[INFO] [stderr]    Compiling v_escape v0.7.4
[INFO] [stderr]    Compiling tokio-fs v0.1.6
[INFO] [stderr]    Compiling v_htmlescape v0.4.5
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling cookie v0.11.1
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling trust-dns-proto v0.6.3
[INFO] [stderr]    Compiling trust-dns-proto v0.5.0
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling trust-dns-resolver v0.10.3
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling actix v0.7.9
[INFO] [stderr]    Compiling reqwest v0.9.24
[INFO] [stderr]    Compiling actix-net v0.2.6
[INFO] [stderr]    Compiling actix-web v0.7.19
[INFO] [stderr]    Compiling 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<String, ServiceError> {
[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" "921a190ef797ec69e434d9f9f02f19341823ed08f708e0d4d81966900b2e7f32"`
[INFO] running `"docker" "rm" "-f" "921a190ef797ec69e434d9f9f02f19341823ed08f708e0d4d81966900b2e7f32"`
[INFO] [stdout] 921a190ef797ec69e434d9f9f02f19341823ed08f708e0d4d81966900b2e7f32
