[INFO] cloning repository https://github.com/juliangrosshauser/url_shortener
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juliangrosshauser/url_shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliangrosshauser%2Furl_shortener", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliangrosshauser%2Furl_shortener'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7120b144d77cd7bde4f88e94aec900e941d426ae
[INFO] testing juliangrosshauser/url_shortener 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%2Fjuliangrosshauser%2Furl_shortener" "/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/juliangrosshauser/url_shortener 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/juliangrosshauser/url_shortener
[INFO] finished tweaking git repo https://github.com/juliangrosshauser/url_shortener
[INFO] tweaked toml for git repo https://github.com/juliangrosshauser/url_shortener written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/juliangrosshauser/url_shortener 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] error: the lock file /workspace/builds/worker-2/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" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/servo/rust-url`
[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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded postgres-types v0.1.3
[INFO] [stderr]   Downloaded postgres v0.18.0
[INFO] [stderr]   Downloaded postgres-protocol v0.5.3
[INFO] [stderr]   Downloaded crypto-mac v0.9.1
[INFO] [stderr]   Downloaded hmac v0.9.0
[INFO] [stderr]   Downloaded tokio-postgres v0.6.0
[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" "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] 7cff4f66baa683d9884d9542dd44285ef063fda2b0111d925ccf38d87465c48b
[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" "7cff4f66baa683d9884d9542dd44285ef063fda2b0111d925ccf38d87465c48b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cff4f66baa683d9884d9542dd44285ef063fda2b0111d925ccf38d87465c48b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cff4f66baa683d9884d9542dd44285ef063fda2b0111d925ccf38d87465c48b", kill_on_drop: false }`
[INFO] [stdout] 7cff4f66baa683d9884d9542dd44285ef063fda2b0111d925ccf38d87465c48b
[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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] eb6c993f9eb5a9a9cc37010873422bea6363b0b05f7a17fb4fc54389c3bd0923
[INFO] running `Command { std: "docker" "start" "-a" "eb6c993f9eb5a9a9cc37010873422bea6363b0b05f7a17fb4fc54389c3bd0923", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling futures-sink v0.3.6
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling futures-io v0.3.6
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling siphasher v0.3.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling pin-project-lite v0.1.10
[INFO] [stderr]    Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling instant v0.1.7
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling idna v0.2.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]    Compiling mio v0.7.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling tokio v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling url v2.1.1 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling postgres-protocol v0.5.3
[INFO] [stderr]    Compiling postgres-types v0.1.3
[INFO] [stderr]    Compiling tokio-util v0.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling futures-executor v0.3.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling tokio-postgres v0.6.0
[INFO] [stderr]    Compiling postgres v0.18.0
[INFO] [stderr]    Compiling url_shortener v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `POSTGRES_HOST` not defined
[INFO] [stdout]  --> src/main.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 | const POSTGRES_HOST: &'static str = env!("POSTGRES_HOST");
[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 `POSTGRES_PORT` not defined
[INFO] [stdout]   --> src/main.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | const POSTGRES_PORT: &'static str = env!("POSTGRES_PORT");
[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 `POSTGRES_USER` not defined
[INFO] [stdout]   --> src/main.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | const POSTGRES_USER: &'static str = env!("POSTGRES_USER");
[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 `POSTGRES_PASSWORD` not defined
[INFO] [stdout]   --> src/main.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | const POSTGRES_PASSWORD: &'static str = env!("POSTGRES_PASSWORD");
[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 `POSTGRES_DATABASE` not defined
[INFO] [stdout]   --> src/main.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 | const POSTGRES_DATABASE: &'static str = env!("POSTGRES_DATABASE");
[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[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode`
[INFO] [stdout]  --> src/main.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use postgres::{Connection, SslMode};
[INFO] [stdout]   |                ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `Connection` in the root
[INFO] [stdout]   |                help: a similar name exists in the module (notice the capitalization): `connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `postgres::error::ConnectError`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use postgres::error::ConnectError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConnectError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `url_shortener`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "eb6c993f9eb5a9a9cc37010873422bea6363b0b05f7a17fb4fc54389c3bd0923", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb6c993f9eb5a9a9cc37010873422bea6363b0b05f7a17fb4fc54389c3bd0923", kill_on_drop: false }`
[INFO] [stdout] eb6c993f9eb5a9a9cc37010873422bea6363b0b05f7a17fb4fc54389c3bd0923
