[INFO] updating cached repository https://github.com/neo-portfolio/API [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] 6b0b86729484f505809e319ef9d18e3e901e85c0 [INFO] testing neo-portfolio/API against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneo-portfolio%2FAPI" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/neo-portfolio/API 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/neo-portfolio/API [INFO] finished tweaking git repo https://github.com/neo-portfolio/API [INFO] tweaked toml for git repo https://github.com/neo-portfolio/API written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/neo-portfolio/API 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] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 9cee52e74be99d50268556ccc03219d2076cb9a26a0a15292ee04dba52db0030 [INFO] running `"docker" "start" "-a" "9cee52e74be99d50268556ccc03219d2076cb9a26a0a15292ee04dba52db0030"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling load-dotenv v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.47 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> src/neo4j/driver.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | load_dotenv!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stderr] [INFO] [stderr] error: environment variable `NEO4J_URL` not defined [INFO] [stderr] --> src/neo4j/driver.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | host: env!("NEO4J_URL"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: environment variable `NEO4J_PORT` not defined [INFO] [stderr] --> src/neo4j/driver.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | port: env!("NEO4J_PORT"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: environment variable `NEO4J_DATABASE` not defined [INFO] [stderr] --> src/neo4j/driver.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | db: env!("NEO4J_DATABASE"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: environment variable `NEO4J_USER` not defined [INFO] [stderr] --> src/neo4j/driver.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | user: env!("NEO4J_USER"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: environment variable `NEO4J_PASSWORD` not defined [INFO] [stderr] --> src/neo4j/driver.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | password: env!("NEO4J_PASSWORD") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> src/main.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | load_dotenv!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stderr] [INFO] [stderr] error: environment variable `ALLOWED_ORIGIN` not defined [INFO] [stderr] --> src/main.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | .allowed_origin(env!("ALLOWED_ORIGIN")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `api`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9cee52e74be99d50268556ccc03219d2076cb9a26a0a15292ee04dba52db0030"` [INFO] running `"docker" "rm" "-f" "9cee52e74be99d50268556ccc03219d2076cb9a26a0a15292ee04dba52db0030"` [INFO] [stdout] 9cee52e74be99d50268556ccc03219d2076cb9a26a0a15292ee04dba52db0030