[INFO] fetching crate diesel_cli 2.3.3... [INFO] testing diesel_cli-2.3.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate diesel_cli 2.3.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate diesel_cli 2.3.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel_cli 2.3.3 [INFO] tweaked toml for crates.io crate diesel_cli 2.3.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel_cli 2.3.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diesel_cli 2.3.3 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aa244077d4bd7527add30cec3c65d81b97ba91b4fb3a663e933e39c14b097d3 [INFO] running `Command { std: "docker" "start" "-a" "8aa244077d4bd7527add30cec3c65d81b97ba91b4fb3a663e933e39c14b097d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aa244077d4bd7527add30cec3c65d81b97ba91b4fb3a663e933e39c14b097d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa244077d4bd7527add30cec3c65d81b97ba91b4fb3a663e933e39c14b097d3", kill_on_drop: false }` [INFO] [stdout] 8aa244077d4bd7527add30cec3c65d81b97ba91b4fb3a663e933e39c14b097d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7bb2ae5b3497d458b186999331138f724883fe6dd3973fa3bd2300e83e1045e [INFO] running `Command { std: "docker" "start" "-a" "b7bb2ae5b3497d458b186999331138f724883fe6dd3973fa3bd2300e83e1045e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling mysqlclient-sys v0.4.7 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling diesel_derives v2.3.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling diffy v0.4.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling similar-asserts v1.7.0 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling clap_complete v4.5.58 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling migrations_internals v2.3.0 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling migrations_macros v2.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling diesel v2.3.3 [INFO] [stderr] Compiling diesel_migrations v2.3.0 [INFO] [stderr] Compiling diesel_cli v2.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.99s [INFO] running `Command { std: "docker" "inspect" "b7bb2ae5b3497d458b186999331138f724883fe6dd3973fa3bd2300e83e1045e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bb2ae5b3497d458b186999331138f724883fe6dd3973fa3bd2300e83e1045e", kill_on_drop: false }` [INFO] [stdout] b7bb2ae5b3497d458b186999331138f724883fe6dd3973fa3bd2300e83e1045e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8f73e893d0c82a59d76901fd8d80a0ff6241d3b5bf1792ab0555903f94fdf2f [INFO] running `Command { std: "docker" "start" "-a" "d8f73e893d0c82a59d76901fd8d80a0ff6241d3b5bf1792ab0555903f94fdf2f", kill_on_drop: false }` [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling diesel_cli v2.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `BACKEND` is defined multiple times [INFO] [stdout] --> tests/migration_generate.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 372 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] 373 | #[cfg(feature = "postgres")] [INFO] [stdout] 374 | 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:376:1 [INFO] [stdout] | [INFO] [stdout] 372 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] ... [INFO] [stdout] 376 | 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:456:1 [INFO] [stdout] | [INFO] [stdout] 454 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] 455 | #[cfg(feature = "postgres")] [INFO] [stdout] 456 | 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:458:1 [INFO] [stdout] | [INFO] [stdout] 454 | const BACKEND: &str = "sqlite"; [INFO] [stdout] | ------------------------------- previous definition of the value `BACKEND` here [INFO] [stdout] ... [INFO] [stdout] 458 | 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:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 1 | #[cfg(not(feature = "sqlite"))] [INFO] [stdout] | -------------------- the item is gated here [INFO] [stdout] 2 | extern crate dotenvy; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `database_url` [INFO] [stdout] --> tests/support/project_builder.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn database_url(&self) -> String { [INFO] [stdout] | ------------------------------------ other definition for `database_url` [INFO] [stdout] ... [INFO] [stdout] 122 | 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:127:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn database_url(&self) -> String { [INFO] [stdout] | ------------------------------------ other definition for `database_url` [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn database_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `database_url` [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)]` (part of `#[warn(unused)]`) 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:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(feature = "postgres", path = "postgres_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] 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)]` (part of `#[warn(unused)]`) 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" "d8f73e893d0c82a59d76901fd8d80a0ff6241d3b5bf1792ab0555903f94fdf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f73e893d0c82a59d76901fd8d80a0ff6241d3b5bf1792ab0555903f94fdf2f", kill_on_drop: false }` [INFO] [stdout] d8f73e893d0c82a59d76901fd8d80a0ff6241d3b5bf1792ab0555903f94fdf2f