[INFO] fetching crate bubbly-bub-test 0.3.1... [INFO] testing bubbly-bub-test-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bubbly-bub-test 0.3.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate bubbly-bub-test 0.3.1 [INFO] finished tweaking crates.io crate bubbly-bub-test 0.3.1 [INFO] tweaked toml for crates.io crate bubbly-bub-test 0.3.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bubbly-bub-test 0.3.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding prettyplease v0.1.25 (available: v0.2.35) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dfc9267e90f0c38897a9810c302990ea3c86d9c4fdf4ab08bb77a58a24a7173 [INFO] running `Command { std: "docker" "start" "-a" "9dfc9267e90f0c38897a9810c302990ea3c86d9c4fdf4ab08bb77a58a24a7173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dfc9267e90f0c38897a9810c302990ea3c86d9c4fdf4ab08bb77a58a24a7173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dfc9267e90f0c38897a9810c302990ea3c86d9c4fdf4ab08bb77a58a24a7173", kill_on_drop: false }` [INFO] [stdout] 9dfc9267e90f0c38897a9810c302990ea3c86d9c4fdf4ab08bb77a58a24a7173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1d47350d55c0e566b4caafe6d7fc327b50c30ba8846da24bb15d14bfcfc94627 [INFO] running `Command { std: "docker" "start" "-a" "1d47350d55c0e566b4caafe6d7fc327b50c30ba8846da24bb15d14bfcfc94627", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bubbly-bub-test v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.14s [INFO] running `Command { std: "docker" "inspect" "1d47350d55c0e566b4caafe6d7fc327b50c30ba8846da24bb15d14bfcfc94627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d47350d55c0e566b4caafe6d7fc327b50c30ba8846da24bb15d14bfcfc94627", kill_on_drop: false }` [INFO] [stdout] 1d47350d55c0e566b4caafe6d7fc327b50c30ba8846da24bb15d14bfcfc94627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 406a607659f8183d179cf8ffad16d8a17b5d6cced435552adfd459c602bef77d [INFO] running `Command { std: "docker" "start" "-a" "406a607659f8183d179cf8ffad16d8a17b5d6cced435552adfd459c602bef77d", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling bubbly-bub-test v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "406a607659f8183d179cf8ffad16d8a17b5d6cced435552adfd459c602bef77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406a607659f8183d179cf8ffad16d8a17b5d6cced435552adfd459c602bef77d", kill_on_drop: false }` [INFO] [stdout] 406a607659f8183d179cf8ffad16d8a17b5d6cced435552adfd459c602bef77d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c07aa7eaed59d1afc0f55cdf6e07f9942c905bbdbf36b2fd61a678a642c8b9d5 [INFO] running `Command { std: "docker" "start" "-a" "c07aa7eaed59d1afc0f55cdf6e07f9942c905bbdbf36b2fd61a678a642c8b9d5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bubbly_bub_test-d2bc05eb0fb445c2) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::test_simple_struct::test_vec_multiple_opt_err - should panic ... ok [INFO] [stdout] test tests::test_simple_struct::test_vec_multiple_opt_to_cli_args ... FAILED [INFO] [stdout] test tests::test_simple_enum::test_simple_enum ... FAILED [INFO] [stdout] test tests::test_simple_struct::test_doc_comments_propagate ... FAILED [INFO] [stdout] test tests::test_simple_enum::test_simple_enum_with_strum_discriminants ... FAILED [INFO] [stdout] test tests::test_simple_struct::test_flag ... FAILED [INFO] [stdout] test tests::test_simple_struct::test_simple_struct ... FAILED [INFO] [stdout] test tests::test_simple_struct::test_vec_multiple_opt ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_simple_struct::test_vec_multiple_opt_to_cli_args stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__vec_multiple_opt_to_cli_args.snap [INFO] [stdout] Snapshot: vec_multiple_opt_to_cli_args [INFO] [stdout] Source: src/tests/test_simple_struct.rs:68 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: pretty_codegen(&to_cli_args_codegen) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+impl interactive_clap::ToCliArgs for CliArgs { [INFO] [stdout] 1 │+ fn to_cli_args(&self) -> std::collections::VecDeque { [INFO] [stdout] 2 │+ let mut args = std::collections::VecDeque::new(); [INFO] [stdout] 3 │+ for arg in self.env.iter().rev() { [INFO] [stdout] 4 │+ args.push_front(arg.to_string()); [INFO] [stdout] 5 │+ args.push_front(std::concat!("--", "env").to_string()); [INFO] [stdout] 6 │+ } [INFO] [stdout] 7 │+ args [INFO] [stdout] 8 │+ } [INFO] [stdout] 9 │+} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'tests::test_simple_struct::test_vec_multiple_opt_to_cli_args' panicked at src/tests/test_simple_struct.rs:68:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__vec_multiple_opt_to_cli_args.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79ecee0c6432 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79ecee0c6432 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79ecee0c6432 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79ecee0c6432 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79ecee116f83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79ecee116f83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79ecee0ba1a3 - std::io::default_write_fmt::h6fafc5c7e9d14a26 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79ecee0ba1a3 - std::io::Write::write_fmt::h290d0920dffb2dfa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79ecee0c6282 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79ecee0c9f5c - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79ecee0c9db2 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x579a77810604 - as core::ops::function::Fn>::call::hb28c30a05cbb4e31 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x579a77810604 - test::test_main_with_exit_callback::{{closure}}::hade7ce5d9d9f2ec0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79ecee0caab3 - as core::ops::function::Fn>::call::h14e5ecef0584a08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79ecee0caab3 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79ecee0ca77a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x79ecee0c6929 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79ecee0ca40d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x79ecee1124b0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x79ecee112a66 - core::result::unwrap_failed::h3ae796d25b69894b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x579a7767180f - core::result::Result::unwrap::hcfc31ede3384e10a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x579a7767180f - bubbly_bub_test::tests::test_simple_struct::test_vec_multiple_opt_to_cli_args::h31fd3a6f6ded53e9 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:68:5 [INFO] [stdout] 22: 0x579a77670ff7 - bubbly_bub_test::tests::test_simple_struct::test_vec_multiple_opt_to_cli_args::{{closure}}::hdb161135c6c7127d [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:59:39 [INFO] [stdout] 23: 0x579a77669296 - core::ops::function::FnOnce::call_once::h4bbdd55fccd18617 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x579a77815cfb - core::ops::function::FnOnce::call_once::h892b3cd1ed940bc1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x579a77815cfb - test::__rust_begin_short_backtrace::h7f72273c41550b48 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x579a77814f6e - test::run_test_in_process::{{closure}}::h42f0391f89834c5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x579a77814f6e - as core::ops::function::FnOnce<()>>::call_once::h1b4865c43aaf8852 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x579a77814f6e - std::panicking::catch_unwind::do_call::h34aa7e2a6b9e7f6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x579a77814f6e - std::panicking::catch_unwind::h994360178e3ed1c1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x579a77814f6e - std::panic::catch_unwind::h6982b95d01daf48c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x579a77814f6e - test::run_test_in_process::h740768e67b7da745 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x579a77814f6e - test::run_test::{{closure}}::h00f00628574240a9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x579a777d8bb4 - test::run_test::{{closure}}::h5626e17dcad266e2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x579a777d8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hd75b822058746c5a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h272cdb2aa3fefbcf [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x579a777dc4aa - as core::ops::function::FnOnce<()>>::call_once::h5c094eb97251fe22 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x579a777dc4aa - std::panicking::catch_unwind::do_call::h0191b825eba0ee96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x579a777dc4aa - std::panicking::catch_unwind::hcbb1bc6fb1213f87 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x579a777dc4aa - std::panic::catch_unwind::h6920d0849417775b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h7f7dbea3633a5c8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x579a777dc4aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h01722336b77302e3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h23ffb04297f2b6ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h7eed0c3d02cfccd3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x79ecee0cf247 - std::sys::pal::unix::thread::Thread::new::thread_start::ha73048ec7e971876 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x79ecede39aa4 - [INFO] [stdout] 46: 0x79ecedec6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_simple_enum::test_simple_enum stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/tests/snapshots/bubbly_bub_test__tests__test_simple_enum__simple_enum.snap [INFO] [stdout] Snapshot: simple_enum [INFO] [stdout] Source: src/tests/test_simple_enum.rs:15 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: pretty_codegen(&interactive_clap_codegen) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+#[derive(Debug, Clone, clap::Parser, interactive_clap::ToCliArgs)] [INFO] [stdout] 1 │+pub enum CliMode { [INFO] [stdout] 2 │+ /// Prepare and, optionally, submit a new transaction with online mode [INFO] [stdout] 3 │+ Network, [INFO] [stdout] 4 │+ /// Prepare and, optionally, submit a new transaction with offline mode [INFO] [stdout] 5 │+ Offline, [INFO] [stdout] 6 │+} [INFO] [stdout] 7 │+impl interactive_clap::ToCli for Mode { [INFO] [stdout] 8 │+ type CliVariant = CliMode; [INFO] [stdout] 9 │+} [INFO] [stdout] 10 │+pub type InteractiveClapContextScopeForMode = ModeDiscriminants; [INFO] [stdout] 11 │+impl interactive_clap::ToInteractiveClapContextScope for Mode { [INFO] [stdout] 12 │+ type InteractiveClapContextScope = InteractiveClapContextScopeForMode; [INFO] [stdout] 13 │+} [INFO] [stdout] 14 │+impl From for CliMode { [INFO] [stdout] 15 │+ fn from(command: Mode) -> Self { [INFO] [stdout] 16 │+ match command { [INFO] [stdout] 17 │+ Mode::Network => Self::Network, [INFO] [stdout] 18 │+ Mode::Offline => Self::Offline, [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 │+} [INFO] [stdout] 22 │+impl interactive_clap::FromCli for Mode { [INFO] [stdout] 23 │+ type FromCliContext = (); [INFO] [stdout] 24 │+ type FromCliError = color_eyre::eyre::Error; [INFO] [stdout] 25 │+ fn from_cli( [INFO] [stdout] 26 │+ mut optional_clap_variant: Option<::CliVariant>, [INFO] [stdout] 27 │+ context: Self::FromCliContext, [INFO] [stdout] 28 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 29 │+ ::CliVariant, [INFO] [stdout] 30 │+ Self::FromCliError, [INFO] [stdout] 31 │+ > [INFO] [stdout] 32 │+ where [INFO] [stdout] 33 │+ Self: Sized + interactive_clap::ToCli, [INFO] [stdout] 34 │+ { [INFO] [stdout] 35 │+ loop { [INFO] [stdout] 36 │+ return match optional_clap_variant { [INFO] [stdout] 37 │+ Some(CliMode::Network) => { [INFO] [stdout] 38 │+ interactive_clap::ResultFromCli::Ok(CliMode::Network) [INFO] [stdout] 39 │+ } [INFO] [stdout] 40 │+ Some(CliMode::Offline) => { [INFO] [stdout] 41 │+ interactive_clap::ResultFromCli::Ok(CliMode::Offline) [INFO] [stdout] 42 │+ } [INFO] [stdout] 43 │+ None => { [INFO] [stdout] 44 │+ match Self::choose_variant(context.clone()) { [INFO] [stdout] 45 │+ interactive_clap::ResultFromCli::Ok(cli_args) => { [INFO] [stdout] 46 │+ optional_clap_variant = Some(cli_args); [INFO] [stdout] 47 │+ continue; [INFO] [stdout] 48 │+ } [INFO] [stdout] 49 │+ result => return result, [INFO] [stdout] 50 │+ } [INFO] [stdout] 51 │+ } [INFO] [stdout] 52 │+ }; [INFO] [stdout] 53 │+ } [INFO] [stdout] 54 │+ } [INFO] [stdout] 55 │+} [INFO] [stdout] 56 │+impl Mode { [INFO] [stdout] 57 │+ pub fn choose_variant( [INFO] [stdout] 58 │+ context: (), [INFO] [stdout] 59 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 60 │+ ::CliVariant, [INFO] [stdout] 61 │+ ::FromCliError, [INFO] [stdout] 62 │+ > {} [INFO] [stdout] 63 │+ pub fn try_parse() -> Result { [INFO] [stdout] 64 │+ ::try_parse() [INFO] [stdout] 65 │+ } [INFO] [stdout] 66 │+ pub fn parse() -> CliMode { [INFO] [stdout] 67 │+ ::parse() [INFO] [stdout] 68 │+ } [INFO] [stdout] 69 │+ pub fn try_parse_from(itr: I) -> Result [INFO] [stdout] 70 │+ where [INFO] [stdout] 71 │+ I: ::std::iter::IntoIterator, [INFO] [stdout] 72 │+ T: ::std::convert::Into<::std::ffi::OsString> + ::std::clone::Clone, [INFO] [stdout] 73 │+ { [INFO] [stdout] 74 │+ ::try_parse_from(itr) [INFO] [stdout] 75 │+ } [INFO] [stdout] 76 │+} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'tests::test_simple_enum::test_simple_enum' panicked at src/tests/test_simple_enum.rs:15:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/tests/snapshots/bubbly_bub_test__tests__test_simple_enum__simple_enum.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79ecee0c6432 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79ecee0c6432 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79ecee0c6432 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79ecee0c6432 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79ecee116f83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79ecee116f83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79ecee0ba1a3 - std::io::default_write_fmt::h6fafc5c7e9d14a26 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79ecee0ba1a3 - std::io::Write::write_fmt::h290d0920dffb2dfa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79ecee0c6282 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79ecee0c9f5c - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79ecee0c9db2 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x579a77810604 - as core::ops::function::Fn>::call::hb28c30a05cbb4e31 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x579a77810604 - test::test_main_with_exit_callback::{{closure}}::hade7ce5d9d9f2ec0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79ecee0caab3 - as core::ops::function::Fn>::call::h14e5ecef0584a08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79ecee0caab3 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79ecee0ca77a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x79ecee0c6929 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79ecee0ca40d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x79ecee1124b0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x79ecee112a66 - core::result::unwrap_failed::h3ae796d25b69894b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x579a7764f12d - core::result::Result::unwrap::hcfc31ede3384e10a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x579a7764f12d - bubbly_bub_test::tests::test_simple_enum::test_simple_enum::h3cb62e243dbab992 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_enum.rs:15:5 [INFO] [stdout] 22: 0x579a7764e8c7 - bubbly_bub_test::tests::test_simple_enum::test_simple_enum::{{closure}}::h984ef6cc951b0778 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_enum.rs:4:22 [INFO] [stdout] 23: 0x579a776692d6 - core::ops::function::FnOnce::call_once::h4e9b3d94480a91d3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x579a77815cfb - core::ops::function::FnOnce::call_once::h892b3cd1ed940bc1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x579a77815cfb - test::__rust_begin_short_backtrace::h7f72273c41550b48 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x579a77814f6e - test::run_test_in_process::{{closure}}::h42f0391f89834c5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x579a77814f6e - as core::ops::function::FnOnce<()>>::call_once::h1b4865c43aaf8852 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x579a77814f6e - std::panicking::catch_unwind::do_call::h34aa7e2a6b9e7f6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x579a77814f6e - std::panicking::catch_unwind::h994360178e3ed1c1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x579a77814f6e - std::panic::catch_unwind::h6982b95d01daf48c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x579a77814f6e - test::run_test_in_process::h740768e67b7da745 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x579a77814f6e - test::run_test::{{closure}}::h00f00628574240a9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x579a777d8bb4 - test::run_test::{{closure}}::h5626e17dcad266e2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x579a777d8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hd75b822058746c5a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h272cdb2aa3fefbcf [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x579a777dc4aa - as core::ops::function::FnOnce<()>>::call_once::h5c094eb97251fe22 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x579a777dc4aa - std::panicking::catch_unwind::do_call::h0191b825eba0ee96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x579a777dc4aa - std::panicking::catch_unwind::hcbb1bc6fb1213f87 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x579a777dc4aa - std::panic::catch_unwind::h6920d0849417775b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h7f7dbea3633a5c8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x579a777dc4aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h01722336b77302e3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h23ffb04297f2b6ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h7eed0c3d02cfccd3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x79ecee0cf247 - std::sys::pal::unix::thread::Thread::new::thread_start::ha73048ec7e971876 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x79ecede39aa4 - [INFO] [stdout] 46: 0x79ecedec6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_simple_struct::test_doc_comments_propagate stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__doc_comments_propagate.snap [INFO] [stdout] Snapshot: doc_comments_propagate [INFO] [stdout] Source: src/tests/test_simple_struct.rs:112 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: pretty_codegen(&interactive_clap_codegen) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+#[derive(Debug, Default, Clone, clap::Parser, interactive_clap::ToCliArgs)] [INFO] [stdout] 1 │+#[clap(author, version, about, long_about = None)] [INFO] [stdout] 2 │+pub struct CliArgs { [INFO] [stdout] 3 │+ /// short first field description [INFO] [stdout] 4 │+ /// [INFO] [stdout] 5 │+ /// a longer paragraph, describing the usage and stuff with first field's [INFO] [stdout] 6 │+ /// awarenes of its possible applications [INFO] [stdout] 7 │+ pub first_field: Option<::CliVariant>, [INFO] [stdout] 8 │+ /// short second field description [INFO] [stdout] 9 │+ /// [INFO] [stdout] 10 │+ /// a longer paragraph, describing the usage and stuff with second field's [INFO] [stdout] 11 │+ /// awareness of its possible applications [INFO] [stdout] 12 │+ #[clap(verbatim_doc_comment)] [INFO] [stdout] 13 │+ pub second_field: Option<::CliVariant>, [INFO] [stdout] 14 │+} [INFO] [stdout] 15 │+impl interactive_clap::ToCli for Args { [INFO] [stdout] 16 │+ type CliVariant = CliArgs; [INFO] [stdout] 17 │+} [INFO] [stdout] 18 │+pub struct InteractiveClapContextScopeForArgs { [INFO] [stdout] 19 │+ pub first_field: u64, [INFO] [stdout] 20 │+ pub second_field: String, [INFO] [stdout] 21 │+} [INFO] [stdout] 22 │+impl interactive_clap::ToInteractiveClapContextScope for Args { [INFO] [stdout] 23 │+ type InteractiveClapContextScope = InteractiveClapContextScopeForArgs; [INFO] [stdout] 24 │+} [INFO] [stdout] 25 │+impl interactive_clap::FromCli for Args { [INFO] [stdout] 26 │+ type FromCliContext = (); [INFO] [stdout] 27 │+ type FromCliError = color_eyre::eyre::Error; [INFO] [stdout] 28 │+ fn from_cli( [INFO] [stdout] 29 │+ optional_clap_variant: Option<::CliVariant>, [INFO] [stdout] 30 │+ context: Self::FromCliContext, [INFO] [stdout] 31 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 32 │+ ::CliVariant, [INFO] [stdout] 33 │+ Self::FromCliError, [INFO] [stdout] 34 │+ > [INFO] [stdout] 35 │+ where [INFO] [stdout] 36 │+ Self: Sized + interactive_clap::ToCli, [INFO] [stdout] 37 │+ { [INFO] [stdout] 38 │+ let mut clap_variant = optional_clap_variant.clone().unwrap_or_default(); [INFO] [stdout] 39 │+ if clap_variant.first_field.is_none() { [INFO] [stdout] 40 │+ clap_variant [INFO] [stdout] 41 │+ .first_field = match Self::input_first_field(&context) { [INFO] [stdout] 42 │+ Ok(Some(first_field)) => Some(first_field), [INFO] [stdout] 43 │+ Ok(None) => { [INFO] [stdout] 44 │+ return interactive_clap::ResultFromCli::Cancel(Some(clap_variant)); [INFO] [stdout] 45 │+ } [INFO] [stdout] 46 │+ Err(err) => { [INFO] [stdout] 47 │+ return interactive_clap::ResultFromCli::Err(Some(clap_variant), err); [INFO] [stdout] 48 │+ } [INFO] [stdout] 49 │+ }; [INFO] [stdout] 50 │+ } [INFO] [stdout] 51 │+ let first_field = clap_variant.first_field.clone().expect("Unexpected error"); [INFO] [stdout] 52 │+ if clap_variant.second_field.is_none() { [INFO] [stdout] 53 │+ clap_variant [INFO] [stdout] 54 │+ .second_field = match Self::input_second_field(&context) { [INFO] [stdout] 55 │+ Ok(Some(second_field)) => Some(second_field), [INFO] [stdout] 56 │+ Ok(None) => { [INFO] [stdout] 57 │+ return interactive_clap::ResultFromCli::Cancel(Some(clap_variant)); [INFO] [stdout] 58 │+ } [INFO] [stdout] 59 │+ Err(err) => { [INFO] [stdout] 60 │+ return interactive_clap::ResultFromCli::Err(Some(clap_variant), err); [INFO] [stdout] 61 │+ } [INFO] [stdout] 62 │+ }; [INFO] [stdout] 63 │+ } [INFO] [stdout] 64 │+ let second_field = clap_variant.second_field.clone().expect("Unexpected error"); [INFO] [stdout] 65 │+ let new_context_scope = InteractiveClapContextScopeForArgs { [INFO] [stdout] 66 │+ first_field: first_field.into(), [INFO] [stdout] 67 │+ second_field: second_field.into(), [INFO] [stdout] 68 │+ }; [INFO] [stdout] 69 │+ interactive_clap::ResultFromCli::Ok(clap_variant) [INFO] [stdout] 70 │+ } [INFO] [stdout] 71 │+} [INFO] [stdout] 72 │+impl Args { [INFO] [stdout] 73 │+ fn input_first_field(_context: &()) -> color_eyre::eyre::Result> { [INFO] [stdout] 74 │+ match inquire::CustomType::new( [INFO] [stdout] 75 │+ concat!( [INFO] [stdout] 76 │+ r" short first field description", r"", [INFO] [stdout] 77 │+ r" a longer paragraph, describing the usage and stuff with first field's", [INFO] [stdout] 78 │+ r" awarenes of its possible applications", [INFO] [stdout] 79 │+ ) [INFO] [stdout] 80 │+ .trim(), [INFO] [stdout] 81 │+ ) [INFO] [stdout] 82 │+ .prompt() [INFO] [stdout] 83 │+ { [INFO] [stdout] 84 │+ Ok(value) => Ok(Some(value)), [INFO] [stdout] 85 │+ Err( [INFO] [stdout] 86 │+ inquire::error::InquireError::OperationCanceled [INFO] [stdout] 87 │+ | inquire::error::InquireError::OperationInterrupted, [INFO] [stdout] 88 │+ ) => Ok(None), [INFO] [stdout] 89 │+ Err(err) => Err(err.into()), [INFO] [stdout] 90 │+ } [INFO] [stdout] 91 │+ } [INFO] [stdout] 92 │+ fn input_second_field(_context: &()) -> color_eyre::eyre::Result> { [INFO] [stdout] 93 │+ match inquire::CustomType::new( [INFO] [stdout] 94 │+ concat!( [INFO] [stdout] 95 │+ r" short second field description", r"", [INFO] [stdout] 96 │+ r" a longer paragraph, describing the usage and stuff with second field's", [INFO] [stdout] 97 │+ r" awareness of its possible applications", [INFO] [stdout] 98 │+ ) [INFO] [stdout] 99 │+ .trim(), [INFO] [stdout] 100 │+ ) [INFO] [stdout] 101 │+ .prompt() [INFO] [stdout] 102 │+ { [INFO] [stdout] 103 │+ Ok(value) => Ok(Some(value)), [INFO] [stdout] 104 │+ Err( [INFO] [stdout] 105 │+ inquire::error::InquireError::OperationCanceled [INFO] [stdout] 106 │+ | inquire::error::InquireError::OperationInterrupted, [INFO] [stdout] 107 │+ ) => Ok(None), [INFO] [stdout] 108 │+ Err(err) => Err(err.into()), [INFO] [stdout] 109 │+ } [INFO] [stdout] 110 │+ } [INFO] [stdout] 111 │+ pub fn try_parse() -> Result { [INFO] [stdout] 112 │+ ::try_parse() [INFO] [stdout] 113 │+ } [INFO] [stdout] 114 │+ pub fn parse() -> CliArgs { [INFO] [stdout] 115 │+ ::parse() [INFO] [stdout] 116 │+ } [INFO] [stdout] 117 │+ pub fn try_parse_from(itr: I) -> Result [INFO] [stdout] 118 │+ where [INFO] [stdout] 119 │+ I: ::std::iter::IntoIterator, [INFO] [stdout] 120 │+ T: ::std::convert::Into<::std::ffi::OsString> + ::std::clone::Clone, [INFO] [stdout] 121 │+ { [INFO] [stdout] 122 │+ ::try_parse_from(itr) [INFO] [stdout] 123 │+ } [INFO] [stdout] 124 │+} [INFO] [stdout] 125 │+impl From for CliArgs { [INFO] [stdout] 126 │+ fn from(args: Args) -> Self { [INFO] [stdout] 127 │+ Self { [INFO] [stdout] 128 │+ first_field: Some(args.first_field.into()), [INFO] [stdout] 129 │+ second_field: Some(args.second_field.into()), [INFO] [stdout] 130 │+ } [INFO] [stdout] 131 │+ } [INFO] [stdout] 132 │+} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'tests::test_simple_struct::test_doc_comments_propagate' panicked at src/tests/test_simple_struct.rs:112:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__doc_comments_propagate.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79ecee0c6432 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79ecee0c6432 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79ecee0c6432 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79ecee0c6432 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79ecee116f83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79ecee116f83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79ecee0ba1a3 - std::io::default_write_fmt::h6fafc5c7e9d14a26 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79ecee0ba1a3 - std::io::Write::write_fmt::h290d0920dffb2dfa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79ecee0c6282 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79ecee0c9f5c - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79ecee0c9db2 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x579a77810604 - as core::ops::function::Fn>::call::hb28c30a05cbb4e31 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x579a77810604 - test::test_main_with_exit_callback::{{closure}}::hade7ce5d9d9f2ec0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79ecee0caab3 - as core::ops::function::Fn>::call::h14e5ecef0584a08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79ecee0caab3 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79ecee0ca77a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x79ecee0c6929 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79ecee0ca40d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x79ecee1124b0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x79ecee112a66 - core::result::unwrap_failed::h3ae796d25b69894b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x579a77673330 - core::result::Result::unwrap::hcfc31ede3384e10a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x579a77673330 - bubbly_bub_test::tests::test_simple_struct::test_doc_comments_propagate::h06cab87a02b29ba0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:112:5 [INFO] [stdout] 22: 0x579a776723c7 - bubbly_bub_test::tests::test_simple_struct::test_doc_comments_propagate::{{closure}}::h866d70989f064a93 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:94:33 [INFO] [stdout] 23: 0x579a776693c6 - core::ops::function::FnOnce::call_once::ha86fb34ca7d97863 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x579a77815cfb - core::ops::function::FnOnce::call_once::h892b3cd1ed940bc1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x579a77815cfb - test::__rust_begin_short_backtrace::h7f72273c41550b48 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x579a77814f6e - test::run_test_in_process::{{closure}}::h42f0391f89834c5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x579a77814f6e - as core::ops::function::FnOnce<()>>::call_once::h1b4865c43aaf8852 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x579a77814f6e - std::panicking::catch_unwind::do_call::h34aa7e2a6b9e7f6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x579a77814f6e - std::panicking::catch_unwind::h994360178e3ed1c1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x579a77814f6e - std::panic::catch_unwind::h6982b95d01daf48c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x579a77814f6e - test::run_test_in_process::h740768e67b7da745 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x579a77814f6e - test::run_test::{{closure}}::h00f00628574240a9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x579a777d8bb4 - test::run_test::{{closure}}::h5626e17dcad266e2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x579a777d8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hd75b822058746c5a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h272cdb2aa3fefbcf [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x579a777dc4aa - as core::ops::function::FnOnce<()>>::call_once::h5c094eb97251fe22 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x579a777dc4aa - std::panicking::catch_unwind::do_call::h0191b825eba0ee96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x579a777dc4aa - std::panicking::catch_unwind::hcbb1bc6fb1213f87 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x579a777dc4aa - std::panic::catch_unwind::h6920d0849417775b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h7f7dbea3633a5c8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x579a777dc4aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h01722336b77302e3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h23ffb04297f2b6ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h7eed0c3d02cfccd3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x79ecee0cf247 - std::sys::pal::unix::thread::Thread::new::thread_start::ha73048ec7e971876 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x79ecede39aa4 - [INFO] [stdout] 46: 0x79ecedec6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_simple_enum::test_simple_enum_with_strum_discriminants stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/tests/snapshots/bubbly_bub_test__tests__test_simple_enum__simple_enum_with_strum_discriminants.snap [INFO] [stdout] Snapshot: simple_enum_with_strum_discriminants [INFO] [stdout] Source: src/tests/test_simple_enum.rs:39 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: pretty_codegen(&interactive_clap_codegen) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+#[derive(Debug, Clone, clap::Parser, interactive_clap::ToCliArgs)] [INFO] [stdout] 1 │+pub enum CliMode { [INFO] [stdout] 2 │+ /// Prepare and, optionally, submit a new transaction with online mode [INFO] [stdout] 3 │+ Network, [INFO] [stdout] 4 │+ /// Prepare and, optionally, submit a new transaction with offline mode [INFO] [stdout] 5 │+ Offline, [INFO] [stdout] 6 │+} [INFO] [stdout] 7 │+impl interactive_clap::ToCli for Mode { [INFO] [stdout] 8 │+ type CliVariant = CliMode; [INFO] [stdout] 9 │+} [INFO] [stdout] 10 │+pub type InteractiveClapContextScopeForMode = ModeDiscriminants; [INFO] [stdout] 11 │+impl interactive_clap::ToInteractiveClapContextScope for Mode { [INFO] [stdout] 12 │+ type InteractiveClapContextScope = InteractiveClapContextScopeForMode; [INFO] [stdout] 13 │+} [INFO] [stdout] 14 │+impl From for CliMode { [INFO] [stdout] 15 │+ fn from(command: Mode) -> Self { [INFO] [stdout] 16 │+ match command { [INFO] [stdout] 17 │+ Mode::Network => Self::Network, [INFO] [stdout] 18 │+ Mode::Offline => Self::Offline, [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 │+} [INFO] [stdout] 22 │+impl interactive_clap::FromCli for Mode { [INFO] [stdout] 23 │+ type FromCliContext = (); [INFO] [stdout] 24 │+ type FromCliError = color_eyre::eyre::Error; [INFO] [stdout] 25 │+ fn from_cli( [INFO] [stdout] 26 │+ mut optional_clap_variant: Option<::CliVariant>, [INFO] [stdout] 27 │+ context: Self::FromCliContext, [INFO] [stdout] 28 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 29 │+ ::CliVariant, [INFO] [stdout] 30 │+ Self::FromCliError, [INFO] [stdout] 31 │+ > [INFO] [stdout] 32 │+ where [INFO] [stdout] 33 │+ Self: Sized + interactive_clap::ToCli, [INFO] [stdout] 34 │+ { [INFO] [stdout] 35 │+ loop { [INFO] [stdout] 36 │+ return match optional_clap_variant { [INFO] [stdout] 37 │+ Some(CliMode::Network) => { [INFO] [stdout] 38 │+ interactive_clap::ResultFromCli::Ok(CliMode::Network) [INFO] [stdout] 39 │+ } [INFO] [stdout] 40 │+ Some(CliMode::Offline) => { [INFO] [stdout] 41 │+ interactive_clap::ResultFromCli::Ok(CliMode::Offline) [INFO] [stdout] 42 │+ } [INFO] [stdout] 43 │+ None => { [INFO] [stdout] 44 │+ match Self::choose_variant(context.clone()) { [INFO] [stdout] 45 │+ interactive_clap::ResultFromCli::Ok(cli_args) => { [INFO] [stdout] 46 │+ optional_clap_variant = Some(cli_args); [INFO] [stdout] 47 │+ continue; [INFO] [stdout] 48 │+ } [INFO] [stdout] 49 │+ result => return result, [INFO] [stdout] 50 │+ } [INFO] [stdout] 51 │+ } [INFO] [stdout] 52 │+ }; [INFO] [stdout] 53 │+ } [INFO] [stdout] 54 │+ } [INFO] [stdout] 55 │+} [INFO] [stdout] 56 │+impl Mode { [INFO] [stdout] 57 │+ pub fn choose_variant( [INFO] [stdout] 58 │+ context: (), [INFO] [stdout] 59 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 60 │+ ::CliVariant, [INFO] [stdout] 61 │+ ::FromCliError, [INFO] [stdout] 62 │+ > { [INFO] [stdout] 63 │+ use interactive_clap::SelectVariantOrBack; [INFO] [stdout] 64 │+ use inquire::Select; [INFO] [stdout] 65 │+ use strum::{EnumMessage, IntoEnumIterator}; [INFO] [stdout] 66 │+ let selected_variant = Select::new( [INFO] [stdout] 67 │+ concat!(r" A little beautiful comment about our choice",).trim(), [INFO] [stdout] 68 │+ ModeDiscriminants::iter() [INFO] [stdout] 69 │+ .map(SelectVariantOrBack::Variant) [INFO] [stdout] 70 │+ .chain([SelectVariantOrBack::Back]) [INFO] [stdout] 71 │+ .collect(), [INFO] [stdout] 72 │+ ) [INFO] [stdout] 73 │+ .prompt(); [INFO] [stdout] 74 │+ match selected_variant { [INFO] [stdout] 75 │+ Ok(SelectVariantOrBack::Variant(variant)) => { [INFO] [stdout] 76 │+ let cli_args = match variant { [INFO] [stdout] 77 │+ ModeDiscriminants::Network => CliMode::Network, [INFO] [stdout] 78 │+ ModeDiscriminants::Offline => CliMode::Offline, [INFO] [stdout] 79 │+ }; [INFO] [stdout] 80 │+ return interactive_clap::ResultFromCli::Ok(cli_args); [INFO] [stdout] 81 │+ } [INFO] [stdout] 82 │+ Ok(SelectVariantOrBack::Back) => return interactive_clap::ResultFromCli::Back, [INFO] [stdout] 83 │+ Err( [INFO] [stdout] 84 │+ inquire::error::InquireError::OperationCanceled [INFO] [stdout] 85 │+ | inquire::error::InquireError::OperationInterrupted, [INFO] [stdout] 86 │+ ) => return interactive_clap::ResultFromCli::Cancel(None), [INFO] [stdout] 87 │+ Err(err) => return interactive_clap::ResultFromCli::Err(None, err.into()), [INFO] [stdout] 88 │+ } [INFO] [stdout] 89 │+ } [INFO] [stdout] 90 │+ pub fn try_parse() -> Result { [INFO] [stdout] 91 │+ ::try_parse() [INFO] [stdout] 92 │+ } [INFO] [stdout] 93 │+ pub fn parse() -> CliMode { [INFO] [stdout] 94 │+ ::parse() [INFO] [stdout] 95 │+ } [INFO] [stdout] 96 │+ pub fn try_parse_from(itr: I) -> Result [INFO] [stdout] 97 │+ where [INFO] [stdout] 98 │+ I: ::std::iter::IntoIterator, [INFO] [stdout] 99 │+ T: ::std::convert::Into<::std::ffi::OsString> + ::std::clone::Clone, [INFO] [stdout] 100 │+ { [INFO] [stdout] 101 │+ ::try_parse_from(itr) [INFO] [stdout] 102 │+ } [INFO] [stdout] 103 │+} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'tests::test_simple_enum::test_simple_enum_with_strum_discriminants' panicked at src/tests/test_simple_enum.rs:39:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/tests/snapshots/bubbly_bub_test__tests__test_simple_enum__simple_enum_with_strum_discriminants.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79ecee0c6432 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79ecee0c6432 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79ecee0c6432 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79ecee0c6432 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79ecee116f83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79ecee116f83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79ecee0ba1a3 - std::io::default_write_fmt::h6fafc5c7e9d14a26 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79ecee0ba1a3 - std::io::Write::write_fmt::h290d0920dffb2dfa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79ecee0c6282 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79ecee0c9f5c - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79ecee0c9db2 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x579a77810604 - as core::ops::function::Fn>::call::hb28c30a05cbb4e31 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x579a77810604 - test::test_main_with_exit_callback::{{closure}}::hade7ce5d9d9f2ec0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79ecee0caab3 - as core::ops::function::Fn>::call::h14e5ecef0584a08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79ecee0caab3 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79ecee0ca77a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x79ecee0c6929 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79ecee0ca40d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x79ecee1124b0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x79ecee112a66 - core::result::unwrap_failed::h3ae796d25b69894b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x579a77650936 - core::result::Result::unwrap::hcfc31ede3384e10a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x579a77650936 - bubbly_bub_test::tests::test_simple_enum::test_simple_enum_with_strum_discriminants::hfcdcc31f02cc1218 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_enum.rs:39:5 [INFO] [stdout] 22: 0x579a7764f937 - bubbly_bub_test::tests::test_simple_enum::test_simple_enum_with_strum_discriminants::{{closure}}::h347052a848510701 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_enum.rs:22:47 [INFO] [stdout] 23: 0x579a776691d6 - core::ops::function::FnOnce::call_once::h06692e4094d0ac09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x579a77815cfb - core::ops::function::FnOnce::call_once::h892b3cd1ed940bc1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x579a77815cfb - test::__rust_begin_short_backtrace::h7f72273c41550b48 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x579a77814f6e - test::run_test_in_process::{{closure}}::h42f0391f89834c5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x579a77814f6e - as core::ops::function::FnOnce<()>>::call_once::h1b4865c43aaf8852 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x579a77814f6e - std::panicking::catch_unwind::do_call::h34aa7e2a6b9e7f6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x579a77814f6e - std::panicking::catch_unwind::h994360178e3ed1c1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x579a77814f6e - std::panic::catch_unwind::h6982b95d01daf48c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x579a77814f6e - test::run_test_in_process::h740768e67b7da745 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x579a77814f6e - test::run_test::{{closure}}::h00f00628574240a9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x579a777d8bb4 - test::run_test::{{closure}}::h5626e17dcad266e2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x579a777d8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hd75b822058746c5a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h272cdb2aa3fefbcf [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x579a777dc4aa - as core::ops::function::FnOnce<()>>::call_once::h5c094eb97251fe22 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x579a777dc4aa - std::panicking::catch_unwind::do_call::h0191b825eba0ee96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x579a777dc4aa - std::panicking::catch_unwind::hcbb1bc6fb1213f87 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x579a777dc4aa - std::panic::catch_unwind::h6920d0849417775b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h7f7dbea3633a5c8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x579a777dc4aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h01722336b77302e3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h23ffb04297f2b6ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h7eed0c3d02cfccd3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x79ecee0cf247 - std::sys::pal::unix::thread::Thread::new::thread_start::ha73048ec7e971876 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x79ecede39aa4 - [INFO] [stdout] 46: 0x79ecedec6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_simple_struct::test_flag stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__flag.snap [INFO] [stdout] Snapshot: flag [INFO] [stdout] Source: src/tests/test_simple_struct.rs:31 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: pretty_codegen(&interactive_clap_codegen) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+#[derive(Debug, Default, Clone, clap::Parser, interactive_clap::ToCliArgs)] [INFO] [stdout] 1 │+#[clap(author, version, about, long_about = None)] [INFO] [stdout] 2 │+pub struct CliArgs { [INFO] [stdout] 3 │+ /// Offline mode [INFO] [stdout] 4 │+ #[clap(long)] [INFO] [stdout] 5 │+ pub offline: bool, [INFO] [stdout] 6 │+} [INFO] [stdout] 7 │+impl interactive_clap::ToCli for Args { [INFO] [stdout] 8 │+ type CliVariant = CliArgs; [INFO] [stdout] 9 │+} [INFO] [stdout] 10 │+pub struct InteractiveClapContextScopeForArgs { [INFO] [stdout] 11 │+ pub offline: bool, [INFO] [stdout] 12 │+} [INFO] [stdout] 13 │+impl interactive_clap::ToInteractiveClapContextScope for Args { [INFO] [stdout] 14 │+ type InteractiveClapContextScope = InteractiveClapContextScopeForArgs; [INFO] [stdout] 15 │+} [INFO] [stdout] 16 │+impl interactive_clap::FromCli for Args { [INFO] [stdout] 17 │+ type FromCliContext = (); [INFO] [stdout] 18 │+ type FromCliError = color_eyre::eyre::Error; [INFO] [stdout] 19 │+ fn from_cli( [INFO] [stdout] 20 │+ optional_clap_variant: Option<::CliVariant>, [INFO] [stdout] 21 │+ context: Self::FromCliContext, [INFO] [stdout] 22 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 23 │+ ::CliVariant, [INFO] [stdout] 24 │+ Self::FromCliError, [INFO] [stdout] 25 │+ > [INFO] [stdout] 26 │+ where [INFO] [stdout] 27 │+ Self: Sized + interactive_clap::ToCli, [INFO] [stdout] 28 │+ { [INFO] [stdout] 29 │+ let mut clap_variant = optional_clap_variant.clone().unwrap_or_default(); [INFO] [stdout] 30 │+ let offline = clap_variant.offline.clone(); [INFO] [stdout] 31 │+ let new_context_scope = InteractiveClapContextScopeForArgs { [INFO] [stdout] 32 │+ offline: offline.into(), [INFO] [stdout] 33 │+ }; [INFO] [stdout] 34 │+ interactive_clap::ResultFromCli::Ok(clap_variant) [INFO] [stdout] 35 │+ } [INFO] [stdout] 36 │+} [INFO] [stdout] 37 │+impl Args { [INFO] [stdout] 38 │+ fn input_offline(_context: &()) -> color_eyre::eyre::Result> { [INFO] [stdout] 39 │+ match inquire::CustomType::new(concat!(r" Offline mode",).trim()).prompt() { [INFO] [stdout] 40 │+ Ok(value) => Ok(Some(value)), [INFO] [stdout] 41 │+ Err( [INFO] [stdout] 42 │+ inquire::error::InquireError::OperationCanceled [INFO] [stdout] 43 │+ | inquire::error::InquireError::OperationInterrupted, [INFO] [stdout] 44 │+ ) => Ok(None), [INFO] [stdout] 45 │+ Err(err) => Err(err.into()), [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 │+ pub fn try_parse() -> Result { [INFO] [stdout] 49 │+ ::try_parse() [INFO] [stdout] 50 │+ } [INFO] [stdout] 51 │+ pub fn parse() -> CliArgs { [INFO] [stdout] 52 │+ ::parse() [INFO] [stdout] 53 │+ } [INFO] [stdout] 54 │+ pub fn try_parse_from(itr: I) -> Result [INFO] [stdout] 55 │+ where [INFO] [stdout] 56 │+ I: ::std::iter::IntoIterator, [INFO] [stdout] 57 │+ T: ::std::convert::Into<::std::ffi::OsString> + ::std::clone::Clone, [INFO] [stdout] 58 │+ { [INFO] [stdout] 59 │+ ::try_parse_from(itr) [INFO] [stdout] 60 │+ } [INFO] [stdout] 61 │+} [INFO] [stdout] 62 │+impl From for CliArgs { [INFO] [stdout] 63 │+ fn from(args: Args) -> Self { [INFO] [stdout] 64 │+ Self { [INFO] [stdout] 65 │+ offline: args.offline.into(), [INFO] [stdout] 66 │+ } [INFO] [stdout] 67 │+ } [INFO] [stdout] 68 │+} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'tests::test_simple_struct::test_flag' panicked at src/tests/test_simple_struct.rs:31:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__flag.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79ecee0c6432 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79ecee0c6432 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79ecee0c6432 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79ecee0c6432 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79ecee116f83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79ecee116f83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79ecee0ba1a3 - std::io::default_write_fmt::h6fafc5c7e9d14a26 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79ecee0ba1a3 - std::io::Write::write_fmt::h290d0920dffb2dfa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79ecee0c6282 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79ecee0c9f5c - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79ecee0c9db2 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x579a77810604 - as core::ops::function::Fn>::call::hb28c30a05cbb4e31 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x579a77810604 - test::test_main_with_exit_callback::{{closure}}::hade7ce5d9d9f2ec0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79ecee0caab3 - as core::ops::function::Fn>::call::h14e5ecef0584a08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79ecee0caab3 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79ecee0ca77a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x79ecee0c6929 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79ecee0ca40d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x79ecee1124b0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x79ecee112a66 - core::result::unwrap_failed::h3ae796d25b69894b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x579a7766f9df - core::result::Result::unwrap::hcfc31ede3384e10a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x579a7766f9df - bubbly_bub_test::tests::test_simple_struct::test_flag::h70452065d50fbd02 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:31:5 [INFO] [stdout] 22: 0x579a7766f137 - bubbly_bub_test::tests::test_simple_struct::test_flag::{{closure}}::h8555dedc73c9ba64 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:21:15 [INFO] [stdout] 23: 0x579a77669416 - core::ops::function::FnOnce::call_once::hf1e7eb8418f4e8ca [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x579a77815cfb - core::ops::function::FnOnce::call_once::h892b3cd1ed940bc1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x579a77815cfb - test::__rust_begin_short_backtrace::h7f72273c41550b48 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x579a77814f6e - test::run_test_in_process::{{closure}}::h42f0391f89834c5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x579a77814f6e - as core::ops::function::FnOnce<()>>::call_once::h1b4865c43aaf8852 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x579a77814f6e - std::panicking::catch_unwind::do_call::h34aa7e2a6b9e7f6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x579a77814f6e - std::panicking::catch_unwind::h994360178e3ed1c1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x579a77814f6e - std::panic::catch_unwind::h6982b95d01daf48c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x579a77814f6e - test::run_test_in_process::h740768e67b7da745 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x579a77814f6e - test::run_test::{{closure}}::h00f00628574240a9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x579a777d8bb4 - test::run_test::{{closure}}::h5626e17dcad266e2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x579a777d8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hd75b822058746c5a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h272cdb2aa3fefbcf [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x579a777dc4aa - as core::ops::function::FnOnce<()>>::call_once::h5c094eb97251fe22 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x579a777dc4aa - std::panicking::catch_unwind::do_call::h0191b825eba0ee96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x579a777dc4aa - std::panicking::catch_unwind::hcbb1bc6fb1213f87 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x579a777dc4aa - std::panic::catch_unwind::h6920d0849417775b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h7f7dbea3633a5c8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x579a777dc4aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h01722336b77302e3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h23ffb04297f2b6ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h7eed0c3d02cfccd3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x79ecee0cf247 - std::sys::pal::unix::thread::Thread::new::thread_start::ha73048ec7e971876 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x79ecede39aa4 - [INFO] [stdout] 46: 0x79ecedec6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_simple_struct::test_simple_struct stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__simple_struct.snap [INFO] [stdout] Snapshot: simple_struct [INFO] [stdout] Source: src/tests/test_simple_struct.rs:14 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: pretty_codegen(&interactive_clap_codegen) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 0 │+#[derive(Debug, Default, Clone, clap::Parser, interactive_clap::ToCliArgs)] [INFO] [stdout] 1 │+#[clap(author, version, about, long_about = None)] [INFO] [stdout] 2 │+pub struct CliArgs { [INFO] [stdout] 3 │+ pub age: Option<::CliVariant>, [INFO] [stdout] 4 │+ pub first_name: Option<::CliVariant>, [INFO] [stdout] 5 │+ pub second_name: Option<::CliVariant>, [INFO] [stdout] 6 │+} [INFO] [stdout] 7 │+impl interactive_clap::ToCli for Args { [INFO] [stdout] 8 │+ type CliVariant = CliArgs; [INFO] [stdout] 9 │+} [INFO] [stdout] 10 │+pub struct InteractiveClapContextScopeForArgs { [INFO] [stdout] 11 │+ pub age: u64, [INFO] [stdout] 12 │+ pub first_name: String, [INFO] [stdout] 13 │+ pub second_name: String, [INFO] [stdout] 14 │+} [INFO] [stdout] 15 │+impl interactive_clap::ToInteractiveClapContextScope for Args { [INFO] [stdout] 16 │+ type InteractiveClapContextScope = InteractiveClapContextScopeForArgs; [INFO] [stdout] 17 │+} [INFO] [stdout] 18 │+impl interactive_clap::FromCli for Args { [INFO] [stdout] 19 │+ type FromCliContext = (); [INFO] [stdout] 20 │+ type FromCliError = color_eyre::eyre::Error; [INFO] [stdout] 21 │+ fn from_cli( [INFO] [stdout] 22 │+ optional_clap_variant: Option<::CliVariant>, [INFO] [stdout] 23 │+ context: Self::FromCliContext, [INFO] [stdout] 24 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 25 │+ ::CliVariant, [INFO] [stdout] 26 │+ Self::FromCliError, [INFO] [stdout] 27 │+ > [INFO] [stdout] 28 │+ where [INFO] [stdout] 29 │+ Self: Sized + interactive_clap::ToCli, [INFO] [stdout] 30 │+ { [INFO] [stdout] 31 │+ let mut clap_variant = optional_clap_variant.clone().unwrap_or_default(); [INFO] [stdout] 32 │+ if clap_variant.age.is_none() { [INFO] [stdout] 33 │+ clap_variant [INFO] [stdout] 34 │+ .age = match Self::input_age(&context) { [INFO] [stdout] 35 │+ Ok(Some(age)) => Some(age), [INFO] [stdout] 36 │+ Ok(None) => { [INFO] [stdout] 37 │+ return interactive_clap::ResultFromCli::Cancel(Some(clap_variant)); [INFO] [stdout] 38 │+ } [INFO] [stdout] 39 │+ Err(err) => { [INFO] [stdout] 40 │+ return interactive_clap::ResultFromCli::Err(Some(clap_variant), err); [INFO] [stdout] 41 │+ } [INFO] [stdout] 42 │+ }; [INFO] [stdout] 43 │+ } [INFO] [stdout] 44 │+ let age = clap_variant.age.clone().expect("Unexpected error"); [INFO] [stdout] 45 │+ if clap_variant.first_name.is_none() { [INFO] [stdout] 46 │+ clap_variant [INFO] [stdout] 47 │+ .first_name = match Self::input_first_name(&context) { [INFO] [stdout] 48 │+ Ok(Some(first_name)) => Some(first_name), [INFO] [stdout] 49 │+ Ok(None) => { [INFO] [stdout] 50 │+ return interactive_clap::ResultFromCli::Cancel(Some(clap_variant)); [INFO] [stdout] 51 │+ } [INFO] [stdout] 52 │+ Err(err) => { [INFO] [stdout] 53 │+ return interactive_clap::ResultFromCli::Err(Some(clap_variant), err); [INFO] [stdout] 54 │+ } [INFO] [stdout] 55 │+ }; [INFO] [stdout] 56 │+ } [INFO] [stdout] 57 │+ let first_name = clap_variant.first_name.clone().expect("Unexpected error"); [INFO] [stdout] 58 │+ if clap_variant.second_name.is_none() { [INFO] [stdout] 59 │+ clap_variant [INFO] [stdout] 60 │+ .second_name = match Self::input_second_name(&context) { [INFO] [stdout] 61 │+ Ok(Some(second_name)) => Some(second_name), [INFO] [stdout] 62 │+ Ok(None) => { [INFO] [stdout] 63 │+ return interactive_clap::ResultFromCli::Cancel(Some(clap_variant)); [INFO] [stdout] 64 │+ } [INFO] [stdout] 65 │+ Err(err) => { [INFO] [stdout] 66 │+ return interactive_clap::ResultFromCli::Err(Some(clap_variant), err); [INFO] [stdout] 67 │+ } [INFO] [stdout] 68 │+ }; [INFO] [stdout] 69 │+ } [INFO] [stdout] 70 │+ let second_name = clap_variant.second_name.clone().expect("Unexpected error"); [INFO] [stdout] 71 │+ let new_context_scope = InteractiveClapContextScopeForArgs { [INFO] [stdout] 72 │+ age: age.into(), [INFO] [stdout] 73 │+ first_name: first_name.into(), [INFO] [stdout] 74 │+ second_name: second_name.into(), [INFO] [stdout] 75 │+ }; [INFO] [stdout] 76 │+ interactive_clap::ResultFromCli::Ok(clap_variant) [INFO] [stdout] 77 │+ } [INFO] [stdout] 78 │+} [INFO] [stdout] 79 │+impl Args { [INFO] [stdout] 80 │+ fn input_age(_context: &()) -> color_eyre::eyre::Result> { [INFO] [stdout] 81 │+ match inquire::CustomType::new("age").prompt() { [INFO] [stdout] 82 │+ Ok(value) => Ok(Some(value)), [INFO] [stdout] 83 │+ Err( [INFO] [stdout] 84 │+ inquire::error::InquireError::OperationCanceled [INFO] [stdout] 85 │+ | inquire::error::InquireError::OperationInterrupted, [INFO] [stdout] 86 │+ ) => Ok(None), [INFO] [stdout] 87 │+ Err(err) => Err(err.into()), [INFO] [stdout] 88 │+ } [INFO] [stdout] 89 │+ } [INFO] [stdout] 90 │+ fn input_first_name(_context: &()) -> color_eyre::eyre::Result> { [INFO] [stdout] 91 │+ match inquire::CustomType::new("first_name").prompt() { [INFO] [stdout] 92 │+ Ok(value) => Ok(Some(value)), [INFO] [stdout] 93 │+ Err( [INFO] [stdout] 94 │+ inquire::error::InquireError::OperationCanceled [INFO] [stdout] 95 │+ | inquire::error::InquireError::OperationInterrupted, [INFO] [stdout] 96 │+ ) => Ok(None), [INFO] [stdout] 97 │+ Err(err) => Err(err.into()), [INFO] [stdout] 98 │+ } [INFO] [stdout] 99 │+ } [INFO] [stdout] 100 │+ fn input_second_name(_context: &()) -> color_eyre::eyre::Result> { [INFO] [stdout] 101 │+ match inquire::CustomType::new("second_name").prompt() { [INFO] [stdout] 102 │+ Ok(value) => Ok(Some(value)), [INFO] [stdout] 103 │+ Err( [INFO] [stdout] 104 │+ inquire::error::InquireError::OperationCanceled [INFO] [stdout] 105 │+ | inquire::error::InquireError::OperationInterrupted, [INFO] [stdout] 106 │+ ) => Ok(None), [INFO] [stdout] 107 │+ Err(err) => Err(err.into()), [INFO] [stdout] 108 │+ } [INFO] [stdout] 109 │+ } [INFO] [stdout] 110 │+ pub fn try_parse() -> Result { [INFO] [stdout] 111 │+ ::try_parse() [INFO] [stdout] 112 │+ } [INFO] [stdout] 113 │+ pub fn parse() -> CliArgs { [INFO] [stdout] 114 │+ ::parse() [INFO] [stdout] 115 │+ } [INFO] [stdout] 116 │+ pub fn try_parse_from(itr: I) -> Result [INFO] [stdout] 117 │+ where [INFO] [stdout] 118 │+ I: ::std::iter::IntoIterator, [INFO] [stdout] 119 │+ T: ::std::convert::Into<::std::ffi::OsString> + ::std::clone::Clone, [INFO] [stdout] 120 │+ { [INFO] [stdout] 121 │+ ::try_parse_from(itr) [INFO] [stdout] 122 │+ } [INFO] [stdout] 123 │+} [INFO] [stdout] 124 │+impl From for CliArgs { [INFO] [stdout] 125 │+ fn from(args: Args) -> Self { [INFO] [stdout] 126 │+ Self { [INFO] [stdout] 127 │+ age: Some(args.age.into()), [INFO] [stdout] 128 │+ first_name: Some(args.first_name.into()), [INFO] [stdout] 129 │+ second_name: Some(args.second_name.into()), [INFO] [stdout] 130 │+ } [INFO] [stdout] 131 │+ } [INFO] [stdout] 132 │+} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'tests::test_simple_struct::test_simple_struct' panicked at src/tests/test_simple_struct.rs:14:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__simple_struct.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79ecee0c6432 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79ecee0c6432 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79ecee0c6432 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79ecee0c6432 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79ecee116f83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79ecee116f83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79ecee0ba1a3 - std::io::default_write_fmt::h6fafc5c7e9d14a26 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79ecee0ba1a3 - std::io::Write::write_fmt::h290d0920dffb2dfa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79ecee0c6282 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79ecee0c9f5c - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79ecee0c9db2 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x579a77810604 - as core::ops::function::Fn>::call::hb28c30a05cbb4e31 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x579a77810604 - test::test_main_with_exit_callback::{{closure}}::hade7ce5d9d9f2ec0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79ecee0caab3 - as core::ops::function::Fn>::call::h14e5ecef0584a08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79ecee0caab3 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79ecee0ca77a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x79ecee0c6929 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79ecee0ca40d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x79ecee1124b0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x79ecee112a66 - core::result::unwrap_failed::h3ae796d25b69894b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x579a7766e92d - core::result::Result::unwrap::hcfc31ede3384e10a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x579a7766e92d - bubbly_bub_test::tests::test_simple_struct::test_simple_struct::hd2b6b0ab5089e197 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:14:5 [INFO] [stdout] 22: 0x579a7766e1f7 - bubbly_bub_test::tests::test_simple_struct::test_simple_struct::{{closure}}::hf48510e1b9fe2a2e [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:4:24 [INFO] [stdout] 23: 0x579a77669256 - core::ops::function::FnOnce::call_once::h47b88b466aa6470f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x579a77815cfb - core::ops::function::FnOnce::call_once::h892b3cd1ed940bc1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x579a77815cfb - test::__rust_begin_short_backtrace::h7f72273c41550b48 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x579a77814f6e - test::run_test_in_process::{{closure}}::h42f0391f89834c5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x579a77814f6e - as core::ops::function::FnOnce<()>>::call_once::h1b4865c43aaf8852 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x579a77814f6e - std::panicking::catch_unwind::do_call::h34aa7e2a6b9e7f6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x579a77814f6e - std::panicking::catch_unwind::h994360178e3ed1c1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x579a77814f6e - std::panic::catch_unwind::h6982b95d01daf48c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x579a77814f6e - test::run_test_in_process::h740768e67b7da745 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x579a77814f6e - test::run_test::{{closure}}::h00f00628574240a9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x579a777d8bb4 - test::run_test::{{closure}}::h5626e17dcad266e2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x579a777d8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hd75b822058746c5a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h272cdb2aa3fefbcf [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x579a777dc4aa - as core::ops::function::FnOnce<()>>::call_once::h5c094eb97251fe22 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x579a777dc4aa - std::panicking::catch_unwind::do_call::h0191b825eba0ee96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x579a777dc4aa - std::panicking::catch_unwind::hcbb1bc6fb1213f87 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x579a777dc4aa - std::panic::catch_unwind::h6920d0849417775b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h7f7dbea3633a5c8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x579a777dc4aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h01722336b77302e3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h23ffb04297f2b6ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h7eed0c3d02cfccd3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x79ecee0cf247 - std::sys::pal::unix::thread::Thread::new::thread_start::ha73048ec7e971876 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x79ecede39aa4 - [INFO] [stdout] 46: 0x79ecedec6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_simple_struct::test_vec_multiple_opt stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__vec_multiple_opt.snap [INFO] [stdout] Snapshot: vec_multiple_opt [INFO] [stdout] Source: src/tests/test_simple_struct.rs:55 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: pretty_codegen(&interactive_clap_codegen) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │+#[derive(Debug, Default, Clone, clap::Parser, interactive_clap::ToCliArgs)] [INFO] [stdout] 1 │+#[clap(author, version, about, long_about = None)] [INFO] [stdout] 2 │+pub struct CliArgs { [INFO] [stdout] 3 │+ #[clap(long)] [INFO] [stdout] 4 │+ pub env: Vec, [INFO] [stdout] 5 │+} [INFO] [stdout] 6 │+impl interactive_clap::ToCli for Args { [INFO] [stdout] 7 │+ type CliVariant = CliArgs; [INFO] [stdout] 8 │+} [INFO] [stdout] 9 │+pub struct InteractiveClapContextScopeForArgs { [INFO] [stdout] 10 │+ pub env: Vec, [INFO] [stdout] 11 │+} [INFO] [stdout] 12 │+impl interactive_clap::ToInteractiveClapContextScope for Args { [INFO] [stdout] 13 │+ type InteractiveClapContextScope = InteractiveClapContextScopeForArgs; [INFO] [stdout] 14 │+} [INFO] [stdout] 15 │+impl interactive_clap::FromCli for Args { [INFO] [stdout] 16 │+ type FromCliContext = (); [INFO] [stdout] 17 │+ type FromCliError = color_eyre::eyre::Error; [INFO] [stdout] 18 │+ fn from_cli( [INFO] [stdout] 19 │+ optional_clap_variant: Option<::CliVariant>, [INFO] [stdout] 20 │+ context: Self::FromCliContext, [INFO] [stdout] 21 │+ ) -> interactive_clap::ResultFromCli< [INFO] [stdout] 22 │+ ::CliVariant, [INFO] [stdout] 23 │+ Self::FromCliError, [INFO] [stdout] 24 │+ > [INFO] [stdout] 25 │+ where [INFO] [stdout] 26 │+ Self: Sized + interactive_clap::ToCli, [INFO] [stdout] 27 │+ { [INFO] [stdout] 28 │+ let mut clap_variant = optional_clap_variant.clone().unwrap_or_default(); [INFO] [stdout] 29 │+ let env = clap_variant.env.clone(); [INFO] [stdout] 30 │+ let new_context_scope = InteractiveClapContextScopeForArgs { [INFO] [stdout] 31 │+ env: env.into(), [INFO] [stdout] 32 │+ }; [INFO] [stdout] 33 │+ interactive_clap::ResultFromCli::Ok(clap_variant) [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 │+} [INFO] [stdout] 36 │+impl Args { [INFO] [stdout] 37 │+ pub fn try_parse() -> Result { [INFO] [stdout] 38 │+ ::try_parse() [INFO] [stdout] 39 │+ } [INFO] [stdout] 40 │+ pub fn parse() -> CliArgs { [INFO] [stdout] 41 │+ ::parse() [INFO] [stdout] 42 │+ } [INFO] [stdout] 43 │+ pub fn try_parse_from(itr: I) -> Result [INFO] [stdout] 44 │+ where [INFO] [stdout] 45 │+ I: ::std::iter::IntoIterator, [INFO] [stdout] 46 │+ T: ::std::convert::Into<::std::ffi::OsString> + ::std::clone::Clone, [INFO] [stdout] 47 │+ { [INFO] [stdout] 48 │+ ::try_parse_from(itr) [INFO] [stdout] 49 │+ } [INFO] [stdout] 50 │+} [INFO] [stdout] 51 │+impl From for CliArgs { [INFO] [stdout] 52 │+ fn from(args: Args) -> Self { [INFO] [stdout] 53 │+ Self { env: args.env.into() } [INFO] [stdout] 54 │+ } [INFO] [stdout] 55 │+} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'tests::test_simple_struct::test_vec_multiple_opt' panicked at src/tests/test_simple_struct.rs:55:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/tests/snapshots/bubbly_bub_test__tests__test_simple_struct__vec_multiple_opt.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79ecee0c6432 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79ecee0c6432 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79ecee0c6432 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79ecee0c6432 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79ecee116f83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79ecee116f83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79ecee0ba1a3 - std::io::default_write_fmt::h6fafc5c7e9d14a26 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79ecee0ba1a3 - std::io::Write::write_fmt::h290d0920dffb2dfa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79ecee0c6282 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79ecee0c9f5c - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79ecee0c9db2 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x579a77810604 - as core::ops::function::Fn>::call::hb28c30a05cbb4e31 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x579a77810604 - test::test_main_with_exit_callback::{{closure}}::hade7ce5d9d9f2ec0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79ecee0caab3 - as core::ops::function::Fn>::call::h14e5ecef0584a08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79ecee0caab3 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79ecee0ca77a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x79ecee0c6929 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79ecee0ca40d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x79ecee1124b0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x79ecee112a66 - core::result::unwrap_failed::h3ae796d25b69894b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x579a77670df0 - core::result::Result::unwrap::hcfc31ede3384e10a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x579a77670df0 - bubbly_bub_test::tests::test_simple_struct::test_vec_multiple_opt::h97e3201228de68cc [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:55:5 [INFO] [stdout] 22: 0x579a776705f7 - bubbly_bub_test::tests::test_simple_struct::test_vec_multiple_opt::{{closure}}::h7e7c36af6394b5df [INFO] [stdout] at /opt/rustwide/workdir/src/tests/test_simple_struct.rs:46:27 [INFO] [stdout] 23: 0x579a77669216 - core::ops::function::FnOnce::call_once::h2d1c7feb89e2472a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x579a77815cfb - core::ops::function::FnOnce::call_once::h892b3cd1ed940bc1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x579a77815cfb - test::__rust_begin_short_backtrace::h7f72273c41550b48 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x579a77814f6e - test::run_test_in_process::{{closure}}::h42f0391f89834c5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x579a77814f6e - as core::ops::function::FnOnce<()>>::call_once::h1b4865c43aaf8852 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x579a77814f6e - std::panicking::catch_unwind::do_call::h34aa7e2a6b9e7f6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x579a77814f6e - std::panicking::catch_unwind::h994360178e3ed1c1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x579a77814f6e - std::panic::catch_unwind::h6982b95d01daf48c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x579a77814f6e - test::run_test_in_process::h740768e67b7da745 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x579a77814f6e - test::run_test::{{closure}}::h00f00628574240a9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x579a777d8bb4 - test::run_test::{{closure}}::h5626e17dcad266e2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x579a777d8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::hd75b822058746c5a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h272cdb2aa3fefbcf [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x579a777dc4aa - as core::ops::function::FnOnce<()>>::call_once::h5c094eb97251fe22 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x579a777dc4aa - std::panicking::catch_unwind::do_call::h0191b825eba0ee96 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x579a777dc4aa - std::panicking::catch_unwind::hcbb1bc6fb1213f87 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x579a777dc4aa - std::panic::catch_unwind::h6920d0849417775b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x579a777dc4aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h7f7dbea3633a5c8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x579a777dc4aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h01722336b77302e3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h23ffb04297f2b6ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79ecee0cf247 - as core::ops::function::FnOnce>::call_once::h7eed0c3d02cfccd3 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x79ecee0cf247 - std::sys::pal::unix::thread::Thread::new::thread_start::ha73048ec7e971876 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x79ecede39aa4 - [INFO] [stdout] 46: 0x79ecedec6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_simple_enum::test_simple_enum [INFO] [stdout] tests::test_simple_enum::test_simple_enum_with_strum_discriminants [INFO] [stdout] tests::test_simple_struct::test_doc_comments_propagate [INFO] [stdout] tests::test_simple_struct::test_flag [INFO] [stdout] tests::test_simple_struct::test_simple_struct [INFO] [stdout] tests::test_simple_struct::test_vec_multiple_opt [INFO] [stdout] tests::test_simple_struct::test_vec_multiple_opt_to_cli_args [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c07aa7eaed59d1afc0f55cdf6e07f9942c905bbdbf36b2fd61a678a642c8b9d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07aa7eaed59d1afc0f55cdf6e07f9942c905bbdbf36b2fd61a678a642c8b9d5", kill_on_drop: false }` [INFO] [stdout] c07aa7eaed59d1afc0f55cdf6e07f9942c905bbdbf36b2fd61a678a642c8b9d5