[INFO] fetching crate diesel_cli 1.4.1... [INFO] checking diesel_cli-1.4.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate diesel_cli 1.4.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate diesel_cli 1.4.1 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 crates.io crate diesel_cli 1.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel_cli 1.4.1 [INFO] tweaked toml for crates.io crate diesel_cli 1.4.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate diesel_cli 1.4.1 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] Downloading crates ... [INFO] [stderr] Downloaded barrel v0.6.5 [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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 95069251bd720e313eade7824556cde4e141be929f614924f48d5fb48df72976 [INFO] running `Command { std: "docker" "start" "-a" "95069251bd720e313eade7824556cde4e141be929f614924f48d5fb48df72976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95069251bd720e313eade7824556cde4e141be929f614924f48d5fb48df72976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95069251bd720e313eade7824556cde4e141be929f614924f48d5fb48df72976", kill_on_drop: false }` [INFO] [stdout] 95069251bd720e313eade7824556cde4e141be929f614924f48d5fb48df72976 [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" "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] afbdff906a8a2d2c2e8994f0a17f9df24683f90811d815762e2ad8919bdd9bcb [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" "afbdff906a8a2d2c2e8994f0a17f9df24683f90811d815762e2ad8919bdd9bcb", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking serde v1.0.111 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Checking diesel_cli v1.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `BACKEND` is defined multiple times [INFO] [stdout] --> tests/print_schema.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 95 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] 96 | #[cfg(feature = "postgres")] [INFO] [stdout] 97 | const BACKEND: &str = "postgres"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `BACKEND` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `BACKEND` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `BACKEND` is defined multiple times [INFO] [stdout] --> tests/print_schema.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 95 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] ... [INFO] [stdout] 99 | const BACKEND: &str = "mysql"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `BACKEND` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `BACKEND` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `valid_run_on_timestamp` is defined multiple times [INFO] [stdout] --> tests/migration_run.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn valid_run_on_timestamp(db: &database::Database) -> bool { [INFO] [stdout] | ---------------------------------------------------------- previous definition of the value `valid_run_on_timestamp` here [INFO] [stdout] ... [INFO] [stdout] 76 | fn valid_run_on_timestamp(db: &database::Database) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `valid_run_on_timestamp` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `valid_run_on_timestamp` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `valid_run_on_timestamp` is defined multiple times [INFO] [stdout] --> tests/migration_run.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn valid_run_on_timestamp(db: &database::Database) -> bool { [INFO] [stdout] | ---------------------------------------------------------- previous definition of the value `valid_run_on_timestamp` here [INFO] [stdout] ... [INFO] [stdout] 86 | fn valid_run_on_timestamp(db: &database::Database) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `valid_run_on_timestamp` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `valid_run_on_timestamp` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::dotenv` [INFO] [stdout] --> tests/support/project_builder.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | use self::dotenv::dotenv; [INFO] [stdout] | ^^^^^^ could not find `dotenv` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `database_url`: [INFO] [stdout] --> tests/support/project_builder.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 110 | / pub fn database_url(&self) -> String { [INFO] [stdout] 111 | | self.database_url_from_env("PG_DATABASE_URL").to_string() [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____- previous definition of `database_url` here [INFO] [stdout] ... [INFO] [stdout] 115 | / pub fn database_url(&self) -> String { [INFO] [stdout] 116 | | use std::env; [INFO] [stdout] 117 | | [INFO] [stdout] 118 | | let mut db_url = self.database_url_from_env("MYSQL_DATABASE_URL"); [INFO] [stdout] ... | [INFO] [stdout] 124 | | db_url.to_string() [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ duplicate definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `database_url`: [INFO] [stdout] --> tests/support/project_builder.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 110 | / pub fn database_url(&self) -> String { [INFO] [stdout] 111 | | self.database_url_from_env("PG_DATABASE_URL").to_string() [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____- previous definition of `database_url` here [INFO] [stdout] ... [INFO] [stdout] 128 | / pub fn database_url(&self) -> String { [INFO] [stdout] 129 | | self.directory [INFO] [stdout] 130 | | .path() [INFO] [stdout] 131 | | .join(&self.name) [INFO] [stdout] ... | [INFO] [stdout] 134 | | .unwrap() [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ duplicate definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0201, E0428, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0201`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_cli` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|e| e.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:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | .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:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | .map(|e| e.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:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | .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:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|e| e.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:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | .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:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | 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:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|e| e.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:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | .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:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | .map(|e| e.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:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | .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:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|e| e.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:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | .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:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | 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/infer_schema_internals/sqlite.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | Err(e) => assert!(e.description().starts_with( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "afbdff906a8a2d2c2e8994f0a17f9df24683f90811d815762e2ad8919bdd9bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afbdff906a8a2d2c2e8994f0a17f9df24683f90811d815762e2ad8919bdd9bcb", kill_on_drop: false }` [INFO] [stdout] afbdff906a8a2d2c2e8994f0a17f9df24683f90811d815762e2ad8919bdd9bcb