[INFO] fetching crate diesel_cli 2.2.11... [INFO] checking diesel_cli-2.2.11 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate diesel_cli 2.2.11 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate diesel_cli 2.2.11 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel_cli 2.2.11 [INFO] tweaked toml for crates.io crate diesel_cli 2.2.11 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel_cli 2.2.11 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diesel_cli 2.2.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded migrations_internals v2.2.0 [INFO] [stderr] Downloaded link-cplusplus v1.0.10 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded pq-sys v0.7.2 [INFO] [stderr] Downloaded clap_complete v4.5.54 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded diesel_derives v2.2.6 [INFO] [stderr] Downloaded diesel v2.2.11 [INFO] [stderr] Downloaded pq-src v0.3.9+libpq-17.5 [INFO] [stderr] Downloaded mysqlclient-sys v0.4.7 [INFO] [stderr] Downloaded mysqlclient-src v0.1.4+9.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18491deb99089e3322ab02c8f7a7eaa3be9cf7f8bbbdcaad50b7456dde8e83dc [INFO] running `Command { std: "docker" "start" "-a" "18491deb99089e3322ab02c8f7a7eaa3be9cf7f8bbbdcaad50b7456dde8e83dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18491deb99089e3322ab02c8f7a7eaa3be9cf7f8bbbdcaad50b7456dde8e83dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18491deb99089e3322ab02c8f7a7eaa3be9cf7f8bbbdcaad50b7456dde8e83dc", kill_on_drop: false }` [INFO] [stdout] 18491deb99089e3322ab02c8f7a7eaa3be9cf7f8bbbdcaad50b7456dde8e83dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0438164a936ad11e849c7f3be0357bef7bb23d3c42c94c0ee21154f0b7eff55b [INFO] running `Command { std: "docker" "start" "-a" "0438164a936ad11e849c7f3be0357bef7bb23d3c42c94c0ee21154f0b7eff55b", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling mysqlclient-sys v0.4.7 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking diffy v0.4.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking clap_complete v4.5.54 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking diesel v2.2.11 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking diesel_cli v2.2.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `BACKEND` is defined multiple times [INFO] [stdout] --> tests/migration_generate.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 282 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] 283 | #[cfg(feature = "postgres")] [INFO] [stdout] 284 | 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/migration_generate.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 282 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] ... [INFO] [stdout] 286 | 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 `BACKEND` is defined multiple times [INFO] [stdout] --> tests/print_schema.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 411 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] 412 | #[cfg(feature = "postgres")] [INFO] [stdout] 413 | 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:415:1 [INFO] [stdout] | [INFO] [stdout] 411 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] ... [INFO] [stdout] 415 | 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:78:5 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 78 | 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:88:5 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 88 | 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::dotenvy` [INFO] [stdout] --> tests/support/project_builder.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | use self::dotenvy::dotenv; [INFO] [stdout] | ^^^^^^^ could not find `dotenvy` in `self` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/support/project_builder.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate dotenvy; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> tests/support/project_builder.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "sqlite"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> tests/support/mod.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(feature = "postgres", path = "postgres_database.rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> tests/support/mod.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg_attr(feature = "sqlite", path = "sqlite_database.rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> tests/support/mod.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(feature = "mysql", path = "mysql_database.rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> tests/support/mod.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg_attr(feature = "sqlite", path = "sqlite_database.rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `database_url` [INFO] [stdout] --> tests/support/project_builder.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn database_url(&self) -> String { [INFO] [stdout] | ------------------------------------ other definition for `database_url` [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn database_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `database_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `database_url` [INFO] [stdout] --> tests/support/project_builder.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn database_url(&self) -> String { [INFO] [stdout] | ------------------------------------ other definition for `database_url` [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn database_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `database_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> tests/database_url_errors.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let url = "postgres://localhost"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> tests/database_url_errors.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let url = "mysql://localhost"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0428, E0432, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_cli` (test "tests") due to 9 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0438164a936ad11e849c7f3be0357bef7bb23d3c42c94c0ee21154f0b7eff55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0438164a936ad11e849c7f3be0357bef7bb23d3c42c94c0ee21154f0b7eff55b", kill_on_drop: false }` [INFO] [stdout] 0438164a936ad11e849c7f3be0357bef7bb23d3c42c94c0ee21154f0b7eff55b