[INFO] fetching crate trailbase-refinery-core 0.8.16... [INFO] testing trailbase-refinery-core-0.8.16 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate trailbase-refinery-core 0.8.16 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate trailbase-refinery-core 0.8.16 [INFO] finished tweaking crates.io crate trailbase-refinery-core 0.8.16 [INFO] tweaked toml for crates.io crate trailbase-refinery-core 0.8.16 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trailbase-refinery-core 0.8.16 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trailbase-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.19.9 [INFO] [stderr] Downloaded mysql_common v0.32.4 [INFO] [stderr] Downloaded mysql v25.0.1 [INFO] [stderr] Downloaded mysql_async v0.34.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a34e5811ee715d5cb86391a5c92239b999d4542ef2863d5f6c8e00c278f90914 [INFO] running `Command { std: "docker" "start" "-a" "a34e5811ee715d5cb86391a5c92239b999d4542ef2863d5f6c8e00c278f90914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a34e5811ee715d5cb86391a5c92239b999d4542ef2863d5f6c8e00c278f90914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34e5811ee715d5cb86391a5c92239b999d4542ef2863d5f6c8e00c278f90914", kill_on_drop: false }` [INFO] [stdout] a34e5811ee715d5cb86391a5c92239b999d4542ef2863d5f6c8e00c278f90914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 710fbe8a0aa16add0180437d40ce54e129508e462ce81e4e49e26a70a60313f1 [INFO] running `Command { std: "docker" "start" "-a" "710fbe8a0aa16add0180437d40ce54e129508e462ce81e4e49e26a70a60313f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling regex v1.11.1 [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.83 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 trailbase-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: unused import: `std::ops::Deref` [INFO] [stdout] --> src/traits/async.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [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 20.19s [INFO] running `Command { std: "docker" "inspect" "710fbe8a0aa16add0180437d40ce54e129508e462ce81e4e49e26a70a60313f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710fbe8a0aa16add0180437d40ce54e129508e462ce81e4e49e26a70a60313f1", kill_on_drop: false }` [INFO] [stdout] 710fbe8a0aa16add0180437d40ce54e129508e462ce81e4e49e26a70a60313f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c7e74f6a87e490db530ba13c4ba73960d1f6f2e6d3a34a4870171495cb7fabd [INFO] running `Command { std: "docker" "start" "-a" "3c7e74f6a87e490db530ba13c4ba73960d1f6f2e6d3a34a4870171495cb7fabd", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [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: unused import: `std::ops::Deref` [INFO] [stdout] --> src/traits/async.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [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.14.0 [INFO] [stderr] Compiling trailbase-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:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | / include_str!( [INFO] [stdout] 134 | | "../../../refinery/tests/migrations/V1-2/V2__add_cars_and_motos_table.sql" [INFO] [stdout] 135 | | ), [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:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | 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:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / include_str!( [INFO] [stdout] 184 | | "../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 185 | | ), [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:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | / include_str!( [INFO] [stdout] 210 | | "../../../refinery/tests/migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 211 | | ), [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:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | / include_str!( [INFO] [stdout] 282 | | "../../../refinery/tests/migrations_unversioned/U0__merge_out_of_order.sql" [INFO] [stdout] 283 | | ), [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] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/traits/async.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [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 `trailbase-refinery-core` (lib test) due to 11 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3c7e74f6a87e490db530ba13c4ba73960d1f6f2e6d3a34a4870171495cb7fabd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7e74f6a87e490db530ba13c4ba73960d1f6f2e6d3a34a4870171495cb7fabd", kill_on_drop: false }` [INFO] [stdout] 3c7e74f6a87e490db530ba13c4ba73960d1f6f2e6d3a34a4870171495cb7fabd