[INFO] updating cached repository https://github.com/fastAsF/rust-rest [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] 115808f44bcc9c6bfe38be63f94a146eb72dfd16 [INFO] testing fastAsF/rust-rest against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfastAsF%2Frust-rest" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fastAsF/rust-rest 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/fastAsF/rust-rest [INFO] finished tweaking git repo https://github.com/fastAsF/rust-rest [INFO] tweaked toml for git repo https://github.com/fastAsF/rust-rest written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/fastAsF/rust-rest 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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 1e7eeda26ebab392a86040c0c65c82815108e222ed27cac9f1c179ab625870f4 [INFO] running `"docker" "start" "-a" "1e7eeda26ebab392a86040c0c65c82815108e222ed27cac9f1c179ab625870f4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling snailquote v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling envfile v0.2.1 [INFO] [stderr] Compiling pem v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.18 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.18 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v2.0.0-alpha.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-connect v2.0.0-alpha.3 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-http v2.0.0-alpha.3 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling jsonwebtoken v7.1.0 [INFO] [stderr] Compiling mongodb v0.9.2 [INFO] [stderr] Compiling awc v2.0.0-alpha.1 [INFO] [stderr] Compiling actix-web v3.0.0-alpha.2 [INFO] [stderr] Compiling rust-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0583]: file not found for module `config` [INFO] [stderr] --> src/main.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | mod config; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `config`, create file "src/config.rs" [INFO] [stderr] [INFO] [stderr] error[E0583]: file not found for module `db` [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | mod db; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `db`, create file "src/db.rs" [INFO] [stderr] [INFO] [stderr] error[E0583]: file not found for module `middlewares` [INFO] [stderr] --> src/main.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | mod middlewares; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `middlewares`, create file "src/middlewares.rs" [INFO] [stderr] [INFO] [stderr] error[E0583]: file not found for module `models` [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | mod models; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `models`, create file "src/models.rs" [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::db` [INFO] [stderr] --> src/repositories/user_repository/routes.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::db::db::{Connection, IConnection}; [INFO] [stderr] | ^^ could not find `db` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::middlewares::auth` [INFO] [stderr] --> src/repositories/user_repository/routes.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::middlewares::auth::AuthorizationService; [INFO] [stderr] | ^^^^ could not find `auth` in `middlewares` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::models::user` [INFO] [stderr] --> src/repositories/user_repository/routes.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::user::{Login, Register}; [INFO] [stderr] | ^^^^ could not find `user` in `models` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::config::Config`, `crate::config::IConfig` [INFO] [stderr] --> src/repositories/user_repository/user_repository.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::config::{Config, IConfig}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ no `IConfig` in `config` [INFO] [stderr] | | [INFO] [stderr] | no `Config` in `config` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::models::response` [INFO] [stderr] --> src/repositories/user_repository/user_repository.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::response::{LoginResponse, Response}; [INFO] [stderr] | ^^^^^^^^ could not find `response` in `models` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::models::user` [INFO] [stderr] --> src/repositories/user_repository/user_repository.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::user::{Claims, Login, Register, User}; [INFO] [stderr] | ^^^^ could not find `user` in `models` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0583. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rust-rest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1e7eeda26ebab392a86040c0c65c82815108e222ed27cac9f1c179ab625870f4"` [INFO] running `"docker" "rm" "-f" "1e7eeda26ebab392a86040c0c65c82815108e222ed27cac9f1c179ab625870f4"` [INFO] [stdout] 1e7eeda26ebab392a86040c0c65c82815108e222ed27cac9f1c179ab625870f4