[INFO] cloning repository https://github.com/anshulrgoyal/elements-culmyca-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anshulrgoyal/elements-culmyca-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshulrgoyal%2Felements-culmyca-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshulrgoyal%2Felements-culmyca-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39e0196a6d094e62df67dd70a0b737e807e97d63
[INFO] testing anshulrgoyal/elements-culmyca-backend against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshulrgoyal%2Felements-culmyca-backend" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/anshulrgoyal/elements-culmyca-backend on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/anshulrgoyal/elements-culmyca-backend
[INFO] finished tweaking git repo https://github.com/anshulrgoyal/elements-culmyca-backend
[INFO] tweaked toml for git repo https://github.com/anshulrgoyal/elements-culmyca-backend written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/anshulrgoyal/elements-culmyca-backend already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator v0.10.0
[INFO] [stderr]   Downloaded jsonwebtoken v7.0.1
[INFO] [stderr]   Downloaded validator_derive v0.10.0
[INFO] [stderr]   Downloaded boringauth v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c69c0f31141f8e14e01cedb1330574c85196e54b9ec12544e7d171b9f038e50
[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" "7c69c0f31141f8e14e01cedb1330574c85196e54b9ec12544e7d171b9f038e50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c69c0f31141f8e14e01cedb1330574c85196e54b9ec12544e7d171b9f038e50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c69c0f31141f8e14e01cedb1330574c85196e54b9ec12544e7d171b9f038e50", kill_on_drop: false }`
[INFO] [stdout] 7c69c0f31141f8e14e01cedb1330574c85196e54b9ec12544e7d171b9f038e50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24fc222461e85364f8c9e1e2b98d0473aa2d05681f28cfdaa72df494dbfa29bc
[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" "24fc222461e85364f8c9e1e2b98d0473aa2d05681f28cfdaa72df494dbfa29bc", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling untrusted v0.7.0
[INFO] [stderr]    Compiling unchecked-index v0.2.2
[INFO] [stderr]    Compiling if_chain v1.0.0
[INFO] [stderr]    Compiling futures-timer v2.0.2
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling hex v0.4.0
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling bytestring v0.1.4
[INFO] [stderr]    Compiling ring v0.16.11
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.54
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling twoway v0.2.1
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling socket2 v0.3.11
[INFO] [stderr]    Compiling hostname v0.1.5
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling async-task v1.3.1
[INFO] [stderr]    Compiling flate2 v1.0.13
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling resolv-conf v0.6.2
[INFO] [stderr]    Compiling backtrace v0.3.43
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling crossbeam-channel v0.4.0
[INFO] [stderr]    Compiling pem v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.3
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.4
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling r2d2 v0.8.8
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio v0.2.11
[INFO] [stderr]    Compiling async-std v1.5.0
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling boringauth v0.9.0
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-tls v0.3.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 serde_derive v1.0.104
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling derive_more v0.99.2
[INFO] [stderr]    Compiling actix-macros v0.1.1
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling enum-as-inner v0.3.0
[INFO] [stderr]    Compiling async-trait v0.1.24
[INFO] [stderr]    Compiling actix-web-codegen v0.2.0
[INFO] [stderr]    Compiling v_escape_derive v0.5.6
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling v_escape v0.7.4
[INFO] [stderr]    Compiling v_htmlescape v0.4.5
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling actix-threadpool v0.3.1
[INFO] [stderr]    Compiling serde v1.0.104
[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 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 hyper v0.13.2
[INFO] [stderr]    Compiling actix-testing v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.47
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling hyper-tls v0.4.1
[INFO] [stderr]    Compiling reqwest v0.10.2
[INFO] [stderr]    Compiling simple_asn1 v0.4.0
[INFO] [stderr]    Compiling diesel v1.4.3
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling validator v0.10.0
[INFO] [stderr]    Compiling jsonwebtoken v7.0.1
[INFO] [stderr]    Compiling validator_derive v0.10.0
[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 actix-multipart v0.2.0
[INFO] [stderr]    Compiling actix-files v0.2.1
[INFO] [stderr]    Compiling elements_culmyca v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `JWT_KEY` not defined
[INFO] [stdout]   --> src/jwt.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | static KEY: &str = env!("JWT_KEY");
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `JWT_KEY` not defined
[INFO] [stdout]   --> src/mw/checkjwt.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | static KEY: &str = env!("JWT_KEY");
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `JWT_KEY` not defined
[INFO] [stdout]   --> src/route/user.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 | static KEY: &str = env!("JWT_KEY");
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OTP_KEY` not defined
[INFO] [stdout]    --> src/route/user.rs:669:32
[INFO] [stdout]     |
[INFO] [stdout] 669 |         .key(format!("{}{}",id,env!("OTP_KEY")).as_bytes())
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `SMS_API_KEY` not defined
[INFO] [stdout]    --> src/route/user.rs:683:63
[INFO] [stdout]     |
[INFO] [stdout] 683 |     let url=match hyper::Uri::from_str(format!("{}/{}/{}/{}", env!("SMS_API_KEY"), &phone.phone, otp, env!("SMS_TEMPLATE")).as_str()){
[INFO] [stdout]     |                                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `SMS_TEMPLATE` not defined
[INFO] [stdout]    --> src/route/user.rs:683:103
[INFO] [stdout]     |
[INFO] [stdout] 683 |     let url=match hyper::Uri::from_str(format!("{}/{}/{}/{}", env!("SMS_API_KEY"), &phone.phone, otp, env!("SMS_TEMPLATE")).as_str()){
[INFO] [stdout]     |                                                                                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OTP_KEY` not defined
[INFO] [stdout]    --> src/route/user.rs:739:32
[INFO] [stdout]     |
[INFO] [stdout] 739 |         .key(format!("{}{}",id,env!("OTP_KEY")).as_bytes())
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OTP_KEY` not defined
[INFO] [stdout]   --> src/route/custom.rs:26:47
[INFO] [stdout]    |
[INFO] [stdout] 26 |         .key(format!("{}{}",jwt.claim.user_id,env!("OTP_KEY")).as_bytes())
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `SMS_API_KEY` not defined
[INFO] [stdout]   --> src/route/custom.rs:73:63
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let url=match hyper::Uri::from_str(format!("{}/{}/{}/{}", env!("SMS_API_KEY"), phone, otp, env!("SMS_TEMPLATE")).as_str()){
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `SMS_TEMPLATE` not defined
[INFO] [stdout]   --> src/route/custom.rs:73:96
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let url=match hyper::Uri::from_str(format!("{}/{}/{}/{}", env!("SMS_API_KEY"), phone, otp, env!("SMS_TEMPLATE")).as_str()){
[INFO] [stdout]    |                                                                                                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OTP_KEY` not defined
[INFO] [stdout]    --> src/route/custom.rs:104:47
[INFO] [stdout]     |
[INFO] [stdout] 104 |         .key(format!("{}{}",jwt.claim.user_id,env!("OTP_KEY")).as_bytes())
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `ENV` not defined
[INFO] [stdout]   --> src/main.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let _environment = Environment::parse(env!("ENV"));
[INFO] [stdout]    |                                           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `DATABASE_URL` not defined
[INFO] [stdout]   --> src/main.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let database_url = env!("DATABASE_URL");
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elements_culmyca`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "24fc222461e85364f8c9e1e2b98d0473aa2d05681f28cfdaa72df494dbfa29bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24fc222461e85364f8c9e1e2b98d0473aa2d05681f28cfdaa72df494dbfa29bc", kill_on_drop: false }`
[INFO] [stdout] 24fc222461e85364f8c9e1e2b98d0473aa2d05681f28cfdaa72df494dbfa29bc
