[INFO] cloning repository https://github.com/ustchcl/kanban-hong-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ustchcl/kanban-hong-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fustchcl%2Fkanban-hong-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fustchcl%2Fkanban-hong-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 784bef617566bf4b32425215d22cc36acbf04d19 [INFO] testing ustchcl/kanban-hong-server against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fustchcl%2Fkanban-hong-server" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ustchcl/kanban-hong-server on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ustchcl/kanban-hong-server [INFO] finished tweaking git repo https://github.com/ustchcl/kanban-hong-server [INFO] tweaked toml for git repo https://github.com/ustchcl/kanban-hong-server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/ustchcl/kanban-hong-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--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-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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be27ae05c282e1e1dea82ad64ff0f6fc89b03d8e8a0091d73f0583f00c290ed9 [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" "be27ae05c282e1e1dea82ad64ff0f6fc89b03d8e8a0091d73f0583f00c290ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be27ae05c282e1e1dea82ad64ff0f6fc89b03d8e8a0091d73f0583f00c290ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be27ae05c282e1e1dea82ad64ff0f6fc89b03d8e8a0091d73f0583f00c290ed9", kill_on_drop: false }` [INFO] [stdout] be27ae05c282e1e1dea82ad64ff0f6fc89b03d8e8a0091d73f0583f00c290ed9 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 0b415007ad89ea83cf77388bec90951b128a79f3e31c4826d0b7d9e83ede9c8d [INFO] running `Command { std: "docker" "start" "-a" "0b415007ad89ea83cf77388bec90951b128a79f3e31c4826d0b7d9e83ede9c8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling time v0.2.24 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling paw v1.0.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling validator v0.12.0 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-identity v0.3.1 [INFO] [stderr] Compiling project-manager-server-diesel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/errors.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | Json(json!({ "errors": errors })), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/errors.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let mut errors = json!({}); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServiceError` [INFO] [stdout] --> src/routes/accounts.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | err(ServiceError::Unauthorized.into()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServiceError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `response` [INFO] [stdout] --> src/errors.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn respond_to(self, req: &Request) -> response::Result<'r> { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `status` [INFO] [stdout] --> src/errors.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | status::Custom( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/errors.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Status::UnprocessableEntity, [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/routes/accounts.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | return ok(user); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 20 | return Ok(user); [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `err` in this scope [INFO] [stdout] --> src/routes/accounts.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | err(ServiceError::Unauthorized.into()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 | Err(ServiceError::Unauthorized.into()) [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Responder` in this scope [INFO] [stdout] --> src/errors.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'r> Responder<'r> for Errors { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::Responder; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Responder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/errors.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn respond_to(self, req: &Request) -> response::Result<'r> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> src/errors.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | Json(json!({ "errors": errors })), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::web::Json; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::web::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `project-manager-server-diesel` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "0b415007ad89ea83cf77388bec90951b128a79f3e31c4826d0b7d9e83ede9c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b415007ad89ea83cf77388bec90951b128a79f3e31c4826d0b7d9e83ede9c8d", kill_on_drop: false }` [INFO] [stdout] 0b415007ad89ea83cf77388bec90951b128a79f3e31c4826d0b7d9e83ede9c8d