[INFO] updating cached repository https://github.com/hskang9/microservice.rs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ac7df6fb2317f8c70173523ae5767899d433b51 [INFO] testing hskang9/microservice.rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhskang9%2Fmicroservice.rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hskang9/microservice.rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/hskang9/microservice.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1c27a02d02562fb95d5970c1017635a0585ce290b14a90ab1090ef68e5505aa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f1c27a02d02562fb95d5970c1017635a0585ce290b14a90ab1090ef68e5505aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1c27a02d02562fb95d5970c1017635a0585ce290b14a90ab1090ef68e5505aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c27a02d02562fb95d5970c1017635a0585ce290b14a90ab1090ef68e5505aa", kill_on_drop: false }` [INFO] [stdout] f1c27a02d02562fb95d5970c1017635a0585ce290b14a90ab1090ef68e5505aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e70b58f51f468d220647318641c76be7f95d22ec0f0750595de07e72e8d3f36c [INFO] running `Command { std: "docker" "start" "-a" "e70b58f51f468d220647318641c76be7f95d22ec0f0750595de07e72e8d3f36c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Compiling prometheus v0.7.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [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 actix-codec v0.1.2 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling flate2 v1.0.16 [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 actix-testing v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [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 trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.57 [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] [stdout] error[E0432]: unresolved import `jwt` [INFO] [stdout] --> src/utils/jwt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jwt::{decode, encode, Header, Validation}; [INFO] [stdout] | ^^^ help: a similar path exists: `super::jwt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/utils/jwt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Local, Duration}; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `juniper::chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/utils/jwt.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/utils/jwt.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dotenv` in this scope [INFO] [stdout] --> src/utils/jwt.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | dotenv!("JWT_SECRET").as_bytes() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let prometheus = PrometheusMetrics::new("api", "/metrics"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ----- ---------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e70b58f51f468d220647318641c76be7f95d22ec0f0750595de07e72e8d3f36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e70b58f51f468d220647318641c76be7f95d22ec0f0750595de07e72e8d3f36c", kill_on_drop: false }` [INFO] [stdout] e70b58f51f468d220647318641c76be7f95d22ec0f0750595de07e72e8d3f36c