[INFO] fetching crate layeredconf-derive 0.2.3... [INFO] testing layeredconf-derive-0.2.3 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate layeredconf-derive 0.2.3 into /workspace/builds/worker-79/source [INFO] validating manifest of crates.io crate layeredconf-derive 0.2.3 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate layeredconf-derive 0.2.3 [INFO] finished tweaking crates.io crate layeredconf-derive 0.2.3 [INFO] tweaked toml for crates.io crate layeredconf-derive 0.2.3 written to /workspace/builds/worker-79/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v3.1.2 [INFO] [stderr] Downloaded goldenfile v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6acdc79db608975c0611c7ae5c4329344535c58625ce0fb1d3395e2dc73c35d [INFO] running `Command { std: "docker" "start" "-a" "f6acdc79db608975c0611c7ae5c4329344535c58625ce0fb1d3395e2dc73c35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6acdc79db608975c0611c7ae5c4329344535c58625ce0fb1d3395e2dc73c35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6acdc79db608975c0611c7ae5c4329344535c58625ce0fb1d3395e2dc73c35d", kill_on_drop: false }` [INFO] [stdout] f6acdc79db608975c0611c7ae5c4329344535c58625ce0fb1d3395e2dc73c35d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a908b7d257ec12d8214014946f849c5a111f68110ce079eceb1ca654e696b4b [INFO] running `Command { std: "docker" "start" "-a" "2a908b7d257ec12d8214014946f849c5a111f68110ce079eceb1ca654e696b4b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling layeredconf-derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `Command { std: "docker" "inspect" "2a908b7d257ec12d8214014946f849c5a111f68110ce079eceb1ca654e696b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a908b7d257ec12d8214014946f849c5a111f68110ce079eceb1ca654e696b4b", kill_on_drop: false }` [INFO] [stdout] 2a908b7d257ec12d8214014946f849c5a111f68110ce079eceb1ca654e696b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7018b11493ac1008ff537ee46c613630efcec51512dad402737007a7473b66ce [INFO] running `Command { std: "docker" "start" "-a" "7018b11493ac1008ff537ee46c613630efcec51512dad402737007a7473b66ce", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling goldenfile v1.1.0 [INFO] [stderr] Compiling clap v3.1.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling layeredconf-derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.89s [INFO] running `Command { std: "docker" "inspect" "7018b11493ac1008ff537ee46c613630efcec51512dad402737007a7473b66ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7018b11493ac1008ff537ee46c613630efcec51512dad402737007a7473b66ce", kill_on_drop: false }` [INFO] [stdout] 7018b11493ac1008ff537ee46c613630efcec51512dad402737007a7473b66ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46460651cbd5a06f2e32c8239c5b97d0033920dd432bd89b72950e44d285f75c [INFO] running `Command { std: "docker" "start" "-a" "46460651cbd5a06f2e32c8239c5b97d0033920dd432bd89b72950e44d285f75c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/layeredconf_derive-b533325a1a2fa468) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-02-22-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-02-22-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-02-22-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-02-22-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-02-22-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-02-22-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-02-22-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-02-22-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-02-22-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-02-22-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-02-22-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-02-22-x86_64-unknown-linux-gnu` [INFO] [stdout] test test::test_docstrings ... FAILED [INFO] [stdout] test test::test_passes_serde_attributes ... FAILED [INFO] [stdout] test test::test ... FAILED [INFO] [stdout] test test::test_option ... FAILED [INFO] [stdout] test test::test_subconfig_struct ... FAILED [INFO] [stdout] test test::test_subconfig_field ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_docstrings stdout ---- [INFO] [stdout] [INFO] [stdout] Goldenfile diff for "test_docstrings.rs": [INFO] [stdout] To regenerate the goldenfile, run [INFO] [stdout] env REGENERATE_GOLDENFILES=1 cargo test [INFO] [stdout] ------------------------------------------------------------ [INFO] [stdout] #[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)] [INFO] [stdout] #[doc = " This is kept so that clap can parse it"] [INFO] [stdout] #[doc = ""] [INFO] [stdout] #[doc = " Long description here."] [INFO] [stdout] struct TestSubConfigLayer { [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] #[doc = " This is kept too"] [INFO] [stdout] #[doc = ""] [INFO] [stdout] #[doc = " Long description here."] [INFO] [stdout] test: Option, [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolid for TestSubConfig { [INFO] [stdout] type Layer = TestSubConfigLayer; [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfLayer for TestSubConfigLayer { [INFO] [stdout] type Config = TestSubConfig; [INFO] [stdout] fn load_configs(&self) -> Vec { [INFO] [stdout] let mut load_configs = vec![]; [INFO] [stdout] load_configs [INFO] [stdout] } [INFO] [stdout] fn default_layer() -> Self { [INFO] [stdout] Self { test: None } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl TestSubConfigLayer { [INFO] [stdout] fn empty(&self) -> bool { [INFO] [stdout] let mut empty = vec![]; [INFO] [stdout] empty.push(self.test.is_none()); [INFO] [stdout] empty.iter().all(|v| *v) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl std::default::Default for TestSubConfigLayer { [INFO] [stdout] fn default() -> Self { [INFO] [stdout] Self { test: None } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfMerge for TestSubConfigLayer { [INFO] [stdout] fn merge_from(&mut self, other: &TestSubConfigLayer) { [INFO] [stdout] if self.test.is_none() { [INFO] [stdout] self.test = other.test.clone(); [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolidify for TestSubConfigLayer { [INFO] [stdout] fn solidify(&self) -> layeredconf::Result { [INFO] [stdout] let mut missing = vec![]; [INFO] [stdout] let test; [INFO] [stdout] if let Some(val) = &self.test { [INFO] [stdout] test = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] test = None; [INFO] [stdout] missing.push("test".to_string()); [INFO] [stdout] } [INFO] [stdout] if !missing.is_empty() { [INFO] [stdout] return Err(layeredconf::Error::SolidifyFailedMissing { missing }); [INFO] [stdout] } [INFO] [stdout] Ok(TestSubConfig { [INFO] [stdout] test: test.unwrap(), [INFO] [stdout] }) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] thread 'test::test_docstrings' panicked at 'assertion failed: edit distance between "#[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)]\n#[doc = \" This is kept so that clap can parse it\"]\n#[doc = \"\"]\n#[doc = \" Long description here.\"]\nstruct TestSubConfigLayer {\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n #[doc = \" This is kept too\"]\n #[doc = \"\"]\n #[doc = \" Long description here.\"]\n test: Option,\n}\nimpl layeredconf::LayeredConfSolid for TestSubConfig {\n type Layer = TestSubConfigLayer;\n}\nimpl layeredconf::LayeredConfLayer for TestSubConfigLayer {\n type Config = TestSubConfig;\n fn load_configs(&self) -> Vec {\n let mut load_configs = vec![];\n load_configs\n }\n fn default_layer() -> Self {\n Self { test: None }\n }\n}\nimpl TestSubConfigLayer {\n fn empty(&self) -> bool {\n let mut empty = vec![];\n empty.push(self.test.is_none());\n empty.iter().all(|v| *v)\n }\n}\nimpl std::default::Default for TestSubConfigLayer {\n fn default() -> Self {\n Self { test: None }\n }\n}\nimpl layeredconf::LayeredConfMerge for TestSubConfigLayer {\n fn merge_from(&mut self, other: &TestSubConfigLayer) {\n if self.test.is_none() {\n self.test = other.test.clone();\n }\n }\n}\nimpl layeredconf::LayeredConfSolidify for TestSubConfigLayer {\n fn solidify(&self) -> layeredconf::Result {\n let mut missing = vec![];\n let test;\n if let Some(val) = &self.test {\n test = Some(val.clone());\n } else {\n test = None;\n missing.push(\"test\".to_string());\n }\n if !missing.is_empty() {\n return Err(layeredconf::Error::SolidifyFailedMissing { missing });\n }\n Ok(TestSubConfig {\n test: test.unwrap(),\n })\n }\n}\n" and "" is 61 and not 0, see diffset above', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc171f5084c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7fc171f5084c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7fc171f5084c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7fc171f5084c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7fc171fb02ec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7fc171f40ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7fc171f54817 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7fc171f54817 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7fc171f54817 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7fc171f5454b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7fc171f550aa - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7fc171f54d97 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7fc171f50d14 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7fc171f54aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7fc171f1d8b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55b61509ce70 - goldenfile::differs::text_diff::hb0541f6cdaece73c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x55b61508ff35 - core::ops::function::Fn::call::hd77da2db12a75325 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x55b61509dcc7 - as core::ops::function::Fn>::call::h62ee1acc0d337e8f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1868:9 [INFO] [stdout] 18: 0x55b61509fa72 - goldenfile::mint::Mint::check_goldenfiles::ha72fab4f4db41dee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x55b6150a012d - ::drop::h1f3d75cef66b5eed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x55b615090d07 - core::ptr::drop_in_place::h5087f70083f90c5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x55b615093d9e - layeredconf_derive::test::test_docstrings::h112a90fa5c1f4c62 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:137:1 [INFO] [stdout] 22: 0x55b615093a6a - layeredconf_derive::test::test_docstrings::{{closure}}::h71a1f95e2878ae45 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:116:1 [INFO] [stdout] 23: 0x55b61509009e - core::ops::function::FnOnce::call_once::h0f149a911ea2e71f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7fc1722697c3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7fc1722697c3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7fc1722684f1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 27: 0x7fc1722684f1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7fc1722684f1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7fc1722684f1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7fc1722684f1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7fc1722684f1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7fc1722684f1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7fc172273b21 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7fc172273b21 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7fc17223cbef - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7fc17223cbef - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7fc17223cbef - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7fc17223cbef - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7fc17223cbef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 43: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 44: 0x7fc171f60bd3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fc171e5d609 - start_thread [INFO] [stdout] 46: 0x7fc171d84293 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test_passes_serde_attributes stdout ---- [INFO] [stdout] [INFO] [stdout] Goldenfile diff for "test_passes_serde_attributes.rs": [INFO] [stdout] To regenerate the goldenfile, run [INFO] [stdout] env REGENERATE_GOLDENFILES=1 cargo test [INFO] [stdout] ------------------------------------------------------------ [INFO] [stdout] #[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)] [INFO] [stdout] #[serde(deny_unknown_fields)] [INFO] [stdout] struct TestLayer { [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] #[serde(rename = "bool")] [INFO] [stdout] boolean: Option, [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] integer: Option, [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] optional: Option, [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolid for Test { [INFO] [stdout] type Layer = TestLayer; [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfLayer for TestLayer { [INFO] [stdout] type Config = Test; [INFO] [stdout] fn load_configs(&self) -> Vec { [INFO] [stdout] let mut load_configs = vec![]; [INFO] [stdout] load_configs [INFO] [stdout] } [INFO] [stdout] fn default_layer() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] optional: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl TestLayer { [INFO] [stdout] fn empty(&self) -> bool { [INFO] [stdout] let mut empty = vec![]; [INFO] [stdout] empty.push(self.boolean.is_none()); [INFO] [stdout] empty.push(self.integer.is_none()); [INFO] [stdout] empty.push(self.optional.is_none()); [INFO] [stdout] empty.iter().all(|v| *v) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl std::default::Default for TestLayer { [INFO] [stdout] fn default() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] optional: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfMerge for TestLayer { [INFO] [stdout] fn merge_from(&mut self, other: &TestLayer) { [INFO] [stdout] if self.boolean.is_none() { [INFO] [stdout] self.boolean = other.boolean.clone(); [INFO] [stdout] } [INFO] [stdout] if self.integer.is_none() { [INFO] [stdout] self.integer = other.integer.clone(); [INFO] [stdout] } [INFO] [stdout] if self.optional.is_none() { [INFO] [stdout] self.optional = other.optional.clone(); [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolidify for TestLayer { [INFO] [stdout] fn solidify(&self) -> layeredconf::Result { [INFO] [stdout] let mut missing = vec![]; [INFO] [stdout] let boolean; [INFO] [stdout] if let Some(val) = &self.boolean { [INFO] [stdout] boolean = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] boolean = None; [INFO] [stdout] missing.push("boolean".to_string()); [INFO] [stdout] } [INFO] [stdout] let integer; [INFO] [stdout] if let Some(val) = &self.integer { [INFO] [stdout] integer = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] integer = None; [INFO] [stdout] missing.push("integer".to_string()); [INFO] [stdout] } [INFO] [stdout] let optional = self.optional.clone(); [INFO] [stdout] if !missing.is_empty() { [INFO] [stdout] return Err(layeredconf::Error::SolidifyFailedMissing { missing }); [INFO] [stdout] } [INFO] [stdout] Ok(Test { [INFO] [stdout] boolean: boolean.unwrap(), [INFO] [stdout] integer: integer.unwrap(), [INFO] [stdout] optional, [INFO] [stdout] }) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] thread 'test::test_passes_serde_attributes' panicked at 'assertion failed: edit distance between "#[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)]\n#[serde(deny_unknown_fields)]\nstruct TestLayer {\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n #[serde(rename = \"bool\")]\n boolean: Option,\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n integer: Option,\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n optional: Option,\n}\nimpl layeredconf::LayeredConfSolid for Test {\n type Layer = TestLayer;\n}\nimpl layeredconf::LayeredConfLayer for TestLayer {\n type Config = Test;\n fn load_configs(&self) -> Vec {\n let mut load_configs = vec![];\n load_configs\n }\n fn default_layer() -> Self {\n Self {\n boolean: None,\n integer: None,\n optional: None,\n }\n }\n}\nimpl TestLayer {\n fn empty(&self) -> bool {\n let mut empty = vec![];\n empty.push(self.boolean.is_none());\n empty.push(self.integer.is_none());\n empty.push(self.optional.is_none());\n empty.iter().all(|v| *v)\n }\n}\nimpl std::default::Default for TestLayer {\n fn default() -> Self {\n Self {\n boolean: None,\n integer: None,\n optional: None,\n }\n }\n}\nimpl layeredconf::LayeredConfMerge for TestLayer {\n fn merge_from(&mut self, other: &TestLayer) {\n if self.boolean.is_none() {\n self.boolean = other.boolean.clone();\n }\n if self.integer.is_none() {\n self.integer = other.integer.clone();\n }\n if self.optional.is_none() {\n self.optional = other.optional.clone();\n }\n }\n}\nimpl layeredconf::LayeredConfSolidify for TestLayer {\n fn solidify(&self) -> layeredconf::Result {\n let mut missing = vec![];\n let boolean;\n if let Some(val) = &self.boolean {\n boolean = Some(val.clone());\n } else {\n boolean = None;\n missing.push(\"boolean\".to_string());\n }\n let integer;\n if let Some(val) = &self.integer {\n integer = Some(val.clone());\n } else {\n integer = None;\n missing.push(\"integer\".to_string());\n }\n let optional = self.optional.clone();\n if !missing.is_empty() {\n return Err(layeredconf::Error::SolidifyFailedMissing { missing });\n }\n Ok(Test {\n boolean: boolean.unwrap(),\n integer: integer.unwrap(),\n optional,\n })\n }\n}\n" and "" is 87 and not 0, see diffset above', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc171f5084c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7fc171f5084c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7fc171f5084c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7fc171f5084c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7fc171fb02ec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7fc171f40ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7fc171f54817 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7fc171f54817 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7fc171f54817 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7fc171f5454b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7fc171f550aa - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7fc171f54d97 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7fc171f50d14 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7fc171f54aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7fc171f1d8b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55b61509ce70 - goldenfile::differs::text_diff::hb0541f6cdaece73c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x55b61508ff35 - core::ops::function::Fn::call::hd77da2db12a75325 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x55b61509dcc7 - as core::ops::function::Fn>::call::h62ee1acc0d337e8f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1868:9 [INFO] [stdout] 18: 0x55b61509fa72 - goldenfile::mint::Mint::check_goldenfiles::ha72fab4f4db41dee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x55b6150a012d - ::drop::h1f3d75cef66b5eed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x55b615090d07 - core::ptr::drop_in_place::h5087f70083f90c5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x55b61509337e - layeredconf_derive::test::test_passes_serde_attributes::h11b66e00e970f1f6 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:74:1 [INFO] [stdout] 22: 0x55b61509304a - layeredconf_derive::test::test_passes_serde_attributes::{{closure}}::h2ad0d54e3dfeff3e [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:53:1 [INFO] [stdout] 23: 0x55b6150901ae - core::ops::function::FnOnce::call_once::h9282bf853c442042 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7fc1722697c3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7fc1722697c3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7fc1722684f1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 27: 0x7fc1722684f1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7fc1722684f1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7fc1722684f1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7fc1722684f1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7fc1722684f1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7fc1722684f1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7fc172273b21 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7fc172273b21 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7fc17223cbef - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7fc17223cbef - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7fc17223cbef - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7fc17223cbef - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7fc17223cbef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 43: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 44: 0x7fc171f60bd3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fc171e5d609 - start_thread [INFO] [stdout] 46: 0x7fc171d84293 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test stdout ---- [INFO] [stdout] [INFO] [stdout] Goldenfile diff for "test.rs": [INFO] [stdout] To regenerate the goldenfile, run [INFO] [stdout] env REGENERATE_GOLDENFILES=1 cargo test [INFO] [stdout] ------------------------------------------------------------ [INFO] [stdout] #[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)] [INFO] [stdout] struct TestLayer { [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] boolean: Option, [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] integer: Option, [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolid for Test { [INFO] [stdout] type Layer = TestLayer; [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfLayer for TestLayer { [INFO] [stdout] type Config = Test; [INFO] [stdout] fn load_configs(&self) -> Vec { [INFO] [stdout] let mut load_configs = vec![]; [INFO] [stdout] load_configs [INFO] [stdout] } [INFO] [stdout] fn default_layer() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl TestLayer { [INFO] [stdout] fn empty(&self) -> bool { [INFO] [stdout] let mut empty = vec![]; [INFO] [stdout] empty.push(self.boolean.is_none()); [INFO] [stdout] empty.push(self.integer.is_none()); [INFO] [stdout] empty.iter().all(|v| *v) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl std::default::Default for TestLayer { [INFO] [stdout] fn default() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfMerge for TestLayer { [INFO] [stdout] fn merge_from(&mut self, other: &TestLayer) { [INFO] [stdout] if self.boolean.is_none() { [INFO] [stdout] self.boolean = other.boolean.clone(); [INFO] [stdout] } [INFO] [stdout] if self.integer.is_none() { [INFO] [stdout] self.integer = other.integer.clone(); [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolidify for TestLayer { [INFO] [stdout] fn solidify(&self) -> layeredconf::Result { [INFO] [stdout] let mut missing = vec![]; [INFO] [stdout] let boolean; [INFO] [stdout] if let Some(val) = &self.boolean { [INFO] [stdout] boolean = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] boolean = None; [INFO] [stdout] missing.push("boolean".to_string()); [INFO] [stdout] } [INFO] [stdout] let integer; [INFO] [stdout] if let Some(val) = &self.integer { [INFO] [stdout] integer = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] integer = None; [INFO] [stdout] missing.push("integer".to_string()); [INFO] [stdout] } [INFO] [stdout] if !missing.is_empty() { [INFO] [stdout] return Err(layeredconf::Error::SolidifyFailedMissing { missing }); [INFO] [stdout] } [INFO] [stdout] Ok(Test { [INFO] [stdout] boolean: boolean.unwrap(), [INFO] [stdout] integer: integer.unwrap(), [INFO] [stdout] }) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] thread 'test::test' panicked at 'assertion failed: edit distance between "#[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)]\nstruct TestLayer {\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n boolean: Option,\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n integer: Option,\n}\nimpl layeredconf::LayeredConfSolid for Test {\n type Layer = TestLayer;\n}\nimpl layeredconf::LayeredConfLayer for TestLayer {\n type Config = Test;\n fn load_configs(&self) -> Vec {\n let mut load_configs = vec![];\n load_configs\n }\n fn default_layer() -> Self {\n Self {\n boolean: None,\n integer: None,\n }\n }\n}\nimpl TestLayer {\n fn empty(&self) -> bool {\n let mut empty = vec![];\n empty.push(self.boolean.is_none());\n empty.push(self.integer.is_none());\n empty.iter().all(|v| *v)\n }\n}\nimpl std::default::Default for TestLayer {\n fn default() -> Self {\n Self {\n boolean: None,\n integer: None,\n }\n }\n}\nimpl layeredconf::LayeredConfMerge for TestLayer {\n fn merge_from(&mut self, other: &TestLayer) {\n if self.boolean.is_none() {\n self.boolean = other.boolean.clone();\n }\n if self.integer.is_none() {\n self.integer = other.integer.clone();\n }\n }\n}\nimpl layeredconf::LayeredConfSolidify for TestLayer {\n fn solidify(&self) -> layeredconf::Result {\n let mut missing = vec![];\n let boolean;\n if let Some(val) = &self.boolean {\n boolean = Some(val.clone());\n } else {\n boolean = None;\n missing.push(\"boolean\".to_string());\n }\n let integer;\n if let Some(val) = &self.integer {\n integer = Some(val.clone());\n } else {\n integer = None;\n missing.push(\"integer\".to_string());\n }\n if !missing.is_empty() {\n return Err(layeredconf::Error::SolidifyFailedMissing { missing });\n }\n Ok(Test {\n boolean: boolean.unwrap(),\n integer: integer.unwrap(),\n })\n }\n}\n" and "" is 75 and not 0, see diffset above', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc171f5084c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7fc171f5084c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7fc171f5084c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7fc171f5084c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7fc171fb02ec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7fc171f40ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7fc171f54817 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7fc171f54817 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7fc171f54817 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7fc171f5454b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7fc171f550aa - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7fc171f54d97 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7fc171f50d14 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7fc171f54aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7fc171f1d8b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55b61509ce70 - goldenfile::differs::text_diff::hb0541f6cdaece73c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x55b61508ff35 - core::ops::function::Fn::call::hd77da2db12a75325 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x55b61509dcc7 - as core::ops::function::Fn>::call::h62ee1acc0d337e8f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1868:9 [INFO] [stdout] 18: 0x55b61509fa72 - goldenfile::mint::Mint::check_goldenfiles::ha72fab4f4db41dee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x55b6150a012d - ::drop::h1f3d75cef66b5eed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x55b615090d07 - core::ptr::drop_in_place::h5087f70083f90c5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x55b615092cbe - layeredconf_derive::test::test::hd24e53ecbe32a45f [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:30:1 [INFO] [stdout] 22: 0x55b61509298a - layeredconf_derive::test::test::{{closure}}::ha9230697a3d42d48 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:14:1 [INFO] [stdout] 23: 0x55b61509016e - core::ops::function::FnOnce::call_once::h8e5e93d6e06adb6a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7fc1722697c3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7fc1722697c3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7fc1722684f1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 27: 0x7fc1722684f1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7fc1722684f1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7fc1722684f1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7fc1722684f1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7fc1722684f1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7fc1722684f1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7fc172273b21 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7fc172273b21 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7fc17223cbef - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7fc17223cbef - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7fc17223cbef - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7fc17223cbef - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7fc17223cbef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 43: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 44: 0x7fc171f60bd3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fc171e5d609 - start_thread [INFO] [stdout] 46: 0x7fc171d84293 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test_option stdout ---- [INFO] [stdout] [INFO] [stdout] Goldenfile diff for "test_option.rs": [INFO] [stdout] To regenerate the goldenfile, run [INFO] [stdout] env REGENERATE_GOLDENFILES=1 cargo test [INFO] [stdout] ------------------------------------------------------------ [INFO] [stdout] #[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)] [INFO] [stdout] struct TestLayer { [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] boolean: Option, [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] integer: Option, [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] optional: Option, [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolid for Test { [INFO] [stdout] type Layer = TestLayer; [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfLayer for TestLayer { [INFO] [stdout] type Config = Test; [INFO] [stdout] fn load_configs(&self) -> Vec { [INFO] [stdout] let mut load_configs = vec![]; [INFO] [stdout] load_configs [INFO] [stdout] } [INFO] [stdout] fn default_layer() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] optional: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl TestLayer { [INFO] [stdout] fn empty(&self) -> bool { [INFO] [stdout] let mut empty = vec![]; [INFO] [stdout] empty.push(self.boolean.is_none()); [INFO] [stdout] empty.push(self.integer.is_none()); [INFO] [stdout] empty.push(self.optional.is_none()); [INFO] [stdout] empty.iter().all(|v| *v) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl std::default::Default for TestLayer { [INFO] [stdout] fn default() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] optional: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfMerge for TestLayer { [INFO] [stdout] fn merge_from(&mut self, other: &TestLayer) { [INFO] [stdout] if self.boolean.is_none() { [INFO] [stdout] self.boolean = other.boolean.clone(); [INFO] [stdout] } [INFO] [stdout] if self.integer.is_none() { [INFO] [stdout] self.integer = other.integer.clone(); [INFO] [stdout] } [INFO] [stdout] if self.optional.is_none() { [INFO] [stdout] self.optional = other.optional.clone(); [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolidify for TestLayer { [INFO] [stdout] fn solidify(&self) -> layeredconf::Result { [INFO] [stdout] let mut missing = vec![]; [INFO] [stdout] let boolean; [INFO] [stdout] if let Some(val) = &self.boolean { [INFO] [stdout] boolean = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] boolean = None; [INFO] [stdout] missing.push("boolean".to_string()); [INFO] [stdout] } [INFO] [stdout] let integer; [INFO] [stdout] if let Some(val) = &self.integer { [INFO] [stdout] integer = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] integer = None; [INFO] [stdout] missing.push("integer".to_string()); [INFO] [stdout] } [INFO] [stdout] let optional = self.optional.clone(); [INFO] [stdout] if !missing.is_empty() { [INFO] [stdout] return Err(layeredconf::Error::SolidifyFailedMissing { missing }); [INFO] [stdout] } [INFO] [stdout] Ok(Test { [INFO] [stdout] boolean: boolean.unwrap(), [INFO] [stdout] integer: integer.unwrap(), [INFO] [stdout] optional, [INFO] [stdout] }) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] thread 'test::test_option' panicked at 'assertion failed: edit distance between "#[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)]\nstruct TestLayer {\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n boolean: Option,\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n integer: Option,\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n optional: Option,\n}\nimpl layeredconf::LayeredConfSolid for Test {\n type Layer = TestLayer;\n}\nimpl layeredconf::LayeredConfLayer for TestLayer {\n type Config = Test;\n fn load_configs(&self) -> Vec {\n let mut load_configs = vec![];\n load_configs\n }\n fn default_layer() -> Self {\n Self {\n boolean: None,\n integer: None,\n optional: None,\n }\n }\n}\nimpl TestLayer {\n fn empty(&self) -> bool {\n let mut empty = vec![];\n empty.push(self.boolean.is_none());\n empty.push(self.integer.is_none());\n empty.push(self.optional.is_none());\n empty.iter().all(|v| *v)\n }\n}\nimpl std::default::Default for TestLayer {\n fn default() -> Self {\n Self {\n boolean: None,\n integer: None,\n optional: None,\n }\n }\n}\nimpl layeredconf::LayeredConfMerge for TestLayer {\n fn merge_from(&mut self, other: &TestLayer) {\n if self.boolean.is_none() {\n self.boolean = other.boolean.clone();\n }\n if self.integer.is_none() {\n self.integer = other.integer.clone();\n }\n if self.optional.is_none() {\n self.optional = other.optional.clone();\n }\n }\n}\nimpl layeredconf::LayeredConfSolidify for TestLayer {\n fn solidify(&self) -> layeredconf::Result {\n let mut missing = vec![];\n let boolean;\n if let Some(val) = &self.boolean {\n boolean = Some(val.clone());\n } else {\n boolean = None;\n missing.push(\"boolean\".to_string());\n }\n let integer;\n if let Some(val) = &self.integer {\n integer = Some(val.clone());\n } else {\n integer = None;\n missing.push(\"integer\".to_string());\n }\n let optional = self.optional.clone();\n if !missing.is_empty() {\n return Err(layeredconf::Error::SolidifyFailedMissing { missing });\n }\n Ok(Test {\n boolean: boolean.unwrap(),\n integer: integer.unwrap(),\n optional,\n })\n }\n}\n" and "" is 85 and not 0, see diffset above', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc171f5084c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7fc171f5084c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7fc171f5084c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7fc171f5084c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7fc171fb02ec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7fc171f40ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7fc171f54817 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7fc171f54817 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7fc171f54817 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7fc171f5454b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7fc171f550aa - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7fc171f54d97 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7fc171f50d14 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7fc171f54aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7fc171f1d8b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55b61509ce70 - goldenfile::differs::text_diff::hb0541f6cdaece73c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x55b61508ff35 - core::ops::function::Fn::call::hd77da2db12a75325 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x55b61509dcc7 - as core::ops::function::Fn>::call::h62ee1acc0d337e8f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1868:9 [INFO] [stdout] 18: 0x55b61509fa72 - goldenfile::mint::Mint::check_goldenfiles::ha72fab4f4db41dee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x55b6150a012d - ::drop::h1f3d75cef66b5eed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x55b615090d07 - core::ptr::drop_in_place::h5087f70083f90c5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x55b61509301e - layeredconf_derive::test::test_option::had0707089a700d24 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:50:1 [INFO] [stdout] 22: 0x55b615092cea - layeredconf_derive::test::test_option::{{closure}}::h2987834911dadfa1 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:33:1 [INFO] [stdout] 23: 0x55b61509022e - core::ops::function::FnOnce::call_once::h9cc718b3e41cc3be [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7fc1722697c3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7fc1722697c3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7fc1722684f1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 27: 0x7fc1722684f1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7fc1722684f1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7fc1722684f1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7fc1722684f1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7fc1722684f1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7fc1722684f1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7fc172273b21 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7fc172273b21 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7fc17223cbef - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7fc17223cbef - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7fc17223cbef - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7fc17223cbef - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7fc17223cbef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 43: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 44: 0x7fc171f60bd3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fc171e5d609 - start_thread [INFO] [stdout] 46: 0x7fc171d84293 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test_subconfig_struct stdout ---- [INFO] [stdout] [INFO] [stdout] Goldenfile diff for "test_subconfig_struct.rs": [INFO] [stdout] To regenerate the goldenfile, run [INFO] [stdout] env REGENERATE_GOLDENFILES=1 cargo test [INFO] [stdout] ------------------------------------------------------------ [INFO] [stdout] #[derive(serde :: Deserialize, serde :: Serialize, clap :: Args, Clone, Debug)] [INFO] [stdout] struct TestSubConfigLayer { [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] test: Option, [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolid for TestSubConfig { [INFO] [stdout] type Layer = TestSubConfigLayer; [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfLayer for TestSubConfigLayer { [INFO] [stdout] type Config = TestSubConfig; [INFO] [stdout] fn load_configs(&self) -> Vec { [INFO] [stdout] let mut load_configs = vec![]; [INFO] [stdout] load_configs [INFO] [stdout] } [INFO] [stdout] fn default_layer() -> Self { [INFO] [stdout] Self { test: None } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl TestSubConfigLayer { [INFO] [stdout] fn empty(&self) -> bool { [INFO] [stdout] let mut empty = vec![]; [INFO] [stdout] empty.push(self.test.is_none()); [INFO] [stdout] empty.iter().all(|v| *v) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl std::default::Default for TestSubConfigLayer { [INFO] [stdout] fn default() -> Self { [INFO] [stdout] Self { test: None } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfMerge for TestSubConfigLayer { [INFO] [stdout] fn merge_from(&mut self, other: &TestSubConfigLayer) { [INFO] [stdout] if self.test.is_none() { [INFO] [stdout] self.test = other.test.clone(); [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolidify for TestSubConfigLayer { [INFO] [stdout] fn solidify(&self) -> layeredconf::Result { [INFO] [stdout] let mut missing = vec![]; [INFO] [stdout] let test; [INFO] [stdout] if let Some(val) = &self.test { [INFO] [stdout] test = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] test = None; [INFO] [stdout] missing.push("test".to_string()); [INFO] [stdout] } [INFO] [stdout] if !missing.is_empty() { [INFO] [stdout] return Err(layeredconf::Error::SolidifyFailedMissing { missing }); [INFO] [stdout] } [INFO] [stdout] Ok(TestSubConfig { [INFO] [stdout] test: test.unwrap(), [INFO] [stdout] }) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] thread 'test::test_subconfig_struct' panicked at 'assertion failed: edit distance between "#[derive(serde :: Deserialize, serde :: Serialize, clap :: Args, Clone, Debug)]\nstruct TestSubConfigLayer {\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n test: Option,\n}\nimpl layeredconf::LayeredConfSolid for TestSubConfig {\n type Layer = TestSubConfigLayer;\n}\nimpl layeredconf::LayeredConfLayer for TestSubConfigLayer {\n type Config = TestSubConfig;\n fn load_configs(&self) -> Vec {\n let mut load_configs = vec![];\n load_configs\n }\n fn default_layer() -> Self {\n Self { test: None }\n }\n}\nimpl TestSubConfigLayer {\n fn empty(&self) -> bool {\n let mut empty = vec![];\n empty.push(self.test.is_none());\n empty.iter().all(|v| *v)\n }\n}\nimpl std::default::Default for TestSubConfigLayer {\n fn default() -> Self {\n Self { test: None }\n }\n}\nimpl layeredconf::LayeredConfMerge for TestSubConfigLayer {\n fn merge_from(&mut self, other: &TestSubConfigLayer) {\n if self.test.is_none() {\n self.test = other.test.clone();\n }\n }\n}\nimpl layeredconf::LayeredConfSolidify for TestSubConfigLayer {\n fn solidify(&self) -> layeredconf::Result {\n let mut missing = vec![];\n let test;\n if let Some(val) = &self.test {\n test = Some(val.clone());\n } else {\n test = None;\n missing.push(\"test\".to_string());\n }\n if !missing.is_empty() {\n return Err(layeredconf::Error::SolidifyFailedMissing { missing });\n }\n Ok(TestSubConfig {\n test: test.unwrap(),\n })\n }\n}\n" and "" is 55 and not 0, see diffset above', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc171f5084c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7fc171f5084c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7fc171f5084c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7fc171f5084c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7fc171fb02ec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7fc171f40ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7fc171f54817 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7fc171f54817 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7fc171f54817 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7fc171f5454b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] 10: 0x7fc171f550aa - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7fc171f54d97 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7fc171f50d14 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7fc171f54aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7fc171f1d8b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55b61509ce70 - goldenfile::differs::text_diff::hb0541f6cdaece73c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x55b61508ff35 - core::ops::function::Fn::call::hd77da2db12a75325 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x55b61509dcc7 - as core::ops::function::Fn>::call::h62ee1acc0d337e8f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1868:9 [INFO] [stdout] 18: 0x55b61509fa72 - goldenfile::mint::Mint::check_goldenfiles::ha72fab4f4db41dee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x55b6150a012d - ::drop::h1f3d75cef66b5eed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x55b615090d07 - core::ptr::drop_in_place::h5087f70083f90c5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x55b615093a3e - layeredconf_derive::test::test_subconfig_struct::hd20c6f86de8fded6 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:113:1 [INFO] [stdout] 22: 0x55b61509370a - layeredconf_derive::test::test_subconfig_struct::{{closure}}::h8a343dec3b223a8d [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:97:1 [INFO] [stdout] 23: 0x55b6150900de - core::ops::function::FnOnce::call_once::h26576592bcf65656 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7fc1722697c3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7fc1722697c3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7fc1722684f1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 27: 0x7fc1722684f1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7fc1722684f1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7fc1722684f1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7fc1722684f1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7fc1722684f1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7fc1722684f1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7fc172273b21 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7fc172273b21 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7fc17223cbef - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7fc17223cbef - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7fc17223cbef - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7fc17223cbef - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7fc17223cbef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 43: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 44: 0x7fc171f60bd3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fc171e5d609 - start_thread [INFO] [stdout] 46: 0x7fc171d84293 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test_subconfig_field stdout ---- [INFO] [stdout] [INFO] [stdout] Goldenfile diff for "test_subconfig_field.rs": [INFO] [stdout] To regenerate the goldenfile, run [INFO] [stdout] env REGENERATE_GOLDENFILES=1 cargo test [INFO] [stdout] ------------------------------------------------------------ [INFO] [stdout] #[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)] [INFO] [stdout] struct TestLayer { [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] name: Option, [INFO] [stdout] #[serde(default, skip_serializing_if = "TestSubConfigLayer :: empty")] [INFO] [stdout] #[clap(flatten)] [INFO] [stdout] subconfig: TestSubConfigLayer, [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolid for Test { [INFO] [stdout] type Layer = TestLayer; [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfLayer for TestLayer { [INFO] [stdout] type Config = Test; [INFO] [stdout] fn load_configs(&self) -> Vec { [INFO] [stdout] let mut load_configs = vec![]; [INFO] [stdout] load_configs [INFO] [stdout] } [INFO] [stdout] fn default_layer() -> Self { [INFO] [stdout] Self { [INFO] [stdout] name: None, [INFO] [stdout] subconfig: TestSubConfigLayer::default_layer(), [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl TestLayer { [INFO] [stdout] fn empty(&self) -> bool { [INFO] [stdout] let mut empty = vec![]; [INFO] [stdout] empty.push(self.name.is_none()); [INFO] [stdout] empty.push(self.subconfig.empty()); [INFO] [stdout] empty.iter().all(|v| *v) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl std::default::Default for TestLayer { [INFO] [stdout] fn default() -> Self { [INFO] [stdout] Self { [INFO] [stdout] name: None, [INFO] [stdout] subconfig: TestSubConfigLayer::default(), [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfMerge for TestLayer { [INFO] [stdout] fn merge_from(&mut self, other: &TestLayer) { [INFO] [stdout] if self.name.is_none() { [INFO] [stdout] self.name = other.name.clone(); [INFO] [stdout] } [INFO] [stdout] self.subconfig.merge_from(&other.subconfig); [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolidify for TestLayer { [INFO] [stdout] fn solidify(&self) -> layeredconf::Result { [INFO] [stdout] let mut missing = vec![]; [INFO] [stdout] let name; [INFO] [stdout] if let Some(val) = &self.name { [INFO] [stdout] name = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] name = None; [INFO] [stdout] missing.push("name".to_string()); [INFO] [stdout] } [INFO] [stdout] let subconfig = self.subconfig.solidify()?; [INFO] [stdout] if !missing.is_empty() { [INFO] [stdout] return Err(layeredconf::Error::SolidifyFailedMissing { missing }); [INFO] [stdout] } [INFO] [stdout] Ok(Test { [INFO] [stdout] name: name.unwrap(), [INFO] [stdout] subconfig, [INFO] [stdout] }) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] thread 'test::test_subconfig_field' panicked at 'assertion failed: edit distance between "#[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)]\nstruct TestLayer {\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n name: Option,\n #[serde(default, skip_serializing_if = \"TestSubConfigLayer :: empty\")]\n #[clap(flatten)]\n subconfig: TestSubConfigLayer,\n}\nimpl layeredconf::LayeredConfSolid for Test {\n type Layer = TestLayer;\n}\nimpl layeredconf::LayeredConfLayer for TestLayer {\n type Config = Test;\n fn load_configs(&self) -> Vec {\n let mut load_configs = vec![];\n load_configs\n }\n fn default_layer() -> Self {\n Self {\n name: None,\n subconfig: TestSubConfigLayer::default_layer(),\n }\n }\n}\nimpl TestLayer {\n fn empty(&self) -> bool {\n let mut empty = vec![];\n empty.push(self.name.is_none());\n empty.push(self.subconfig.empty());\n empty.iter().all(|v| *v)\n }\n}\nimpl std::default::Default for TestLayer {\n fn default() -> Self {\n Self {\n name: None,\n subconfig: TestSubConfigLayer::default(),\n }\n }\n}\nimpl layeredconf::LayeredConfMerge for TestLayer {\n fn merge_from(&mut self, other: &TestLayer) {\n if self.name.is_none() {\n self.name = other.name.clone();\n }\n self.subconfig.merge_from(&other.subconfig);\n }\n}\nimpl layeredconf::LayeredConfSolidify for TestLayer {\n fn solidify(&self) -> layeredconf::Result {\n let mut missing = vec![];\n let name;\n if let Some(val) = &self.name {\n name = Some(val.clone());\n } else {\n name = None;\n missing.push(\"name\".to_string());\n }\n let subconfig = self.subconfig.solidify()?;\n if !missing.is_empty() {\n return Err(layeredconf::Error::SolidifyFailedMissing { missing });\n }\n Ok(Test {\n name: name.unwrap(),\n subconfig,\n })\n }\n}\n" and "" is 68 and not 0, see diffset above', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc171f5084c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7fc171f5084c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7fc171f5084c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7fc171f5084c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7fc171fb02ec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7fc171f40ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7fc171f54817 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7fc171f54817 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7fc171f54817 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7fc171f5454b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7fc171f550aa - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7fc171f54d97 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7fc171f50d14 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7fc171f54aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7fc171f1d8b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55b61509ce70 - goldenfile::differs::text_diff::hb0541f6cdaece73c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x55b61508ff35 - core::ops::function::Fn::call::hd77da2db12a75325 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x55b61509dcc7 - as core::ops::function::Fn>::call::h62ee1acc0d337e8f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1868:9 [INFO] [stdout] 18: 0x55b61509fa72 - goldenfile::mint::Mint::check_goldenfiles::ha72fab4f4db41dee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x55b6150a012d - ::drop::h1f3d75cef66b5eed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x55b615090d07 - core::ptr::drop_in_place::h5087f70083f90c5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x55b6150936de - layeredconf_derive::test::test_subconfig_field::h35e7ac8fa19580d6 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:94:1 [INFO] [stdout] 22: 0x55b6150933aa - layeredconf_derive::test::test_subconfig_field::{{closure}}::h2eee00f281d006cb [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:77:1 [INFO] [stdout] 23: 0x55b6150901ee - core::ops::function::FnOnce::call_once::h9abab2eea511802d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7fc1722697c3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7fc1722697c3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7fc1722684f1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 27: 0x7fc1722684f1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7fc1722684f1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7fc1722684f1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7fc1722684f1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7fc1722684f1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7fc1722684f1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7fc172273b21 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7fc172273b21 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7fc17223cbef - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7fc17223cbef - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7fc17223cbef - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7fc17223cbef - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7fc17223cbef - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7fc17223cbef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 43: 0x7fc171f60bd3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 44: 0x7fc171f60bd3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fc171e5d609 - start_thread [INFO] [stdout] 46: 0x7fc171d84293 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test [INFO] [stdout] test::test_docstrings [INFO] [stdout] test::test_option [INFO] [stdout] test::test_passes_serde_attributes [INFO] [stdout] test::test_subconfig_field [INFO] [stdout] test::test_subconfig_struct [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46460651cbd5a06f2e32c8239c5b97d0033920dd432bd89b72950e44d285f75c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46460651cbd5a06f2e32c8239c5b97d0033920dd432bd89b72950e44d285f75c", kill_on_drop: false }` [INFO] [stdout] 46460651cbd5a06f2e32c8239c5b97d0033920dd432bd89b72950e44d285f75c