[INFO] fetching crate diesel_cli 1.4.1... [INFO] checking diesel_cli-1.4.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate diesel_cli 1.4.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate diesel_cli 1.4.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcpkg v0.2.9 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] [stderr] Downloaded barrel v0.6.5 [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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf421c6e58177e7f7da1030ac688f3cd6b23103921dd822504fd3e7475e1b04f [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" "bf421c6e58177e7f7da1030ac688f3cd6b23103921dd822504fd3e7475e1b04f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf421c6e58177e7f7da1030ac688f3cd6b23103921dd822504fd3e7475e1b04f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf421c6e58177e7f7da1030ac688f3cd6b23103921dd822504fd3e7475e1b04f", kill_on_drop: false }` [INFO] [stdout] bf421c6e58177e7f7da1030ac688f3cd6b23103921dd822504fd3e7475e1b04f [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=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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--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] 8cdafa572156384788885d1add65666ed33f2286153ba77e3159c188f0f32b20 [INFO] running `Command { std: "docker" "start" "-a" "8cdafa572156384788885d1add65666ed33f2286153ba77e3159c188f0f32b20", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking error-chain v0.10.0 [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 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` [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] [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8cdafa572156384788885d1add65666ed33f2286153ba77e3159c188f0f32b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cdafa572156384788885d1add65666ed33f2286153ba77e3159c188f0f32b20", kill_on_drop: false }` [INFO] [stdout] 8cdafa572156384788885d1add65666ed33f2286153ba77e3159c188f0f32b20