[INFO] fetching crate okcodes-config 0.14.3... [INFO] testing okcodes-config-0.14.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate okcodes-config 0.14.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate okcodes-config 0.14.3 [INFO] finished tweaking crates.io crate okcodes-config 0.14.3 [INFO] tweaked toml for crates.io crate okcodes-config 0.14.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate okcodes-config 0.14.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate okcodes-config 0.14.3 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded pest_generator v2.7.10 [INFO] [stderr] Downloaded zerocopy-derive v0.7.33 [INFO] [stderr] Downloaded rust-ini v0.21.0 [INFO] [stderr] Downloaded serde_derive v1.0.200 [INFO] [stderr] Downloaded temp-env v0.3.6 [INFO] [stderr] Downloaded pest_derive v2.7.10 [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded pest_meta v2.7.10 [INFO] [stderr] Downloaded hyper-util v0.1.3 [INFO] [stderr] Downloaded pest v2.7.10 [INFO] [stderr] Downloaded toml_edit v0.22.12 [INFO] [stderr] Downloaded zerocopy v0.7.33 [INFO] [stderr] Downloaded winnow v0.6.7 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded yaml-rust2 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0271c47fd3e57be0baa57f2fcc1a23391fa5edced008ae90697accf7feb3a5d9 [INFO] running `Command { std: "docker" "start" "-a" "0271c47fd3e57be0baa57f2fcc1a23391fa5edced008ae90697accf7feb3a5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0271c47fd3e57be0baa57f2fcc1a23391fa5edced008ae90697accf7feb3a5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0271c47fd3e57be0baa57f2fcc1a23391fa5edced008ae90697accf7feb3a5d9", kill_on_drop: false }` [INFO] [stdout] 0271c47fd3e57be0baa57f2fcc1a23391fa5edced008ae90697accf7feb3a5d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae05a1084b693197bc5d056fd5adf871bf30870b3b8d094ff07f6673f4d35ddf [INFO] running `Command { std: "docker" "start" "-a" "ae05a1084b693197bc5d056fd5adf871bf30870b3b8d094ff07f6673f4d35ddf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling zerocopy v0.7.33 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling winnow v0.6.7 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling yaml-rust2 v0.8.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling okcodes-config v0.14.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/file/format/yaml.rs:40:75 [INFO] [stdout] | [INFO] [stdout] 40 | Box::new(FloatParsingError(value.to_string())) as Box<(dyn Error + Send + Sync)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - Box::new(FloatParsingError(value.to_string())) as Box<(dyn Error + Send + Sync)> [INFO] [stdout] 40 + Box::new(FloatParsingError(value.to_string())) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | fn variant_deserializer(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | fn variant_deserializer(&self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de.rs:280:27 [INFO] [stdout] | [INFO] [stdout] 280 | fn table_deserializer(&self, table: &Table) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | fn table_deserializer(&self, table: &Table) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.88s [INFO] running `Command { std: "docker" "inspect" "ae05a1084b693197bc5d056fd5adf871bf30870b3b8d094ff07f6673f4d35ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae05a1084b693197bc5d056fd5adf871bf30870b3b8d094ff07f6673f4d35ddf", kill_on_drop: false }` [INFO] [stdout] ae05a1084b693197bc5d056fd5adf871bf30870b3b8d094ff07f6673f4d35ddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0cf1b1317e4232a899b03fc06c90de5b74e551d072b37c8880737bb94022b21 [INFO] running `Command { std: "docker" "start" "-a" "c0cf1b1317e4232a899b03fc06c90de5b74e551d072b37c8880737bb94022b21", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling temp-env v0.3.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.0 [INFO] [stderr] Compiling okcodes-config v0.14.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/file/format/yaml.rs:40:75 [INFO] [stdout] | [INFO] [stdout] 40 | Box::new(FloatParsingError(value.to_string())) as Box<(dyn Error + Send + Sync)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - Box::new(FloatParsingError(value.to_string())) as Box<(dyn Error + Send + Sync)> [INFO] [stdout] 40 + Box::new(FloatParsingError(value.to_string())) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | fn variant_deserializer(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | fn variant_deserializer(&self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de.rs:280:27 [INFO] [stdout] | [INFO] [stdout] 280 | fn table_deserializer(&self, table: &Table) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | fn table_deserializer(&self, table: &Table) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> examples/env-list/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use config::Config; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/weird_keys.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use config::{File, FileFormat}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/set.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use config::{Config, File, FileFormat}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> examples/custom_str_format/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use config::{Config, File, FileStoredFormat, Format, Map, Value, ValueKind}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/set.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | .and_then(|b| b.build()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | .and_then(|b: /* Type */| b.build()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/env-list/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | config::Environment::with_prefix("APP") [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - config::Environment::with_prefix("APP") [INFO] [stdout] 12 + Environment::with_prefix("APP") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> examples/simple/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use config::Config; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/weird_keys.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let cfg = config::Config::builder() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use notify::Config; [INFO] [stdout] | [INFO] [stdout] 7 + use okcodes_config::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - let cfg = config::Config::builder() [INFO] [stdout] 16 + let cfg = Config::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> examples/watch/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use config::{Config, File}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (test "set") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/merge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{Config, File, FileFormat, Map}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/ron_enum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use config::{Config, File, FileFormat}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/file_json.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/file_toml.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use config::{Config, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/async_source/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/datetime.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use config::{Config, File, FileFormat}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/simple/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | .add_source(config::File::with_name("examples/simple/Settings")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::File; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - .add_source(config::File::with_name("examples/simple/Settings")) [INFO] [stdout] 7 + .add_source(File::with_name("examples/simple/Settings")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/simple/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | .add_source(config::Environment::with_prefix("APP")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - .add_source(config::Environment::with_prefix("APP")) [INFO] [stdout] 10 + .add_source(Environment::with_prefix("APP")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> examples/async_source/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (example "simple") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/custom_str_format/main.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (test "datetime") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_toml.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | .add_source(config::Environment::with_prefix("APP").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 119 - .add_source(config::Environment::with_prefix("APP").separator("_")) [INFO] [stdout] 119 + .add_source(Environment::with_prefix("APP").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_toml.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | .add_source(config::Environment::with_prefix("config").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 154 - .add_source(config::Environment::with_prefix("config").separator("_")) [INFO] [stdout] 154 + .add_source(Environment::with_prefix("config").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_toml.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | .add_source(config::Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 172 - .add_source(config::Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] 172 + .add_source(Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_toml.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | .add_source(config::Environment::with_prefix("test").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 190 - .add_source(config::Environment::with_prefix("test").separator("_")) [INFO] [stdout] 190 + .add_source(Environment::with_prefix("test").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (example "env-list") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_json.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | .add_source(config::Environment::with_prefix("APP").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 137 - .add_source(config::Environment::with_prefix("APP").separator("_")) [INFO] [stdout] 137 + .add_source(Environment::with_prefix("APP").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_json.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | .add_source(config::Environment::with_prefix("config").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 173 - .add_source(config::Environment::with_prefix("config").separator("_")) [INFO] [stdout] 173 + .add_source(Environment::with_prefix("config").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_json.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | .add_source(config::Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 191 - .add_source(config::Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] 191 + .add_source(Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_json.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | .add_source(config::Environment::with_prefix("test").separator("_")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 208 - .add_source(config::Environment::with_prefix("test").separator("_")) [INFO] [stdout] 208 + .add_source(Environment::with_prefix("test").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/integer_range.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use config::Config; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (example "custom_str_format") due to 2 previous errors [INFO] [stderr] error: could not compile `okcodes-config` (test "weird_keys") due to 2 previous errors [INFO] [stderr] error: could not compile `okcodes-config` (test "merge") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (test "ron_enum") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, ConfigError, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_toml.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | if e.to_string().contains("missing field `FOO`") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_json.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | if e.to_string().contains("missing field `FOO`") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/async_source/main.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | async fn collect(&self) -> Result, ConfigError> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/integer_range.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | .add_source(config::File::from_str( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::File; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - .add_source(config::File::from_str( [INFO] [stdout] 6 + .add_source(File::from_str( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/integer_range.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | config::FileFormat::Toml, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::FileFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `FileFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - config::FileFormat::Toml, [INFO] [stdout] 11 + FileFormat::Toml, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/integer_range.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | .add_source(config::File::from_str( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::File; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - .add_source(config::File::from_str( [INFO] [stdout] 29 + .add_source(File::from_str( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/integer_range.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | config::FileFormat::Toml, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::FileFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `FileFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 34 - config::FileFormat::Toml, [INFO] [stdout] 34 + FileFormat::Toml, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/integer_range.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | .add_source(config::File::from_str( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::File; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use warp::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - .add_source(config::File::from_str( [INFO] [stdout] 47 + .add_source(File::from_str( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/integer_range.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | config::FileFormat::Toml, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use okcodes_config::FileFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `FileFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - config::FileFormat::Toml, [INFO] [stdout] 52 + FileFormat::Toml, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_json.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | .collect::>(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (example "async_source") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_toml.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 70 | .collect::>(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (test "file_json") due to 7 previous errors [INFO] [stderr] error: could not compile `okcodes-config` (test "integer_range") due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, ConfigError, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{Config, File, FileFormat}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/file_ini.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use config::{Config, File, FileFormat}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (test "file_toml") due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/file_json.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/file_ron.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use config::{Config, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/file_toml.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use config::{Config, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/file_yaml.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/get.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use config::{Config, File, FileFormat, Map, Value}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/merge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{Config, File, FileFormat, Map}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/legacy/set.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use config::{Config, File, FileFormat}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `SETTINGS` in the current scope [INFO] [stdout] --> examples/watch/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static::lazy_static! { [INFO] [stdout] 11 | | static ref SETTINGS: RwLock = RwLock::new({ [INFO] [stdout] 12 | | let mut settings = Config::default(); [INFO] [stdout] 13 | | settings.merge(File::with_name("examples/watch/Settings.toml")).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 16 | | }); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | / SETTINGS [INFO] [stdout] 23 | | .read() [INFO] [stdout] | | -^^^^ method not found in `SETTINGS` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `digest::XofReader` [INFO] [stdout] candidate #2: `futures_util::AsyncReadExt` [INFO] [stdout] candidate #3: `std::io::Read` [INFO] [stdout] candidate #4: `tokio::io::AsyncReadExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hjson` [INFO] [stdout] --> tests/legacy/datetime.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | feature = "hjson", [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"json"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-trait`, `convert-case`, `convert_case`, `default`, `indexmap`, `ini`, `json`, `json5`, `json5_rs`, `preserve_order`, `ron`, `rust-ini`, `serde_json`, `toml`, `yaml`, and `yaml-rust2` [INFO] [stdout] = help: consider adding `hjson` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `SETTINGS` in the current scope [INFO] [stdout] --> examples/watch/main.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static::lazy_static! { [INFO] [stdout] 11 | | static ref SETTINGS: RwLock = RwLock::new({ [INFO] [stdout] 12 | | let mut settings = Config::default(); [INFO] [stdout] 13 | | settings.merge(File::with_name("examples/watch/Settings.toml")).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 16 | | }); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | SETTINGS.write().unwrap().refresh().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `SETTINGS` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `futures_util::AsyncWriteExt` [INFO] [stdout] candidate #3: `itoa::private::Sealed` [INFO] [stdout] candidate #4: `std::io::Write` [INFO] [stdout] candidate #5: `tokio::io::AsyncWriteExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (example "watch") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (test "errors") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/legacy/file_json.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | .collect::>(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/legacy/file_ron.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | .collect::>(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/legacy/file_toml.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | .collect::>(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/legacy/file_yaml.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | .collect::>(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `okcodes-config` (test "legacy_tests") due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c0cf1b1317e4232a899b03fc06c90de5b74e551d072b37c8880737bb94022b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0cf1b1317e4232a899b03fc06c90de5b74e551d072b37c8880737bb94022b21", kill_on_drop: false }` [INFO] [stdout] c0cf1b1317e4232a899b03fc06c90de5b74e551d072b37c8880737bb94022b21