[INFO] fetching crate figment 0.10.19... [INFO] testing figment-0.10.19 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate figment 0.10.19 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate figment 0.10.19 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate figment 0.10.19 [INFO] tweaked toml for crates.io crate figment 0.10.19 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate figment 0.10.19 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 254a36057e7414056ecb51f5592a722a001cfee5f4f6eab22fac107f7247f5ee [INFO] running `Command { std: "docker" "start" "-a" "254a36057e7414056ecb51f5592a722a001cfee5f4f6eab22fac107f7247f5ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "254a36057e7414056ecb51f5592a722a001cfee5f4f6eab22fac107f7247f5ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "254a36057e7414056ecb51f5592a722a001cfee5f4f6eab22fac107f7247f5ee", kill_on_drop: false }` [INFO] [stdout] 254a36057e7414056ecb51f5592a722a001cfee5f4f6eab22fac107f7247f5ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25fdcf6bec6a321d945c68972004c382320c176ce19f2d345df42bb5482beb43 [INFO] running `Command { std: "docker" "start" "-a" "25fdcf6bec6a321d945c68972004c382320c176ce19f2d345df42bb5482beb43", kill_on_drop: false }` [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling figment v0.10.19 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/value/tag.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(target_pointer_width = "8", target_pointer_width = "16", target_pointer_width = "32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/value/tag.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(any(target_pointer_width = "8", target_pointer_width = "16", target_pointer_width = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.79s [INFO] running `Command { std: "docker" "inspect" "25fdcf6bec6a321d945c68972004c382320c176ce19f2d345df42bb5482beb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25fdcf6bec6a321d945c68972004c382320c176ce19f2d345df42bb5482beb43", kill_on_drop: false }` [INFO] [stdout] 25fdcf6bec6a321d945c68972004c382320c176ce19f2d345df42bb5482beb43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00b7211356e41a1b6b580d1d57c833640806c3e933125a6d1a49e27e3b6cac6e [INFO] running `Command { std: "docker" "start" "-a" "00b7211356e41a1b6b580d1d57c833640806c3e933125a6d1a49e27e3b6cac6e", kill_on_drop: false }` [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/value/tag.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(target_pointer_width = "8", target_pointer_width = "16", target_pointer_width = "32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/value/tag.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(any(target_pointer_width = "8", target_pointer_width = "16", target_pointer_width = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling figment v0.10.19 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `figment::providers::Toml` [INFO] [stdout] --> tests/lossy_values.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Toml, Format}}; [INFO] [stdout] | ^^^^ no `Toml` in `providers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `figment::providers::Yaml` [INFO] [stdout] --> tests/yaml-enum.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Format, Yaml}}; [INFO] [stdout] | ^^^^ no `Yaml` in `providers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> tests/lossy_values.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Toml, Format}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> tests/yaml-enum.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Format, Yaml}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `figment::providers::Env` [INFO] [stdout] --> tests/camel-case.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use figment::{Figment, providers::Env}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Env` in `providers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/providers/mod.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "env")] pub use self::env::Env; [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `env` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `figment::providers::Toml` [INFO] [stdout] --> tests/tuple-struct.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use figment::{Figment, providers::{Toml, Format}}; [INFO] [stdout] | ^^^^ no `Toml` in `providers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Jail` in `figment` [INFO] [stdout] --> tests/camel-case.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | figment::Jail::expect_with(|jail| { [INFO] [stdout] | ^^^^ could not find `Jail` in `figment` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:594:51 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(any(test, feature = "test"))] pub use jail::Jail; [INFO] [stdout] | ------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> tests/tuple-struct.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use figment::{Figment, providers::{Toml, Format}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `figment::providers::Toml`, `figment::providers::Json`, `figment::providers::Env` [INFO] [stdout] --> tests/cargo.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Format, Toml, Json, Env}}; [INFO] [stdout] | ^^^^ ^^^^ ^^^ no `Env` in `providers` [INFO] [stdout] | | | [INFO] [stdout] | | no `Json` in `providers` [INFO] [stdout] | no `Toml` in `providers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/providers/mod.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "env")] pub use self::env::Env; [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `env` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `figment::Jail` [INFO] [stdout] --> tests/tagged.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use figment::{Figment, Jail, Profile}; [INFO] [stdout] | ^^^^ no `Jail` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:594:51 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(any(test, feature = "test"))] pub use jail::Jail; [INFO] [stdout] | ------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `figment::providers::Env` [INFO] [stdout] --> tests/empty-env-vars.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use figment::{Figment, providers::Env}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Env` in `providers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/providers/mod.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "env")] pub use self::env::Env; [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `env` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Jail` in `figment` [INFO] [stdout] --> tests/cargo.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | figment::Jail::expect_with(|jail| { [INFO] [stdout] | ^^^^ could not find `Jail` in `figment` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:594:51 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(any(test, feature = "test"))] pub use jail::Jail; [INFO] [stdout] | ------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> tests/cargo.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Format, Toml, Json, Env}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `figment::providers::Toml`, `figment::providers::Env` [INFO] [stdout] --> tests/enum.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Format, Toml, Serialized, Env}}; [INFO] [stdout] | ^^^^ ^^^ no `Env` in `providers` [INFO] [stdout] | | [INFO] [stdout] | no `Toml` in `providers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/providers/mod.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "env")] pub use self::env::Env; [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `env` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Jail` in `figment` [INFO] [stdout] --> tests/empty-env-vars.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | figment::Jail::expect_with(|jail| { [INFO] [stdout] | ^^^^ could not find `Jail` in `figment` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:594:51 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(any(test, feature = "test"))] pub use jail::Jail; [INFO] [stdout] | ------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `figment` (test "tuple-struct") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `figment` (test "tagged") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: could not find `Jail` in `figment` [INFO] [stdout] --> tests/enum.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | figment::Jail::expect_with(|jail| { [INFO] [stdout] | ^^^^ could not find `Jail` in `figment` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:594:51 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(any(test, feature = "test"))] pub use jail::Jail; [INFO] [stdout] | ------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> tests/enum.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use figment::{Figment, providers::{Format, Toml, Serialized, Env}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `figment` (test "camel-case") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `crate::providers::Toml` [INFO] [stdout] --> src/value/magic.rs:1377:40 [INFO] [stdout] | [INFO] [stdout] 1377 | use crate::providers::{Format, Toml}; [INFO] [stdout] | ^^^^ no `Toml` in `providers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/providers/data.rs:521:14 [INFO] [stdout] | [INFO] [stdout] 398 | #[cfg(feature = $string)] [INFO] [stdout] | _______________- [INFO] [stdout] 399 | | #[cfg_attr(nightly, doc(cfg(feature = $string)))] [INFO] [stdout] 400 | | #[doc = $doc] [INFO] [stdout] 401 | | pub struct $name; [INFO] [stdout] ... | [INFO] [stdout] 521 | | impl_format!(Toml "TOML"/"toml": toml::from_str, toml::de::Error); [INFO] [stdout] | |______________^^^^_____________- the item is gated behind the `toml` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `figment` (test "empty-env-vars") due to 2 previous errors [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/value/tag.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(target_pointer_width = "8", target_pointer_width = "16", target_pointer_width = "32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `figment` (test "lossy_values") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/value/tag.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(any(target_pointer_width = "8", target_pointer_width = "16", target_pointer_width = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/value/magic.rs:1377:32 [INFO] [stdout] | [INFO] [stdout] 1377 | use crate::providers::{Format, Toml}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/jail.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg_attr(nightly, doc(cfg(feature = "test")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `figment` (test "yaml-enum") due to 1 previous error; 1 warning emitted [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 `figment` (test "cargo") due to 2 previous errors; 1 warning emitted [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 `figment` (test "enum") due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `figment` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "00b7211356e41a1b6b580d1d57c833640806c3e933125a6d1a49e27e3b6cac6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b7211356e41a1b6b580d1d57c833640806c3e933125a6d1a49e27e3b6cac6e", kill_on_drop: false }` [INFO] [stdout] 00b7211356e41a1b6b580d1d57c833640806c3e933125a6d1a49e27e3b6cac6e