[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.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvis87%2Frust-api-service" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/invis87/rust-api-service on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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-2/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.44.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-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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" "+1.44.0" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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.44.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] 981623b1695d14776a6a481721f116095de34f3895af624c1e6731f1f41a4536 [INFO] running `"docker" "start" "-a" "981623b1695d14776a6a481721f116095de34f3895af624c1e6731f1f41a4536"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ref_slice v1.2.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling kafka v0.8.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling cookie v0.11.3 [INFO] [stderr] Compiling slog-term v2.6.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling actix v0.7.9 [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 { [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; 2 warnings emitted [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" "981623b1695d14776a6a481721f116095de34f3895af624c1e6731f1f41a4536"` [INFO] running `"docker" "rm" "-f" "981623b1695d14776a6a481721f116095de34f3895af624c1e6731f1f41a4536"` [INFO] [stdout] 981623b1695d14776a6a481721f116095de34f3895af624c1e6731f1f41a4536