[INFO] fetching crate diesel_cli 2.3.2... [INFO] testing diesel_cli-2.3.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate diesel_cli 2.3.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate diesel_cli 2.3.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel_cli 2.3.2 [INFO] tweaked toml for crates.io crate diesel_cli 2.3.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel_cli 2.3.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diesel_cli 2.3.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d3423fecb22f3b5d4b05b77e98fbd6051d363e8e9de38bf4f19135367596653 [INFO] running `Command { std: "docker" "start" "-a" "1d3423fecb22f3b5d4b05b77e98fbd6051d363e8e9de38bf4f19135367596653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d3423fecb22f3b5d4b05b77e98fbd6051d363e8e9de38bf4f19135367596653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d3423fecb22f3b5d4b05b77e98fbd6051d363e8e9de38bf4f19135367596653", kill_on_drop: false }` [INFO] [stdout] 1d3423fecb22f3b5d4b05b77e98fbd6051d363e8e9de38bf4f19135367596653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7053818128a78d65287fd5670da758d38917944095bd8daa3d996dd79f8c7b70 [INFO] running `Command { std: "docker" "start" "-a" "7053818128a78d65287fd5670da758d38917944095bd8daa3d996dd79f8c7b70", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling diesel_derives v2.3.3 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling diffy v0.4.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling mysqlclient-sys v0.4.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling similar-asserts v1.7.0 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling clap_complete v4.5.55 [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.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling toml v0.9.4 [INFO] [stderr] Compiling migrations_internals v2.3.0 [INFO] [stderr] Compiling migrations_macros v2.3.0 [INFO] [stderr] Compiling diesel v2.3.2 [INFO] [stderr] Compiling diesel_migrations v2.3.0 [INFO] [stderr] Compiling diesel_cli v2.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.04s [INFO] running `Command { std: "docker" "inspect" "7053818128a78d65287fd5670da758d38917944095bd8daa3d996dd79f8c7b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7053818128a78d65287fd5670da758d38917944095bd8daa3d996dd79f8c7b70", kill_on_drop: false }` [INFO] [stdout] 7053818128a78d65287fd5670da758d38917944095bd8daa3d996dd79f8c7b70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9ac98b7d83d241f4da9ba56dd29285c7b091fe6098a22992fe214f573aa604c [INFO] running `Command { std: "docker" "start" "-a" "f9ac98b7d83d241f4da9ba56dd29285c7b091fe6098a22992fe214f573aa604c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling diesel_cli v2.3.2 (/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)]` 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)]` 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" "f9ac98b7d83d241f4da9ba56dd29285c7b091fe6098a22992fe214f573aa604c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ac98b7d83d241f4da9ba56dd29285c7b091fe6098a22992fe214f573aa604c", kill_on_drop: false }` [INFO] [stdout] f9ac98b7d83d241f4da9ba56dd29285c7b091fe6098a22992fe214f573aa604c