[INFO] fetching crate refinery-core 0.8.14... [INFO] checking refinery-core-0.8.14 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate refinery-core 0.8.14 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate refinery-core 0.8.14 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate refinery-core 0.8.14 [INFO] finished tweaking crates.io crate refinery-core 0.8.14 [INFO] tweaked toml for crates.io crate refinery-core 0.8.14 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 263 packages to latest compatible versions [INFO] [stderr] Adding mysql v24.0.0 (available: v25.0.1) [INFO] [stderr] Adding mysql_async v0.33.0 (available: v0.34.2) [INFO] [stderr] Adding rusqlite v0.31.0 (available: v0.32.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded connection-string v0.2.0 [INFO] [stderr] Downloaded pem v2.0.1 [INFO] [stderr] Downloaded mysql_common v0.30.6 [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] [stderr] Downloaded mysql_async v0.33.0 [INFO] [stderr] Downloaded mysql_common v0.31.0 [INFO] [stderr] Downloaded tiberius v0.12.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc34ce11d03d6b923169facb94373c5bdcfce2093e54aa5e133b56e4dfd59070 [INFO] running `Command { std: "docker" "start" "-a" "cc34ce11d03d6b923169facb94373c5bdcfce2093e54aa5e133b56e4dfd59070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc34ce11d03d6b923169facb94373c5bdcfce2093e54aa5e133b56e4dfd59070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc34ce11d03d6b923169facb94373c5bdcfce2093e54aa5e133b56e4dfd59070", kill_on_drop: false }` [INFO] [stdout] cc34ce11d03d6b923169facb94373c5bdcfce2093e54aa5e133b56e4dfd59070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01c6e8d9e827ffd4d01e1238dfd4162f0341c20175c67553b2078bee05bebfc1 [INFO] running `Command { std: "docker" "start" "-a" "01c6e8d9e827ffd4d01e1238dfd4162f0341c20175c67553b2078bee05bebfc1", kill_on_drop: false }` [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking refinery-core v0.8.14 (/opt/rustwide/workdir) [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] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 284 | pub(crate) fn build_db_url(name: &str, config: &Config) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/config.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / #[cfg(any( [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] | |___^ [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` [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` [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` [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` [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 undeclared crate or module `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 undeclared crate or module `toml` [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 [INFO] running `Command { std: "docker" "inspect" "01c6e8d9e827ffd4d01e1238dfd4162f0341c20175c67553b2078bee05bebfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c6e8d9e827ffd4d01e1238dfd4162f0341c20175c67553b2078bee05bebfc1", kill_on_drop: false }` [INFO] [stdout] 01c6e8d9e827ffd4d01e1238dfd4162f0341c20175c67553b2078bee05bebfc1