You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⋊> ~/t/config-rs on master ◦ cargo test --no-default-features --no-fail-fast 16:08:20
Compiling config v0.9.0 (file:///home/brain/tmp/config-rs)
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/merge.rs:7:41
|
7 | c.merge(File::new("tests/Settings", FileFormat::Toml))
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/errors.rs:7:41
|
7 | c.merge(File::new("tests/Settings", FileFormat::Toml))
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Json` found for type `config::FileFormat` in the current scope
--> tests/datetime.rs:15:13
|
15 | FileFormat::Json,
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Yaml` found for type `config::FileFormat` in the current scope
--> tests/file.rs:8:53
|
8 | let res = c.merge(File::new("tests/NoSettings", FileFormat::Yaml).required(false));
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Yaml` found for type `config::FileFormat` in the current scope
--> tests/file.rs:16:53
|
16 | let res = c.merge(File::new("tests/NoSettings", FileFormat::Yaml));
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/errors.rs:16:59
|
16 | let res = c.merge(File::new("tests/Settings-invalid", FileFormat::Toml));
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Yaml` found for type `config::FileFormat` in the current scope
--> tests/datetime.rs:22:13
|
22 | FileFormat::Yaml,
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/datetime.rs:29:13
|
29 | FileFormat::Toml,
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Hjson` found for type `config::FileFormat` in the current scope
--> tests/datetime.rs:38:13
|
38 | FileFormat::Hjson,
| ^^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/merge.rs:10:52
|
10 | c.merge(File::new("tests/Settings-production", FileFormat::Toml))
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Ini` found for type `config::FileFormat` in the current scope
--> tests/datetime.rs:45:13
|
45 | FileFormat::Ini,
| ^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error: Could not compile `config`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `config`.
warning: build failed, waiting for other jobs to finish...
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0599`.
error: Could not compile `config`.
warning: build failed, waiting for other jobs to finish...
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error: Could not compile `config`.
warning: build failed, waiting for other jobs to finish...
error[E0599]: no variant named `Hjson` found for type `config::FileFormat` in the current scope
--> tests/file_hjson.rs:35:41
|
35 | c.merge(File::new("tests/Settings", FileFormat::Hjson))
| ^^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Ini` found for type `config::FileFormat` in the current scope
--> tests/file_ini.rs:28:41
|
28 | c.merge(File::new("tests/Settings", FileFormat::Ini))
| ^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Ini` found for type `config::FileFormat` in the current scope
--> tests/file_ini.rs:56:59
|
56 | let res = c.merge(File::new("tests/Settings-invalid", FileFormat::Ini));
| ^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Hjson` found for type `config::FileFormat` in the current scope
--> tests/file_hjson.rs:68:59
|
68 | let res = c.merge(File::new("tests/Settings-invalid", FileFormat::Hjson));
| ^^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/get.rs:32:41
|
32 | c.merge(File::new("tests/Settings", FileFormat::Toml))
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error: Could not compile `config`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `config`.
warning: build failed, waiting for other jobs to finish...
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/file_toml.rs:43:41
|
43 | c.merge(File::new("tests/Settings", FileFormat::Toml))
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error[E0599]: no variant named `Toml` found for type `config::FileFormat` in the current scope
--> tests/file_toml.rs:78:59
|
78 | let res = c.merge(File::new("tests/Settings-invalid", FileFormat::Toml));
| ^^^^^^^^^^^^^^^^ variant not found in `config::FileFormat`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error: Could not compile `config`.
warning: build failed, waiting for other jobs to finish...
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
error: Could not compile `config`.
To learn more, run the command again with --verbose.
It would be nice if you could guard those tests by #[cfg()]
The text was updated successfully, but these errors were encountered:
It would be nice if you could guard those tests by #[cfg()]
The text was updated successfully, but these errors were encountered: