[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 master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhgzimmerman%2Fdiesel_test_setup" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hgzimmerman/diesel_test_setup on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b83fa2122964791138665436751f36d314bf7fc9936f06b9421aed64df5da235 [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" "b83fa2122964791138665436751f36d314bf7fc9936f06b9421aed64df5da235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b83fa2122964791138665436751f36d314bf7fc9936f06b9421aed64df5da235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b83fa2122964791138665436751f36d314bf7fc9936f06b9421aed64df5da235", kill_on_drop: false }` [INFO] [stdout] b83fa2122964791138665436751f36d314bf7fc9936f06b9421aed64df5da235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9686631464fa51c633a87d68ab96836f837de8a1c6d0b3230471405854073da6 [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" "9686631464fa51c633a87d68ab96836f837de8a1c6d0b3230471405854073da6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.3 [INFO] [stderr] Checking nanoid v0.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking r2d2 v0.8.8 [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 a macro (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 a macro (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 a macro (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 a macro (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:22 [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:22 [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:22 [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:22 [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:22 [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:22 [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:22 [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:22 [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:22 [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:22 [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:22 [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:22 [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: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: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: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`. [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9686631464fa51c633a87d68ab96836f837de8a1c6d0b3230471405854073da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9686631464fa51c633a87d68ab96836f837de8a1c6d0b3230471405854073da6", kill_on_drop: false }` [INFO] [stdout] 9686631464fa51c633a87d68ab96836f837de8a1c6d0b3230471405854073da6