[INFO] fetching crate diesel_cli 1.4.1... [INFO] checking diesel_cli-1.4.1 against beta for pr-78714 [INFO] extracting crate diesel_cli 1.4.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate diesel_cli 1.4.1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-12/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 11b8d142981a15627c8e48b096a803c26c82c5783d09e0a631782d5344250d75 [INFO] running `Command { std: "docker" "start" "-a" "11b8d142981a15627c8e48b096a803c26c82c5783d09e0a631782d5344250d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11b8d142981a15627c8e48b096a803c26c82c5783d09e0a631782d5344250d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b8d142981a15627c8e48b096a803c26c82c5783d09e0a631782d5344250d75", kill_on_drop: false }` [INFO] [stdout] 11b8d142981a15627c8e48b096a803c26c82c5783d09e0a631782d5344250d75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84582817856e3e1d525bff7d6fe7ee3a928e3910622c3badeb41f2dcd27b9098 [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" "84582817856e3e1d525bff7d6fe7ee3a928e3910622c3badeb41f2dcd27b9098", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [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] Compiling syn v0.11.11 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking url v1.7.2 [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 diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive 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` [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: 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" "84582817856e3e1d525bff7d6fe7ee3a928e3910622c3badeb41f2dcd27b9098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84582817856e3e1d525bff7d6fe7ee3a928e3910622c3badeb41f2dcd27b9098", kill_on_drop: false }` [INFO] [stdout] 84582817856e3e1d525bff7d6fe7ee3a928e3910622c3badeb41f2dcd27b9098