[INFO] fetching crate refinery-core 0.8.16... [INFO] testing refinery-core-0.8.16 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate refinery-core 0.8.16 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate refinery-core 0.8.16 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded asynchronous-codec v0.6.2 [INFO] [stderr] Downloaded postgres v0.19.9 [INFO] [stderr] Downloaded postgres-protocol v0.6.7 [INFO] [stderr] Downloaded connection-string v0.2.0 [INFO] [stderr] Downloaded postgres-types v0.2.8 [INFO] [stderr] Downloaded pem v3.0.4 [INFO] [stderr] Downloaded winnow v0.6.25 [INFO] [stderr] Downloaded mysql v25.0.1 [INFO] [stderr] Downloaded rusqlite v0.31.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.14 [INFO] [stderr] Downloaded zstd-safe v7.2.1 [INFO] [stderr] Downloaded mysql_async v0.34.2 [INFO] [stderr] Downloaded keyed_priority_queue v0.4.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded pretty-hex v0.3.0 [INFO] [stderr] Downloaded cmake v0.1.53 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Downloaded libz-sys v1.1.21 [INFO] [stderr] Downloaded tokio-postgres v0.7.12 [INFO] [stderr] Downloaded tiberius v0.12.3 [INFO] [stderr] Downloaded mysql_common v0.32.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdf54f6485cc07a9c4640b895dfc00fe9f3a6fcc1d3fb8a6ba56e1f32e7f4b14 [INFO] running `Command { std: "docker" "start" "-a" "bdf54f6485cc07a9c4640b895dfc00fe9f3a6fcc1d3fb8a6ba56e1f32e7f4b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdf54f6485cc07a9c4640b895dfc00fe9f3a6fcc1d3fb8a6ba56e1f32e7f4b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf54f6485cc07a9c4640b895dfc00fe9f3a6fcc1d3fb8a6ba56e1f32e7f4b14", kill_on_drop: false }` [INFO] [stdout] bdf54f6485cc07a9c4640b895dfc00fe9f3a6fcc1d3fb8a6ba56e1f32e7f4b14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 920d512d887fbe0793119fb7743e99b617fd2c4bd633a8cbe2fd485c5d1782f4 [INFO] running `Command { std: "docker" "start" "-a" "920d512d887fbe0793119fb7743e99b617fd2c4bd633a8cbe2fd485c5d1782f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [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] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.47s [INFO] running `Command { std: "docker" "inspect" "920d512d887fbe0793119fb7743e99b617fd2c4bd633a8cbe2fd485c5d1782f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920d512d887fbe0793119fb7743e99b617fd2c4bd633a8cbe2fd485c5d1782f4", kill_on_drop: false }` [INFO] [stdout] 920d512d887fbe0793119fb7743e99b617fd2c4bd633a8cbe2fd485c5d1782f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40693bb352698252db6038888d395d129b52cd13427ca3eafb37c10becc64191 [INFO] running `Command { std: "docker" "start" "-a" "40693bb352698252db6038888d395d129b52cd13427ca3eafb37c10becc64191", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling once_cell v1.20.2 [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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling refinery-core v0.8.16 (/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] [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)]` (part of `#[warn(unused)]`) 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] 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" "40693bb352698252db6038888d395d129b52cd13427ca3eafb37c10becc64191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40693bb352698252db6038888d395d129b52cd13427ca3eafb37c10becc64191", kill_on_drop: false }` [INFO] [stdout] 40693bb352698252db6038888d395d129b52cd13427ca3eafb37c10becc64191