Skip to content

Instantly share code, notes, and snippets.

@correabuscar
Created March 21, 2024 18:30
Show Gist options
  • Save correabuscar/77dcacba906578b3b8bae35a5a28b9f1 to your computer and use it in GitHub Desktop.
Save correabuscar/77dcacba906578b3b8bae35a5a28b9f1 to your computer and use it in GitHub Desktop.
warning: `bisektor` (bin "bisektor") generated 3 warnings (run `cargo fix --bin "bisektor"` to apply 1 suggestion)
Finished dev [unoptimized + debuginfo] target(s) in 0.22s
Running `target/debug/bisektor`
thread 'main' panicked at 'not yet implemented', src/main.rs:7:9
stack backtrace:
0: 0x557af2db7bb1 - std::backtrace_rs::backtrace::libunwind::trace::h354e40c56b67c8e6
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x557af2db7bb1 - std::backtrace_rs::backtrace::trace_unsynchronized::hf1b6468233aaab71
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x557af2db7bb1 - std::sys_common::backtrace::_print_fmt::h43d089873eb4d258
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/sys_common/backtrace.rs:65:5
3: 0x557af2db7bb1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h286cd35e7fbdc2ee
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/sys_common/backtrace.rs:44:22
4: 0x557af2dd369f - core::fmt::rt::Argument::fmt::h2ac2593b777ffd2c
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/fmt/rt.rs:138:9
5: 0x557af2dd369f - core::fmt::write::h7799eae953805876
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/fmt/mod.rs:1094:21
6: 0x557af2db5ed1 - std::io::Write::write_fmt::ha468a4088257e599
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/io/mod.rs:1712:15
7: 0x557af2db79c5 - std::sys_common::backtrace::_print::h1008c8e3677cfeed
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/sys_common/backtrace.rs:47:5
8: 0x557af2db79c5 - std::sys_common::backtrace::print::hd6c777ef22d61014
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/sys_common/backtrace.rs:34:9
9: 0x557af2db8d47 - std::panicking::default_hook::{{closure}}::h86359589176e1dc7
10: 0x557af2db8b34 - std::panicking::default_hook::hc6b12c32be7f2269
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:288:9
11: 0x557af2db9201 - std::panicking::rust_panic_with_hook::h07a345046772cd1e
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:691:13
12: 0x557af2db90b1 - std::panicking::begin_panic_handler::{{closure}}::h84a5e74b0ac7bfd9
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:580:13
13: 0x557af2db7fe6 - std::sys_common::backtrace::__rust_end_short_backtrace::hfab653505a2c6309
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/sys_common/backtrace.rs:151:18
14: 0x557af2db8e42 - rust_begin_unwind
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:578:5
15: 0x557af2d9ee73 - core::panicking::panic_fmt::hbffcbe9cdfcee218
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/panicking.rs:67:14
16: 0x557af2d9ef03 - core::panicking::panic::h6efaa5b1773f8c89
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/panicking.rs:117:5
17: 0x557af2d9f5da - <bisektor::MyStruct as core::fmt::Display>::fmt::h6af5799ea34afa39
at /home/user/sandbox/bisektor/src/main.rs:7:9
18: 0x557af2dd369f - core::fmt::rt::Argument::fmt::h2ac2593b777ffd2c
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/fmt/rt.rs:138:9
19: 0x557af2dd369f - core::fmt::write::h7799eae953805876
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/fmt/mod.rs:1094:21
20: 0x557af2db8f7d - core::fmt::Write::write_fmt::h99bbfb76de46b19a
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/fmt/mod.rs:192:9
21: 0x557af2db8f7d - std::panicking::begin_panic_handler::PanicPayload::fill::{{closure}}::h253e7995b6934476
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:544:30
22: 0x557af2db8f7d - core::option::Option<T>::get_or_insert_with::hc69a28ff65f4aa41
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/option.rs:1645:26
23: 0x557af2db8f7d - std::panicking::begin_panic_handler::PanicPayload::fill::h7d11c7f51903b619
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:542:13
24: 0x557af2db8f7d - <std::panicking::begin_panic_handler::PanicPayload as core::panic::BoxMeUp>::get::h0aeaee10d21161fa
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:560:13
25: 0x557af2db91ec - std::panicking::rust_panic_with_hook::h07a345046772cd1e
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:690:30
26: 0x557af2db90f7 - std::panicking::begin_panic_handler::{{closure}}::h84a5e74b0ac7bfd9
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:582:13
27: 0x557af2db7fe6 - std::sys_common::backtrace::__rust_end_short_backtrace::hfab653505a2c6309
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/sys_common/backtrace.rs:151:18
28: 0x557af2db8e42 - rust_begin_unwind
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:578:5
29: 0x557af2d9ee73 - core::panicking::panic_fmt::hbffcbe9cdfcee218
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/panicking.rs:67:14
30: 0x557af2d9f65c - bisektor::main::h96cc4eb0ec795dbe
at /home/user/sandbox/bisektor/src/main.rs:14:5
31: 0x557af2d9f6ab - core::ops::function::FnOnce::call_once::h5ce355268be9f8ba
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/ops/function.rs:250:5
32: 0x557af2d9f84e - std::sys_common::backtrace::__rust_begin_short_backtrace::h15c79873d1ee3faa
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/sys_common/backtrace.rs:135:18
33: 0x557af2d9f8c1 - std::rt::lang_start::{{closure}}::h2a436a2d562cd351
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/rt.rs:166:18
34: 0x557af2db3d65 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h493fb855285e1007
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/core/src/ops/function.rs:284:13
35: 0x557af2db3d65 - std::panicking::try::do_call::haff6dd8a0a73ce4e
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:485:40
36: 0x557af2db3d65 - std::panicking::try::h5bcea75ba1fb2aba
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:449:19
37: 0x557af2db3d65 - std::panic::catch_unwind::hee05f80070b64c93
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panic.rs:142:14
38: 0x557af2db3d65 - std::rt::lang_start_internal::{{closure}}::hb12ec9dcfd5af90d
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/rt.rs:148:48
39: 0x557af2db3d65 - std::panicking::try::do_call::hbb03d5d9a87bbfdf
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:485:40
40: 0x557af2db3d65 - std::panicking::try::he9fcb2f9a6d908d2
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panicking.rs:449:19
41: 0x557af2db3d65 - std::panic::catch_unwind::hf14a1ebe37b1bec0
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/panic.rs:142:14
42: 0x557af2db3d65 - std::rt::lang_start_internal::h912e0fcb01a570e5
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/rt.rs:148:20
43: 0x557af2d9f89a - std::rt::lang_start::h6a55ccf83cc20f0a
at /rustc/a2b1646c597329d0a25efa3889b66650f65de1de/library/std/src/rt.rs:165:17
44: 0x557af2d9f67e - main
45: 0x7f10f123f0ce - __libc_start_call_main
46: 0x7f10f123f189 - __libc_start_main@GLIBC_2.2.5
47: 0x557af2d9f4d5 - _start
48: 0x0 - <unknown>
thread panicked while panicking. aborting.
Aborted (core dumped)
@correabuscar
Copy link
Author

compiled with

$ rustc -vV
rustc 1.71.0-nightly (a2b1646c5 2023-05-25)
binary: rustc
commit-hash: a2b1646c597329d0a25efa3889b66650f65de1de
commit-date: 2023-05-25
host: x86_64-unknown-linux-gnu
release: 1.71.0-nightly
LLVM version: 16.0.4

code is: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=6da22e512530586333b4cae6b0f357d9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment