[INFO] cloning repository https://github.com/hgzimmerman/diesel_test_setup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hgzimmerman/diesel_test_setup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhgzimmerman%2Fdiesel_test_setup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhgzimmerman%2Fdiesel_test_setup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0292f27f9aa84ab6424d9ffb32156761477dda87 [INFO] checking hgzimmerman/diesel_test_setup against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhgzimmerman%2Fdiesel_test_setup" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hgzimmerman/diesel_test_setup on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hgzimmerman/diesel_test_setup [INFO] finished tweaking git repo https://github.com/hgzimmerman/diesel_test_setup [INFO] tweaked toml for git repo https://github.com/hgzimmerman/diesel_test_setup written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/hgzimmerman/diesel_test_setup already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--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 nanoid v0.2.0 [INFO] [stderr] Downloaded migrations_internals v1.4.0 [INFO] [stderr] Downloaded r2d2 v0.8.8 [INFO] [stderr] Downloaded diesel v1.4.3 [INFO] running `Command { std: "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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d1dc1f159bfdd01b971c271ddb92bb1e444db2df58035455d5abc93326787e3 [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" "9d1dc1f159bfdd01b971c271ddb92bb1e444db2df58035455d5abc93326787e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d1dc1f159bfdd01b971c271ddb92bb1e444db2df58035455d5abc93326787e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d1dc1f159bfdd01b971c271ddb92bb1e444db2df58035455d5abc93326787e3", kill_on_drop: false }` [INFO] [stdout] 9d1dc1f159bfdd01b971c271ddb92bb1e444db2df58035455d5abc93326787e3 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a166fa67eac3db102abe2d414538a73ae05cb55dc9ec7a23ca44d0b818a6d94 [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" "7a166fa67eac3db102abe2d414538a73ae05cb55dc9ec7a23ca44d0b818a6d94", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.3 [INFO] [stderr] Checking nanoid v0.2.0 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking migrations_internals v1.4.0 [INFO] [stderr] Checking diesel_test_setup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `POSTGRES_ADMIN_URL` not defined [INFO] [stdout] --> src/test_util.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | pub const POSTGRES_ADMIN_URL: &str = env!("POSTGRES_ADMIN_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `POSTGRES_DB_ORIGIN` not defined [INFO] [stdout] --> src/test_util.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub const POSTGRES_ORIGIN: &str = env!("POSTGRES_DB_ORIGIN"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `MYSQL_ADMIN_URL` not defined [INFO] [stdout] --> src/test_util.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub const MYSQL_ADMIN_URL: &str = env!("MYSQL_ADMIN_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `MYSQL_DB_ORIGIN` not defined [INFO] [stdout] --> src/test_util.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub const MYSQL_ORIGIN: &str = env!("MYSQL_DB_ORIGIN"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | .map(Error::description) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | .unwrap_or_else(|| error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database_error.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_test_setup` due to 5 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7a166fa67eac3db102abe2d414538a73ae05cb55dc9ec7a23ca44d0b818a6d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a166fa67eac3db102abe2d414538a73ae05cb55dc9ec7a23ca44d0b818a6d94", kill_on_drop: false }` [INFO] [stdout] 7a166fa67eac3db102abe2d414538a73ae05cb55dc9ec7a23ca44d0b818a6d94