[INFO] fetching crate refinery-core 0.8.16... [INFO] checking refinery-core-0.8.16 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate refinery-core 0.8.16 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate refinery-core 0.8.16 [INFO] finished tweaking crates.io crate refinery-core 0.8.16 [INFO] tweaked toml for crates.io crate refinery-core 0.8.16 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate refinery-core 0.8.16 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate refinery-core 0.8.16 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17bcd0633226822e302a5995f8310bdc4b07a0564af15a884898d2ff869173c5 [INFO] running `Command { std: "docker" "start" "-a" "17bcd0633226822e302a5995f8310bdc4b07a0564af15a884898d2ff869173c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17bcd0633226822e302a5995f8310bdc4b07a0564af15a884898d2ff869173c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17bcd0633226822e302a5995f8310bdc4b07a0564af15a884898d2ff869173c5", kill_on_drop: false }` [INFO] [stdout] 17bcd0633226822e302a5995f8310bdc4b07a0564af15a884898d2ff869173c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05055f5a0c868442458d9fe167cd9c822e4b4fa885188d29f6253f458a2c492e [INFO] running `Command { std: "docker" "start" "-a" "05055f5a0c868442458d9fe167cd9c822e4b4fa885188d29f6253f458a2c492e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking tempfile v3.16.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking refinery-core v0.8.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ConfigDbType` [INFO] [stdout] --> src/drivers/config.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::{Config, ConfigDbType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::WrapMigrationError` [INFO] [stdout] --> src/drivers/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::WrapMigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GET_APPLIED_MIGRATIONS_QUERY` and `GET_LAST_APPLIED_MIGRATION_QUERY` [INFO] [stdout] --> src/drivers/config.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::{GET_APPLIED_MIGRATIONS_QUERY, GET_LAST_APPLIED_MIGRATION_QUERY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Report`, and `Target` [INFO] [stdout] --> src/drivers/config.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Error, Migration, Report, Target}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/traits/../../../refinery/tests/migrations/V1-2/V2__add_cars_and_motos_table.sql`: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | / include_str!( [INFO] [stdout] 136 | | "../../../refinery/tests/migrations/V1-2/V2__add_cars_and_motos_table.sql" [INFO] [stdout] 137 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/traits/../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql`: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | include_str!("../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/traits/../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql`: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | / include_str!( [INFO] [stdout] 186 | | "../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 187 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/traits/../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql`: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | / include_str!( [INFO] [stdout] 212 | | "../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 213 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/traits/../../../refinery/tests/migrations_unversioned/U0__merge_out_of_order.sql`: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | / include_str!( [INFO] [stdout] 284 | | "../../../refinery/tests/migrations_unversioned/U0__merge_out_of_order.sql" [INFO] [stdout] 285 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::build_db_url` [INFO] [stdout] --> src/config.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | use super::{build_db_url, Config, Kind}; [INFO] [stdout] | ^^^^^^^^^^^^ no `build_db_url` in `config` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/config.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 278 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 279 | | feature = "mysql", [INFO] [stdout] 280 | | feature = "postgres", [INFO] [stdout] 281 | | feature = "tokio-postgres", [INFO] [stdout] 282 | | feature = "mysql_async" [INFO] [stdout] 283 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 284 | pub(crate) fn build_db_url(name: &str, config: &Config) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConfigDbType` [INFO] [stdout] --> src/drivers/config.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::{Config, ConfigDbType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::WrapMigrationError` [INFO] [stdout] --> src/drivers/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::WrapMigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GET_APPLIED_MIGRATIONS_QUERY` and `GET_LAST_APPLIED_MIGRATION_QUERY` [INFO] [stdout] --> src/drivers/config.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::{GET_APPLIED_MIGRATIONS_QUERY, GET_LAST_APPLIED_MIGRATION_QUERY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Report`, and `Target` [INFO] [stdout] --> src/drivers/config.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Error, Migration, Report, Target}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file_location` found for struct `config::Config` in the current scope [INFO] [stdout] --> src/config.rs:356:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ----------------- function or associated item `from_file_location` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 356 | let config = Config::from_file_location("invalid_path").unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `config::Config` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `config::Config` consider using one of the following associated functions: [INFO] [stdout] config::Config::new [INFO] [stdout] config::Config::from_env_var [INFO] [stdout] --> src/config.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(db_type: ConfigDbType) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_env_var(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file_location` found for struct `config::Config` in the current scope [INFO] [stdout] --> src/config.rs:370:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ----------------- function or associated item `from_file_location` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 370 | let config = Config::from_file_location(config_file.path()).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `config::Config` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `config::Config` consider using one of the following associated functions: [INFO] [stdout] config::Config::new [INFO] [stdout] config::Config::from_env_var [INFO] [stdout] --> src/config.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(db_type: ConfigDbType) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_env_var(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file_location` found for struct `config::Config` in the current scope [INFO] [stdout] --> src/config.rs:384:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ----------------- function or associated item `from_file_location` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 384 | let config = Config::from_file_location(config_file.path()).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `config::Config` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `config::Config` consider using one of the following associated functions: [INFO] [stdout] config::Config::new [INFO] [stdout] config::Config::from_env_var [INFO] [stdout] --> src/config.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(db_type: ConfigDbType) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_env_var(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file_location` found for struct `config::Config` in the current scope [INFO] [stdout] --> src/config.rs:406:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ----------------- function or associated item `from_file_location` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 406 | let config = Config::from_file_location(config_file.path()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `config::Config` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `config::Config` consider using one of the following associated functions: [INFO] [stdout] config::Config::new [INFO] [stdout] config::Config::from_env_var [INFO] [stdout] --> src/config.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(db_type: ConfigDbType) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_env_var(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `toml` [INFO] [stdout] --> src/config.rs:426:30 [INFO] [stdout] | [INFO] [stdout] 426 | let config: Config = toml::from_str(config).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_path`, `db_user`, `db_pass`, and `db_name` are never read [INFO] [stdout] --> src/config.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 265 | struct Main { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 266 | db_type: ConfigDbType, [INFO] [stdout] 267 | db_path: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | db_user: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 271 | db_pass: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 272 | db_name: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Main` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refinery-core` (lib test) due to 11 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05055f5a0c868442458d9fe167cd9c822e4b4fa885188d29f6253f458a2c492e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05055f5a0c868442458d9fe167cd9c822e4b4fa885188d29f6253f458a2c492e", kill_on_drop: false }` [INFO] [stdout] 05055f5a0c868442458d9fe167cd9c822e4b4fa885188d29f6253f458a2c492e