[INFO] fetching crate layeredconf-derive 0.2.3... [INFO] testing layeredconf-derive-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate layeredconf-derive 0.2.3 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate layeredconf-derive 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5c14aff3b9916f6f4d29345bc64fdad0afa6ab981d85f1c72ff0d84e23075e6 [INFO] running `Command { std: "docker" "start" "-a" "f5c14aff3b9916f6f4d29345bc64fdad0afa6ab981d85f1c72ff0d84e23075e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5c14aff3b9916f6f4d29345bc64fdad0afa6ab981d85f1c72ff0d84e23075e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c14aff3b9916f6f4d29345bc64fdad0afa6ab981d85f1c72ff0d84e23075e6", kill_on_drop: false }` [INFO] [stdout] f5c14aff3b9916f6f4d29345bc64fdad0afa6ab981d85f1c72ff0d84e23075e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe071134dc88cdc0019d2e2a493fff9199b541483defd815f0b0e0ebc1d3f61d [INFO] running `Command { std: "docker" "start" "-a" "fe071134dc88cdc0019d2e2a493fff9199b541483defd815f0b0e0ebc1d3f61d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling layeredconf-derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.52s [INFO] running `Command { std: "docker" "inspect" "fe071134dc88cdc0019d2e2a493fff9199b541483defd815f0b0e0ebc1d3f61d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe071134dc88cdc0019d2e2a493fff9199b541483defd815f0b0e0ebc1d3f61d", kill_on_drop: false }` [INFO] [stdout] fe071134dc88cdc0019d2e2a493fff9199b541483defd815f0b0e0ebc1d3f61d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ed6c234b106335b13bd8c373f10dba0277d771624ac474d5d8277d0715d2b04 [INFO] running `Command { std: "docker" "start" "-a" "8ed6c234b106335b13bd8c373f10dba0277d771624ac474d5d8277d0715d2b04", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling goldenfile v1.1.0 [INFO] [stderr] Compiling layeredconf-derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.86s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/layeredconf_derive-b104a1fa42d462e6) [INFO] running `Command { std: "docker" "inspect" "8ed6c234b106335b13bd8c373f10dba0277d771624ac474d5d8277d0715d2b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed6c234b106335b13bd8c373f10dba0277d771624ac474d5d8277d0715d2b04", kill_on_drop: false }` [INFO] [stdout] 8ed6c234b106335b13bd8c373f10dba0277d771624ac474d5d8277d0715d2b04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb6b41d475a4c9416882ac330ac655fe7c27e6fed767943a32737a46a8c843be [INFO] running `Command { std: "docker" "start" "-a" "fb6b41d475a4c9416882ac330ac655fe7c27e6fed767943a32737a46a8c843be", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/layeredconf_derive-b104a1fa42d462e6) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-04-10-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-04-10-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-04-10-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-04-10-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-04-10-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-04-10-x86_64-unknown-linux-gnu` [INFO] [stdout] test test::test ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-04-10-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-04-10-x86_64-unknown-linux-gnu` [INFO] [stdout] test test::test_subconfig_field ... FAILED [INFO] [stdout] test test::test_subconfig_struct ... FAILED [INFO] [stdout] test test::test_passes_serde_attributes ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-04-10-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-04-10-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2022-04-10-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain beta-2022-04-10-x86_64-unknown-linux-gnu` [INFO] [stdout] test test::test_docstrings ... FAILED [INFO] [stdout] test test::test_option ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: 0x7f24565a31dd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f24565a31dd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f24565a31dd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f24565a31dd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f24565fd02c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x7f2456594731 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x7f24565a62c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f24565a62c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f24565a62c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f24565a5fb4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f24565a6962 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f24565a6847 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f24565a3694 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f24565a6579 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f245656a6c3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5625722867a9 - goldenfile::differs::text_diff::h5d1935b47160d6da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x562572278d85 - core::ops::function::Fn::call::hc155edeb25b29445 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x56257228b6d7 - as core::ops::function::Fn>::call::hec62bb69504d0db7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1875:9 [INFO] [stdout] 18: 0x562572289178 - goldenfile::mint::Mint::check_goldenfiles::hb35f7a1bc37b2c9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x56257228982b - ::drop::hb7e508ca46aa3bed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x562572279bd7 - core::ptr::drop_in_place::h76d2dfb46726c8d4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 21: 0x56257227d6ea - layeredconf_derive::test::test::hc787ccbb8278afea [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:30:1 [INFO] [stdout] 22: 0x56257227d3ea - layeredconf_derive::test::test::{{closure}}::h4dba670b6435f8ac [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:14:1 [INFO] [stdout] 23: 0x56257227904e - core::ops::function::FnOnce::call_once::hbae5136dd46906d9 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f24568c3fc3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f24568c3fc3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 26: 0x7f24568c2d79 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 27: 0x7f24568c2d79 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f24568c2d79 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f24568c2d79 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f24568c2d79 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f24568c2d79 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 32: 0x7f24568c2d79 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 33: 0x7f245688c5ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 34: 0x7f245688c5ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f2456892bc8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f2456892bc8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f2456892bc8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f2456892bc8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f2456892bc8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 44: 0x7f24565b0c03 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f24564a8609 - start_thread [INFO] [stdout] 46: 0x7f24563cd163 - 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: 0x7f24565a31dd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f24565a31dd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f24565a31dd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f24565a31dd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f24565fd02c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x7f2456594731 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x7f24565a62c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f24565a62c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f24565a62c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f24565a5fb4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f24565a6962 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f24565a6847 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f24565a3694 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f24565a6579 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f245656a6c3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5625722867a9 - goldenfile::differs::text_diff::h5d1935b47160d6da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x562572278d85 - core::ops::function::Fn::call::hc155edeb25b29445 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x56257228b6d7 - as core::ops::function::Fn>::call::hec62bb69504d0db7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1875:9 [INFO] [stdout] 18: 0x562572289178 - goldenfile::mint::Mint::check_goldenfiles::hb35f7a1bc37b2c9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x56257228982b - ::drop::hb7e508ca46aa3bed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x562572279bd7 - core::ptr::drop_in_place::h76d2dfb46726c8d4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 21: 0x56257227e07a - layeredconf_derive::test::test_subconfig_field::h70226153ea0e37b6 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:94:1 [INFO] [stdout] 22: 0x56257227dd7a - layeredconf_derive::test::test_subconfig_field::{{closure}}::h464c1c9f79022dd7 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:77:1 [INFO] [stdout] 23: 0x5625722790ce - core::ops::function::FnOnce::call_once::hdc6d287000c0cd09 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f24568c3fc3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f24568c3fc3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 26: 0x7f24568c2d79 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 27: 0x7f24568c2d79 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f24568c2d79 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f24568c2d79 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f24568c2d79 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f24568c2d79 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 32: 0x7f24568c2d79 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 33: 0x7f245688c5ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 34: 0x7f245688c5ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f2456892bc8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f2456892bc8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f2456892bc8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f2456892bc8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f2456892bc8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 44: 0x7f24565b0c03 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f24564a8609 - start_thread [INFO] [stdout] 46: 0x7f24563cd163 - 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: 0x7f24565a31dd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f24565a31dd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f24565a31dd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f24565a31dd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f24565fd02c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x7f2456594731 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x7f24565a62c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f24565a62c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f24565a62c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f24565a5fb4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f24565a6962 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f24565a6847 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f24565a3694 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f24565a6579 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f245656a6c3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5625722867a9 - goldenfile::differs::text_diff::h5d1935b47160d6da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x562572278d85 - core::ops::function::Fn::call::hc155edeb25b29445 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x56257228b6d7 - as core::ops::function::Fn>::call::hec62bb69504d0db7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1875:9 [INFO] [stdout] 18: 0x562572289178 - goldenfile::mint::Mint::check_goldenfiles::hb35f7a1bc37b2c9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x56257228982b - ::drop::hb7e508ca46aa3bed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x562572279bd7 - core::ptr::drop_in_place::h76d2dfb46726c8d4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 21: 0x56257227e3aa - layeredconf_derive::test::test_subconfig_struct::h4ac6b424d510eb11 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:113:1 [INFO] [stdout] 22: 0x56257227e0aa - layeredconf_derive::test::test_subconfig_struct::{{closure}}::h2475dddaf6beeb63 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:97:1 [INFO] [stdout] 23: 0x562572278ebe - core::ops::function::FnOnce::call_once::h10640ebc750bb9bc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f24568c3fc3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f24568c3fc3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 26: 0x7f24568c2d79 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 27: 0x7f24568c2d79 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f24568c2d79 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f24568c2d79 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f24568c2d79 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f24568c2d79 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 32: 0x7f24568c2d79 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 33: 0x7f245688c5ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 34: 0x7f245688c5ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f2456892bc8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f2456892bc8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f2456892bc8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f2456892bc8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f2456892bc8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 44: 0x7f24565b0c03 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f24564a8609 - start_thread [INFO] [stdout] 46: 0x7f24563cd163 - 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: 0x7f24565a31dd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f24565a31dd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f24565a31dd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f24565a31dd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f24565fd02c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x7f2456594731 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x7f24565a62c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f24565a62c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f24565a62c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f24565a5fb4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f24565a6962 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f24565a6847 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f24565a3694 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f24565a6579 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f245656a6c3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5625722867a9 - goldenfile::differs::text_diff::h5d1935b47160d6da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x562572278d85 - core::ops::function::Fn::call::hc155edeb25b29445 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x56257228b6d7 - as core::ops::function::Fn>::call::hec62bb69504d0db7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1875:9 [INFO] [stdout] 18: 0x562572289178 - goldenfile::mint::Mint::check_goldenfiles::hb35f7a1bc37b2c9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x56257228982b - ::drop::hb7e508ca46aa3bed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x562572279bd7 - core::ptr::drop_in_place::h76d2dfb46726c8d4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 21: 0x56257227dd4a - layeredconf_derive::test::test_passes_serde_attributes::h6474cf707159f903 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:74:1 [INFO] [stdout] 22: 0x56257227da4a - layeredconf_derive::test::test_passes_serde_attributes::{{closure}}::hc013c152b54d6dfb [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:53:1 [INFO] [stdout] 23: 0x56257227900e - core::ops::function::FnOnce::call_once::h99e9b5875e2530bd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f24568c3fc3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f24568c3fc3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 26: 0x7f24568c2d79 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 27: 0x7f24568c2d79 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f24568c2d79 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f24568c2d79 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f24568c2d79 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f24568c2d79 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 32: 0x7f24568c2d79 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 33: 0x7f245688c5ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 34: 0x7f245688c5ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f2456892bc8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f2456892bc8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f2456892bc8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f2456892bc8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f2456892bc8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 44: 0x7f24565b0c03 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f24564a8609 - start_thread [INFO] [stdout] 46: 0x7f24563cd163 - clone [INFO] [stdout] 47: 0x0 - [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: 0x7f24565a31dd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f24565a31dd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f24565a31dd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f24565a31dd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f24565fd02c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x7f2456594731 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x7f24565a62c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f24565a62c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f24565a62c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f24565a5fb4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f24565a6962 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f24565a6847 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f24565a3694 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f24565a6579 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f245656a6c3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5625722867a9 - goldenfile::differs::text_diff::h5d1935b47160d6da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x562572278d85 - core::ops::function::Fn::call::hc155edeb25b29445 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x56257228b6d7 - as core::ops::function::Fn>::call::hec62bb69504d0db7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1875:9 [INFO] [stdout] 18: 0x562572289178 - goldenfile::mint::Mint::check_goldenfiles::hb35f7a1bc37b2c9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x56257228982b - ::drop::hb7e508ca46aa3bed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x562572279bd7 - core::ptr::drop_in_place::h76d2dfb46726c8d4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 21: 0x56257227e6da - layeredconf_derive::test::test_docstrings::h1e584331f876f413 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:137:1 [INFO] [stdout] 22: 0x56257227e3da - layeredconf_derive::test::test_docstrings::{{closure}}::h459f0de12eb76fd6 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:116:1 [INFO] [stdout] 23: 0x562572278f7e - core::ops::function::FnOnce::call_once::h7414f514b1f4cb73 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f24568c3fc3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f24568c3fc3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 26: 0x7f24568c2d79 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 27: 0x7f24568c2d79 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f24568c2d79 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f24568c2d79 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f24568c2d79 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f24568c2d79 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 32: 0x7f24568c2d79 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 33: 0x7f245688c5ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 34: 0x7f245688c5ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f2456892bc8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f2456892bc8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f2456892bc8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f2456892bc8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f2456892bc8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 44: 0x7f24565b0c03 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f24564a8609 - start_thread [INFO] [stdout] 46: 0x7f24563cd163 - 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: 0x7f24565a31dd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f24565a31dd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f24565a31dd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f24565a31dd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f24565fd02c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x7f2456594731 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x7f24565a62c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f24565a62c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f24565a62c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f24565a5fb4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f24565a6962 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f24565a6847 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f24565a3694 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f24565a6579 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f245656a6c3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5625722867a9 - goldenfile::differs::text_diff::h5d1935b47160d6da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x562572278d85 - core::ops::function::Fn::call::hc155edeb25b29445 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x56257228b6d7 - as core::ops::function::Fn>::call::hec62bb69504d0db7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1875:9 [INFO] [stdout] 18: 0x562572289178 - goldenfile::mint::Mint::check_goldenfiles::hb35f7a1bc37b2c9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x56257228982b - ::drop::hb7e508ca46aa3bed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x562572279bd7 - core::ptr::drop_in_place::h76d2dfb46726c8d4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 21: 0x56257227da1a - layeredconf_derive::test::test_option::had2a198ec6288e7d [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:50:1 [INFO] [stdout] 22: 0x56257227d71a - layeredconf_derive::test::test_option::{{closure}}::h445d843a6055e3a5 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:33:1 [INFO] [stdout] 23: 0x562572278fbe - core::ops::function::FnOnce::call_once::h7cb8423906e4907a [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f24568c3fc3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f24568c3fc3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 26: 0x7f24568c2d79 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 27: 0x7f24568c2d79 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f24568c2d79 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f24568c2d79 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f24568c2d79 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f24568c2d79 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 32: 0x7f24568c2d79 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 33: 0x7f245688c5ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 34: 0x7f245688c5ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f2456892bc8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f2456892bc8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f2456892bc8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f2456892bc8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f2456892bc8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f2456892bc8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x7f24565b0c03 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 44: 0x7f24565b0c03 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f24564a8609 - start_thread [INFO] [stdout] 46: 0x7f24563cd163 - 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.77s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "fb6b41d475a4c9416882ac330ac655fe7c27e6fed767943a32737a46a8c843be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb6b41d475a4c9416882ac330ac655fe7c27e6fed767943a32737a46a8c843be", kill_on_drop: false }` [INFO] [stdout] fb6b41d475a4c9416882ac330ac655fe7c27e6fed767943a32737a46a8c843be