[INFO] fetching crate layeredconf-derive 0.2.3... [INFO] testing layeredconf-derive-0.2.3 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded goldenfile v1.1.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f7445a50fd9788ad41b23d589e69df4900b9d9b59cca58e1cbb164bd094b26c [INFO] running `Command { std: "docker" "start" "-a" "6f7445a50fd9788ad41b23d589e69df4900b9d9b59cca58e1cbb164bd094b26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f7445a50fd9788ad41b23d589e69df4900b9d9b59cca58e1cbb164bd094b26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7445a50fd9788ad41b23d589e69df4900b9d9b59cca58e1cbb164bd094b26c", kill_on_drop: false }` [INFO] [stdout] 6f7445a50fd9788ad41b23d589e69df4900b9d9b59cca58e1cbb164bd094b26c [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a8a75a9bf01f5953f8577c45a3727f2a054da3320fd3aa1564a8fffe30f820 [INFO] running `Command { std: "docker" "start" "-a" "40a8a75a9bf01f5953f8577c45a3727f2a054da3320fd3aa1564a8fffe30f820", kill_on_drop: false }` [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 ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [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 38.13s [INFO] running `Command { std: "docker" "inspect" "40a8a75a9bf01f5953f8577c45a3727f2a054da3320fd3aa1564a8fffe30f820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a8a75a9bf01f5953f8577c45a3727f2a054da3320fd3aa1564a8fffe30f820", kill_on_drop: false }` [INFO] [stdout] 40a8a75a9bf01f5953f8577c45a3727f2a054da3320fd3aa1564a8fffe30f820 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 497329615e5e192aa4bd7ec770318e40269706175b3dc31b90adbadceb3e4c57 [INFO] running `Command { std: "docker" "start" "-a" "497329615e5e192aa4bd7ec770318e40269706175b3dc31b90adbadceb3e4c57", kill_on_drop: false }` [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 remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.3.0 [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 22.50s [INFO] running `Command { std: "docker" "inspect" "497329615e5e192aa4bd7ec770318e40269706175b3dc31b90adbadceb3e4c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497329615e5e192aa4bd7ec770318e40269706175b3dc31b90adbadceb3e4c57", kill_on_drop: false }` [INFO] [stdout] 497329615e5e192aa4bd7ec770318e40269706175b3dc31b90adbadceb3e4c57 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d7b8dc999065b7ccab30a027a2f8f07105609d805aac38b5a5db57896188aa1 [INFO] running `Command { std: "docker" "start" "-a" "7d7b8dc999065b7ccab30a027a2f8f07105609d805aac38b5a5db57896188aa1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/layeredconf_derive-4acdf18175ec90e6) [INFO] [stdout] running 6 tests [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '1.60.0-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 1.60.0-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '1.60.0-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 1.60.0-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '1.60.0-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 1.60.0-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '1.60.0-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 1.60.0-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '1.60.0-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 1.60.0-x86_64-unknown-linux-gnu` [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '1.60.0-x86_64-unknown-linux-gnu' [INFO] [stderr] To install, run `rustup component add rustfmt --toolchain 1.60.0-x86_64-unknown-linux-gnu` [INFO] [stdout] test test::test_option ... FAILED [INFO] [stdout] test test::test_docstrings ... FAILED [INFO] [stdout] test test::test ... FAILED [INFO] [stdout] test test::test_passes_serde_attributes ... FAILED [INFO] [stdout] test test::test_subconfig_struct ... FAILED [INFO] [stdout] test test::test_subconfig_field ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_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: 0x7f6eee00e86d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f6eee00e86d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f6eee00e86d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f6eee00e86d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f6eee06e4ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7f6eedffeb48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7f6eee012847 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f6eee012847 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f6eee012847 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f6eee01257c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f6eee0130e9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f6eee012dd7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f6eee00ed34 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f6eee012ae9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f6eedfdb863 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x556b8f81cc40 - goldenfile::differs::text_diff::hb3261cc809868368 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x556b8f80e345 - core::ops::function::Fn::call::hdab101110589bbba [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x556b8f81da97 - as core::ops::function::Fn>::call::hbf4a2889b4972491 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1867:9 [INFO] [stdout] 18: 0x556b8f81f842 - goldenfile::mint::Mint::check_goldenfiles::h50ba2de24565fc1d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x556b8f81fefd - ::drop::h76e13a3aa390637f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x556b8f80f127 - core::ptr::drop_in_place::h2b0fd006f448095b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x556b8f81087e - layeredconf_derive::test::test_option::h3bb714d938f3c7f3 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:50:1 [INFO] [stdout] 22: 0x556b8f81054a - layeredconf_derive::test::test_option::{{closure}}::hd2f11cff7fce964f [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:33:1 [INFO] [stdout] 23: 0x556b8f80e4fe - core::ops::function::FnOnce::call_once::h34afa4e5d6ebc329 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f6eee327a73 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f6eee327a73 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7f6eee326754 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 27: 0x7f6eee326754 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f6eee326754 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f6eee326754 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f6eee326754 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f6eee326754 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7f6eee326754 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7f6eee331dd1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7f6eee331dd1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f6eee2fadaf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f6eee2fadaf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f6eee2fadaf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f6eee2fadaf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f6eee2fadaf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 43: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 44: 0x7f6eee01ed03 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f6eedf1a609 - start_thread [INFO] [stdout] 46: 0x7f6eede3f163 - 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: 0x7f6eee00e86d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f6eee00e86d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f6eee00e86d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f6eee00e86d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f6eee06e4ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7f6eedffeb48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7f6eee012847 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f6eee012847 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f6eee012847 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f6eee01257c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f6eee0130e9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f6eee012dd7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f6eee00ed34 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f6eee012ae9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f6eedfdb863 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x556b8f81cc40 - goldenfile::differs::text_diff::hb3261cc809868368 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x556b8f80e345 - core::ops::function::Fn::call::hdab101110589bbba [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x556b8f81da97 - as core::ops::function::Fn>::call::hbf4a2889b4972491 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1867:9 [INFO] [stdout] 18: 0x556b8f81f842 - goldenfile::mint::Mint::check_goldenfiles::h50ba2de24565fc1d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x556b8f81fefd - ::drop::h76e13a3aa390637f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x556b8f80f127 - core::ptr::drop_in_place::h2b0fd006f448095b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x556b8f8115fe - layeredconf_derive::test::test_docstrings::h2b22f02cda93a152 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:137:1 [INFO] [stdout] 22: 0x556b8f8112ca - layeredconf_derive::test::test_docstrings::{{closure}}::h40fd2b0eddc96453 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:116:1 [INFO] [stdout] 23: 0x556b8f80e5ee - core::ops::function::FnOnce::call_once::hc8901698de0317f1 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f6eee327a73 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f6eee327a73 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7f6eee326754 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 27: 0x7f6eee326754 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f6eee326754 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f6eee326754 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f6eee326754 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f6eee326754 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7f6eee326754 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7f6eee331dd1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7f6eee331dd1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f6eee2fadaf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f6eee2fadaf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f6eee2fadaf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f6eee2fadaf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f6eee2fadaf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 43: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 44: 0x7f6eee01ed03 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f6eedf1a609 - start_thread [INFO] [stdout] 46: 0x7f6eede3f163 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test stdout ---- [INFO] [stdout] [INFO] [stdout] Goldenfile diff for "test.rs": [INFO] [stdout] To regenerate the goldenfile, run [INFO] [stdout] env REGENERATE_GOLDENFILES=1 cargo test [INFO] [stdout] ------------------------------------------------------------ [INFO] [stdout] #[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)] [INFO] [stdout] struct TestLayer { [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] boolean: Option, [INFO] [stdout] #[serde(default, skip_serializing_if = "Option::is_none")] [INFO] [stdout] integer: Option, [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolid for Test { [INFO] [stdout] type Layer = TestLayer; [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfLayer for TestLayer { [INFO] [stdout] type Config = Test; [INFO] [stdout] fn load_configs(&self) -> Vec { [INFO] [stdout] let mut load_configs = vec![]; [INFO] [stdout] load_configs [INFO] [stdout] } [INFO] [stdout] fn default_layer() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl TestLayer { [INFO] [stdout] fn empty(&self) -> bool { [INFO] [stdout] let mut empty = vec![]; [INFO] [stdout] empty.push(self.boolean.is_none()); [INFO] [stdout] empty.push(self.integer.is_none()); [INFO] [stdout] empty.iter().all(|v| *v) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl std::default::Default for TestLayer { [INFO] [stdout] fn default() -> Self { [INFO] [stdout] Self { [INFO] [stdout] boolean: None, [INFO] [stdout] integer: None, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfMerge for TestLayer { [INFO] [stdout] fn merge_from(&mut self, other: &TestLayer) { [INFO] [stdout] if self.boolean.is_none() { [INFO] [stdout] self.boolean = other.boolean.clone(); [INFO] [stdout] } [INFO] [stdout] if self.integer.is_none() { [INFO] [stdout] self.integer = other.integer.clone(); [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] impl layeredconf::LayeredConfSolidify for TestLayer { [INFO] [stdout] fn solidify(&self) -> layeredconf::Result { [INFO] [stdout] let mut missing = vec![]; [INFO] [stdout] let boolean; [INFO] [stdout] if let Some(val) = &self.boolean { [INFO] [stdout] boolean = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] boolean = None; [INFO] [stdout] missing.push("boolean".to_string()); [INFO] [stdout] } [INFO] [stdout] let integer; [INFO] [stdout] if let Some(val) = &self.integer { [INFO] [stdout] integer = Some(val.clone()); [INFO] [stdout] } else { [INFO] [stdout] integer = None; [INFO] [stdout] missing.push("integer".to_string()); [INFO] [stdout] } [INFO] [stdout] if !missing.is_empty() { [INFO] [stdout] return Err(layeredconf::Error::SolidifyFailedMissing { missing }); [INFO] [stdout] } [INFO] [stdout] Ok(Test { [INFO] [stdout] boolean: boolean.unwrap(), [INFO] [stdout] integer: integer.unwrap(), [INFO] [stdout] }) [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] thread 'test::test' panicked at 'assertion failed: edit distance between "#[derive(serde :: Deserialize, serde :: Serialize, clap :: Parser, Clone, Debug)]\nstruct TestLayer {\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n boolean: Option,\n #[serde(default, skip_serializing_if = \"Option::is_none\")]\n integer: Option,\n}\nimpl layeredconf::LayeredConfSolid for Test {\n type Layer = TestLayer;\n}\nimpl layeredconf::LayeredConfLayer for TestLayer {\n type Config = Test;\n fn load_configs(&self) -> Vec {\n let mut load_configs = vec![];\n load_configs\n }\n fn default_layer() -> Self {\n Self {\n boolean: None,\n integer: None,\n }\n }\n}\nimpl TestLayer {\n fn empty(&self) -> bool {\n let mut empty = vec![];\n empty.push(self.boolean.is_none());\n empty.push(self.integer.is_none());\n empty.iter().all(|v| *v)\n }\n}\nimpl std::default::Default for TestLayer {\n fn default() -> Self {\n Self {\n boolean: None,\n integer: None,\n }\n }\n}\nimpl layeredconf::LayeredConfMerge for TestLayer {\n fn merge_from(&mut self, other: &TestLayer) {\n if self.boolean.is_none() {\n self.boolean = other.boolean.clone();\n }\n if self.integer.is_none() {\n self.integer = other.integer.clone();\n }\n }\n}\nimpl layeredconf::LayeredConfSolidify for TestLayer {\n fn solidify(&self) -> layeredconf::Result {\n let mut missing = vec![];\n let boolean;\n if let Some(val) = &self.boolean {\n boolean = Some(val.clone());\n } else {\n boolean = None;\n missing.push(\"boolean\".to_string());\n }\n let integer;\n if let Some(val) = &self.integer {\n integer = Some(val.clone());\n } else {\n integer = None;\n missing.push(\"integer\".to_string());\n }\n if !missing.is_empty() {\n return Err(layeredconf::Error::SolidifyFailedMissing { missing });\n }\n Ok(Test {\n boolean: boolean.unwrap(),\n integer: integer.unwrap(),\n })\n }\n}\n" and "" is 75 and not 0, see diffset above', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6eee00e86d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f6eee00e86d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f6eee00e86d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f6eee00e86d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f6eee06e4ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7f6eedffeb48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7f6eee012847 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f6eee012847 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f6eee012847 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f6eee01257c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f6eee0130e9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f6eee012dd7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f6eee00ed34 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f6eee012ae9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f6eedfdb863 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x556b8f81cc40 - goldenfile::differs::text_diff::hb3261cc809868368 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x556b8f80e345 - core::ops::function::Fn::call::hdab101110589bbba [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x556b8f81da97 - as core::ops::function::Fn>::call::hbf4a2889b4972491 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1867:9 [INFO] [stdout] 18: 0x556b8f81f842 - goldenfile::mint::Mint::check_goldenfiles::h50ba2de24565fc1d [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x556b8f81fefd - ::drop::h76e13a3aa390637f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x556b8f80f127 - core::ptr::drop_in_place::h2b0fd006f448095b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x556b8f81051e - layeredconf_derive::test::test::h4248c9a21058ed70 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:30:1 [INFO] [stdout] 22: 0x556b8f8101ea - layeredconf_derive::test::test::{{closure}}::h62620b6bd7e01a73 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:14:1 [INFO] [stdout] 23: 0x556b8f80e4be - core::ops::function::FnOnce::call_once::h2c5d1e5a2dc3c7b9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f6eee327a73 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f6eee327a73 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7f6eee326754 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 27: 0x7f6eee326754 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f6eee326754 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f6eee326754 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f6eee326754 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f6eee326754 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7f6eee326754 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7f6eee331dd1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7f6eee331dd1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f6eee2fadaf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f6eee2fadaf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f6eee2fadaf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f6eee2fadaf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f6eee2fadaf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 43: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 44: 0x7f6eee01ed03 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f6eedf1a609 - start_thread [INFO] [stdout] 46: 0x7f6eede3f163 - 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: 0x7f6eee00e86d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f6eee00e86d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f6eee00e86d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f6eee00e86d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f6eee06e4ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7f6eedffeb48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7f6eee012847 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f6eee012847 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f6eee012847 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f6eee01257c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f6eee0130e9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f6eee012dd7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f6eee00ed34 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f6eee012ae9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f6eedfdb863 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x556b8f81cc40 - goldenfile::differs::text_diff::hb3261cc809868368 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x556b8f80e345 - core::ops::function::Fn::call::hdab101110589bbba [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x556b8f81da97 - as core::ops::function::Fn>::call::hbf4a2889b4972491 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1867:9 [INFO] [stdout] 18: 0x556b8f81f842 - goldenfile::mint::Mint::check_goldenfiles::h50ba2de24565fc1d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x556b8f81fefd - ::drop::h76e13a3aa390637f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x556b8f80f127 - core::ptr::drop_in_place::h2b0fd006f448095b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x556b8f810bde - layeredconf_derive::test::test_passes_serde_attributes::h98fba0191bb714e6 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:74:1 [INFO] [stdout] 22: 0x556b8f8108aa - layeredconf_derive::test::test_passes_serde_attributes::{{closure}}::h21b75fb9f818be3c [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:53:1 [INFO] [stdout] 23: 0x556b8f80e6be - core::ops::function::FnOnce::call_once::hf97d56c813ebacfc [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f6eee327a73 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f6eee327a73 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7f6eee326754 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 27: 0x7f6eee326754 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f6eee326754 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f6eee326754 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f6eee326754 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f6eee326754 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7f6eee326754 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7f6eee331dd1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7f6eee331dd1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f6eee2fadaf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f6eee2fadaf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f6eee2fadaf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f6eee2fadaf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f6eee2fadaf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 43: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 44: 0x7f6eee01ed03 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f6eedf1a609 - start_thread [INFO] [stdout] 46: 0x7f6eede3f163 - 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: 0x7f6eee00e86d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f6eee00e86d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f6eee00e86d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f6eee00e86d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f6eee06e4ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7f6eedffeb48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7f6eee012847 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f6eee012847 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f6eee012847 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f6eee01257c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f6eee0130e9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f6eee012dd7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f6eee00ed34 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f6eee012ae9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f6eedfdb863 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x556b8f81cc40 - goldenfile::differs::text_diff::hb3261cc809868368 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x556b8f80e345 - core::ops::function::Fn::call::hdab101110589bbba [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x556b8f81da97 - as core::ops::function::Fn>::call::hbf4a2889b4972491 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1867:9 [INFO] [stdout] 18: 0x556b8f81f842 - goldenfile::mint::Mint::check_goldenfiles::h50ba2de24565fc1d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x556b8f81fefd - ::drop::h76e13a3aa390637f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x556b8f80f127 - core::ptr::drop_in_place::h2b0fd006f448095b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x556b8f81129e - layeredconf_derive::test::test_subconfig_struct::h90432982b61b9c75 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:113:1 [INFO] [stdout] 22: 0x556b8f810f6a - layeredconf_derive::test::test_subconfig_struct::{{closure}}::h4f2875ded79beee7 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:97:1 [INFO] [stdout] 23: 0x556b8f80e62e - core::ops::function::FnOnce::call_once::hd0995b3d94d19ce1 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f6eee327a73 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f6eee327a73 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7f6eee326754 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 27: 0x7f6eee326754 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f6eee326754 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f6eee326754 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f6eee326754 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f6eee326754 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7f6eee326754 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7f6eee331dd1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7f6eee331dd1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f6eee2fadaf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f6eee2fadaf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f6eee2fadaf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f6eee2fadaf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f6eee2fadaf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 43: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 44: 0x7f6eee01ed03 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f6eedf1a609 - start_thread [INFO] [stdout] 46: 0x7f6eede3f163 - 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: 0x7f6eee00e86d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x7f6eee00e86d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f6eee00e86d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f6eee00e86d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f6eee06e4ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x7f6eedffeb48 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x7f6eee012847 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f6eee012847 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f6eee012847 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f6eee01257c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f6eee0130e9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f6eee012dd7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x7f6eee00ed34 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f6eee012ae9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f6eedfdb863 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x556b8f81cc40 - goldenfile::differs::text_diff::hb3261cc809868368 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/differs.rs:15:5 [INFO] [stdout] 16: 0x556b8f80e345 - core::ops::function::Fn::call::hdab101110589bbba [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:70:5 [INFO] [stdout] 17: 0x556b8f81da97 - as core::ops::function::Fn>::call::hbf4a2889b4972491 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1867:9 [INFO] [stdout] 18: 0x556b8f81f842 - goldenfile::mint::Mint::check_goldenfiles::h50ba2de24565fc1d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:90:13 [INFO] [stdout] 19: 0x556b8f81fefd - ::drop::h76e13a3aa390637f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/goldenfile-1.1.0/src/mint.rs:135:13 [INFO] [stdout] 20: 0x556b8f80f127 - core::ptr::drop_in_place::h2b0fd006f448095b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 21: 0x556b8f810f3e - layeredconf_derive::test::test_subconfig_field::h58c4eb83e8cfb1d0 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:94:1 [INFO] [stdout] 22: 0x556b8f810c0a - layeredconf_derive::test::test_subconfig_field::{{closure}}::he97566d900ffa990 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:77:1 [INFO] [stdout] 23: 0x556b8f80e56e - core::ops::function::FnOnce::call_once::h98c595e96a46e02d [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x7f6eee327a73 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x7f6eee327a73 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 26: 0x7f6eee326754 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 27: 0x7f6eee326754 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x7f6eee326754 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x7f6eee326754 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x7f6eee326754 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x7f6eee326754 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 32: 0x7f6eee326754 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 33: 0x7f6eee331dd1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 34: 0x7f6eee331dd1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x7f6eee2fadaf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x7f6eee2fadaf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x7f6eee2fadaf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x7f6eee2fadaf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x7f6eee2fadaf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x7f6eee2fadaf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 43: 0x7f6eee01ed03 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 44: 0x7f6eee01ed03 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f6eedf1a609 - start_thread [INFO] [stdout] 46: 0x7f6eede3f163 - 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 1.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7d7b8dc999065b7ccab30a027a2f8f07105609d805aac38b5a5db57896188aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7b8dc999065b7ccab30a027a2f8f07105609d805aac38b5a5db57896188aa1", kill_on_drop: false }` [INFO] [stdout] 7d7b8dc999065b7ccab30a027a2f8f07105609d805aac38b5a5db57896188aa1