[INFO] updating cached repository https://github.com/hskang9/microservice.rs [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] 1ac7df6fb2317f8c70173523ae5767899d433b51 [INFO] testing hskang9/microservice.rs against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhskang9%2Fmicroservice.rs" "/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/hskang9/microservice.rs on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/hskang9/microservice.rs [INFO] finished tweaking git repo https://github.com/hskang9/microservice.rs [INFO] tweaked toml for git repo https://github.com/hskang9/microservice.rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/hskang9/microservice.rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] [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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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=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" "+beta-2020-06-03" "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] da7b434b126a3a3757fa718e2434297142e6cb0bd0115146e974f550f3101547 [INFO] running `"docker" "start" "-a" "da7b434b126a3a3757fa718e2434297142e6cb0bd0115146e974f550f3101547"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling protobuf v2.14.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling prometheus v0.7.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling juniper_codegen v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling juniper v0.13.1 [INFO] [stderr] Compiling jsonwebtoken v6.0.1 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling awc v0.2.8 [INFO] [stderr] Compiling actix-web v1.0.9 [INFO] [stderr] Compiling actix-web-prom v0.1.4 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `jwt` [INFO] [stderr] --> src/utils/jwt.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jwt::{decode, encode, Header, Validation}; [INFO] [stderr] | ^^^ help: a similar path exists: `super::jwt` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `chrono` [INFO] [stderr] --> src/utils/jwt.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::{Local, Duration}; [INFO] [stderr] | ^^^^^^ help: a similar path exists: `juniper::chrono` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Serialize` in this scope [INFO] [stderr] --> src/utils/jwt.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Deserialize` in this scope [INFO] [stderr] --> src/utils/jwt.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `dotenv` in this scope [INFO] [stderr] --> src/utils/jwt.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | dotenv!("JWT_SECRET").as_bytes() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:53:22 [INFO] [stderr] | [INFO] [stderr] 53 | let prometheus = PrometheusMetrics::new("api", "/metrics"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ----- ---------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `backend`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "da7b434b126a3a3757fa718e2434297142e6cb0bd0115146e974f550f3101547"` [INFO] running `"docker" "rm" "-f" "da7b434b126a3a3757fa718e2434297142e6cb0bd0115146e974f550f3101547"` [INFO] [stdout] da7b434b126a3a3757fa718e2434297142e6cb0bd0115146e974f550f3101547