[INFO] fetching crate okcodes-config 0.14.3... [INFO] checking okcodes-config-0.14.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate okcodes-config 0.14.3 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate okcodes-config 0.14.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [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 rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded zerocopy-derive v0.7.33 [INFO] [stderr] Downloaded winnow v0.6.7 [INFO] [stderr] Downloaded zerocopy v0.7.33 [INFO] [stderr] Downloaded yaml-rust2 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94cbcf98a51ca5cdb96b4d36f99b57cbc58a062b446f8469d2fe8bb2700dc672 [INFO] running `Command { std: "docker" "start" "-a" "94cbcf98a51ca5cdb96b4d36f99b57cbc58a062b446f8469d2fe8bb2700dc672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94cbcf98a51ca5cdb96b4d36f99b57cbc58a062b446f8469d2fe8bb2700dc672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94cbcf98a51ca5cdb96b4d36f99b57cbc58a062b446f8469d2fe8bb2700dc672", kill_on_drop: false }` [INFO] [stdout] 94cbcf98a51ca5cdb96b4d36f99b57cbc58a062b446f8469d2fe8bb2700dc672 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27583dc8388403c5969b0c8af26aa9188190f7cfeba71d3f40c7c20cea447e46 [INFO] running `Command { std: "docker" "start" "-a" "27583dc8388403c5969b0c8af26aa9188190f7cfeba71d3f40c7c20cea447e46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking winnow v0.6.7 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking yaml-rust2 v0.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rust-ini v0.21.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [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] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking 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)]` 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] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> examples/static_env.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] --> examples/custom_file_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[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[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] --> 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] [stdout] error[E0463]: can't find crate for `config` [INFO] [stdout] --> tests/log.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/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/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/static_env.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | .add_source(config::Environment::with_prefix("APP_NAME").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] 1 + use okcodes_config::Environment; [INFO] [stdout] | [INFO] [stdout] help: if you import `Environment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - .add_source(config::Environment::with_prefix("APP_NAME").separator("_")) [INFO] [stdout] 6 + .add_source(Environment::with_prefix("APP_NAME").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/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> examples/custom_file_format/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> 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] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> tests/log.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | fn config(s: &str) -> Config { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use notify::Config; [INFO] [stdout] | [INFO] [stdout] 8 + use okcodes_config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/log.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Config::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use notify::Config; [INFO] [stdout] | [INFO] [stdout] 8 + use okcodes_config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> tests/log.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | .add_source(File::from_str(s, FileFormat::Json)) [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 8 + use okcodes_config::File; [INFO] [stdout] | [INFO] [stdout] 8 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] 8 + use warp::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileFormat` [INFO] [stdout] --> tests/log.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | .add_source(File::from_str(s, FileFormat::Json)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FileFormat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use okcodes_config::FileFormat; [INFO] [stdout] | [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] [stderr] error: could not compile `okcodes-config` (example "custom_file_format") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_yaml.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | .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] 145 - .add_source(config::Environment::with_prefix("APP").separator("_")) [INFO] [stdout] 145 + .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_yaml.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | .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] 181 - .add_source(config::Environment::with_prefix("config").separator("_")) [INFO] [stdout] 181 + .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_yaml.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | .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] 199 - .add_source(config::Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] 199 + .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_yaml.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | .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] 216 - .add_source(config::Environment::with_prefix("test").separator("_")) [INFO] [stdout] 216 + .add_source(Environment::with_prefix("test").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `okcodes-config` (test "merge") 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] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/file_ini.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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 "static_env") due to 2 previous errors [INFO] [stderr] error: could not compile `okcodes-config` (test "log") due to 5 previous errors [INFO] [stderr] error: could not compile `okcodes-config` (test "datetime") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> examples/global/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/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] 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_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[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> tests/file_ini.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | .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] 92 - .add_source(config::Environment::with_prefix("APP").separator("_")) [INFO] [stdout] 92 + .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_ini.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | .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] 126 - .add_source(config::Environment::with_prefix("config").separator("_")) [INFO] [stdout] 126 + .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_ini.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | .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] 144 - .add_source(config::Environment::with_prefix("APPS").separator("_")) [INFO] [stdout] 144 + .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_ini.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | .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] 161 - .add_source(config::Environment::with_prefix("test").separator("_")) [INFO] [stdout] 161 + .add_source(Environment::with_prefix("test").separator("_")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/defaults.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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` (test "weird_keys") due to 2 previous errors [INFO] [stderr] error: could not compile `okcodes-config` (example "custom_str_format") due to 2 previous errors [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] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> tests/get.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] 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)]` 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] 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_yaml.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] [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 "file_ini") due to 5 previous errors [INFO] [stdout] error[E0599]: no method named `write` found for struct `SETTINGS` in the current scope [INFO] [stdout] --> examples/global/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref SETTINGS: RwLock = RwLock::new(Config::default()); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 13 | SETTINGS.write()?.set("property", 42)?; [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] [stderr] error: could not compile `okcodes-config` (test "file_yaml") due to 6 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 "integer_range") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `read` found for struct `SETTINGS` in the current scope [INFO] [stdout] --> examples/global/main.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref SETTINGS: RwLock = RwLock::new(Config::default()); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | println!("property: {}", SETTINGS.read()?.get::("property")?); [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 `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] 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] [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] 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, 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` (test "defaults") due to 1 previous error [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] [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[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] [stderr] error: could not compile `okcodes-config` (example "global") due to 3 previous errors [INFO] [stderr] error: could not compile `okcodes-config` (test "file_json") due to 6 previous errors [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 "get") due to 1 previous error [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] running `Command { std: "docker" "inspect" "27583dc8388403c5969b0c8af26aa9188190f7cfeba71d3f40c7c20cea447e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27583dc8388403c5969b0c8af26aa9188190f7cfeba71d3f40c7c20cea447e46", kill_on_drop: false }` [INFO] [stdout] 27583dc8388403c5969b0c8af26aa9188190f7cfeba71d3f40c7c20cea447e46