Skip to content

Instantly share code, notes, and snippets.

@quilir
Created August 23, 2018 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quilir/185c711f24da459a2400a6683a70e5a0 to your computer and use it in GitHub Desktop.
Save quilir/185c711f24da459a2400a6683a70e5a0 to your computer and use it in GitHub Desktop.
target/debug/deps/trust_dns_resolver-ecf839bbab84f38b
running 1 test
thread 'dns_sd::tests::test_list_services' panicked at 'failed to run lookup: ResolveError { inner: stack backtrace:
0: 0x5621c8a35f65 - backtrace::backtrace::libunwind::trace::h6d9068bcf9381a61
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace::h303c34c856dc11ae
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
1: 0x5621c8a30aee - backtrace::capture::Backtrace::new_unresolved::h94afa6a532142c10
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:88
2: 0x5621c8a2efb9 - failure::backtrace::internal::InternalBacktrace::new::hff77097aae911bac
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.2/src/backtrace/internal.rs:44
3: 0x5621c8a2df4c - failure::backtrace::Backtrace::new::hdc2b26e7a013f593
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.2/src/backtrace/mod.rs:111
4: 0x5621c85915b5 - <failure::context::Context<D>>::new::h2059bf16e921de0c
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.2/src/context.rs:68
5: 0x5621c85ffbe0 - <trust_dns_resolver::error::ResolveError as core::convert::From<trust_dns_resolver::error::ResolveErrorKind>>::from::h2c25819f5e97466c
at resolver/src/error.rs:112
6: 0x5621c85c87c9 - <T as core::convert::Into<U>>::into::h33978630554abc3e
at /checkout/src/libcore/convert.rs:396
7: 0x5621c8556d0b - trust_dns_resolver::dns_lru::DnsLru::nx_error::hae981e701fcc365b
at resolver/src/dns_lru.rs:202
8: 0x5621c8556f45 - trust_dns_resolver::dns_lru::DnsLru::negative::hef2b3a7cb661b509
at resolver/src/dns_lru.rs:224
9: 0x5621c84b6c37 - <trust_dns_resolver::lookup_state::InsertCache as futures::future::Future>::poll::hd27fe6cdeb4305c6
at resolver/src/lookup_state.rs:407
10: 0x5621c85fda6b - <trust_dns_resolver::lookup_state::QueryState<C> as futures::future::Future>::poll::hb1ab50f7532905ba
at resolver/src/lookup_state.rs:612
11: 0x5621c855879b - <alloc::boxed::Box<F> as futures::future::Future>::poll::h37c8fa5bef32ce30
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/future/mod.rs:113
12: 0x5621c855879b - <alloc::boxed::Box<F> as futures::future::Future>::poll::h37c8fa5bef32ce30
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/future/mod.rs:113
13: 0x5621c8528751 - <trust_dns_resolver::lookup::LookupFuture<C> as futures::future::Future>::poll::habf3ddb112bbc73c
at resolver/src/lookup.rs:192
14: 0x5621c8599f8a - <trust_dns_resolver::lookup::ReverseLookupFuture as futures::future::Future>::poll::h11ff40acc873daa6
at resolver/src/lookup.rs:340
15: 0x5621c855df2d - <futures::future::chain::Chain<A, B, C>>::poll::h4a3bd914fe1f207a
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/future/chain.rs:32
16: 0x5621c856f639 - <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h1c1baaf89eb095b9
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/future/and_then.rs:32
17: 0x5621c860a739 - <futures::future::either::Either<A, B> as futures::future::Future>::poll::hd99901653590b64a
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/future/either.rs:35
18: 0x5621c85c5a8a - <trust_dns_resolver::async_resolver::Background<F, G> as futures::future::Future>::poll::hd2fe0fae39f06117
at resolver/src/async_resolver/mod.rs:345
19: 0x5621c85d9d2a - <trust_dns_resolver::dns_sd::ListServicesFuture as futures::future::Future>::poll::h6a82ebe2c38472b6
at resolver/src/dns_sd.rs:70
20: 0x5621c860dd49 - <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::h758f51ec64cd117d
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/task_impl/mod.rs:289
21: 0x5621c860ef06 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::h17477d829c9d1700
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/task_impl/mod.rs:363
22: 0x5621c8601d6e - futures::task_impl::std::set::h272e43c55f9e9a91
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/task_impl/std/mod.rs:78
23: 0x5621c860ecf2 - <futures::task_impl::Spawn<T>>::enter::hf0ce75c9cecf985c
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/task_impl/mod.rs:363
24: 0x5621c860d65b - <futures::task_impl::Spawn<T>>::poll_future_notify::h20829437466bf22e
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.23/src/task_impl/mod.rs:289
25: 0x5621c850abe5 - <tokio::executor::current_thread::Entered<'a, P>>::block_on::{{closure}}::hbb88f7bac11182a8
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/executor/current_thread/mod.rs:486
26: 0x5621c8507964 - <tokio::executor::current_thread::Borrow<'a, U>>::enter::{{closure}}::{{closure}}::heaff524f0e1eca97
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/executor/current_thread/mod.rs:762
27: 0x5621c85068b4 - tokio::executor::current_thread::CurrentRunner::set_spawn::h571856b066512a84
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/executor/current_thread/mod.rs:794
28: 0x5621c85076f2 - <tokio::executor::current_thread::Borrow<'a, U>>::enter::{{closure}}::h9e77f97592e26d91
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/executor/current_thread/mod.rs:761
29: 0x5621c84d2d32 - <std::thread::local::LocalKey<T>>::try_with::h8aa5e50b9089a208
at /checkout/src/libstd/thread/local.rs:294
30: 0x5621c84ce408 - <std::thread::local::LocalKey<T>>::with::h8e7bc669261f1e5d
at /checkout/src/libstd/thread/local.rs:248
31: 0x5621c8507274 - <tokio::executor::current_thread::Borrow<'a, U>>::enter::h05a69492f03cf3d8
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/executor/current_thread/mod.rs:760
32: 0x5621c850a5d2 - <tokio::executor::current_thread::Entered<'a, P>>::block_on::hde3ee2df254a6269
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/executor/current_thread/mod.rs:485
33: 0x5621c84e2384 - tokio::runtime::current_thread::runtime::Runtime::block_on::{{closure}}::h04c3a951b1a93ceb
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/runtime/current_thread/runtime.rs:138
34: 0x5621c84e1b82 - tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h6475b0dece1b9dad
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/runtime/current_thread/runtime.rs:179
35: 0x5621c84d7c1f - tokio_executor::global::with_default::{{closure}}::h50a89ad04847f375
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.3/src/global.rs:193
36: 0x5621c84d034a - <std::thread::local::LocalKey<T>>::try_with::h3c39ff9631bea8c1
at /checkout/src/libstd/thread/local.rs:294
37: 0x5621c84cdca5 - <std::thread::local::LocalKey<T>>::with::h36c32e2cd65ad434
at /checkout/src/libstd/thread/local.rs:248
38: 0x5621c84d732e - tokio_executor::global::with_default::hebf49cdce9d10d05
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.3/src/global.rs:163
39: 0x5621c84e0ed3 - tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}}::{{closure}}::{{closure}}::h3dc038029e0f6ad6
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/runtime/current_thread/runtime.rs:177
40: 0x5621c8549b44 - tokio_timer::timer::handle::with_default::{{closure}}::h13fb6d8db0b4757e
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.5/src/timer/handle.rs:65
41: 0x5621c84d321d - <std::thread::local::LocalKey<T>>::try_with::hacd98be42f7b968d
at /checkout/src/libstd/thread/local.rs:294
42: 0x5621c84cf0d5 - <std::thread::local::LocalKey<T>>::with::hf613f16f22318651
at /checkout/src/libstd/thread/local.rs:248
43: 0x5621c854954d - tokio_timer::timer::handle::with_default::h62ede4d3060a076e
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.5/src/timer/handle.rs:57
44: 0x5621c84e0cd1 - tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}}::{{closure}}::heae89d155771f918
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/runtime/current_thread/runtime.rs:170
45: 0x5621c84b5aae - tokio_timer::clock::clock::with_default::{{closure}}::hed8cd2cc28e2f32c
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.5/src/clock/clock.rs:136
46: 0x5621c84d0820 - <std::thread::local::LocalKey<T>>::try_with::h4926ce321af3e744
at /checkout/src/libstd/thread/local.rs:294
47: 0x5621c84cdac7 - <std::thread::local::LocalKey<T>>::with::h2e3f7639a5ac452a
at /checkout/src/libstd/thread/local.rs:248
48: 0x5621c84b477e - tokio_timer::clock::clock::with_default::h19fbd99aef9b78a0
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.5/src/clock/clock.rs:119
49: 0x5621c84e06e4 - tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}}::hedcf15445d06287d
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/runtime/current_thread/runtime.rs:169
50: 0x5621c859d446 - tokio_reactor::with_default::{{closure}}::hd48b5a4d615bec55
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.3/src/lib.rs:231
51: 0x5621c84d120d - <std::thread::local::LocalKey<T>>::try_with::h507661a4ee56d115
at /checkout/src/libstd/thread/local.rs:294
52: 0x5621c84ce375 - <std::thread::local::LocalKey<T>>::with::h8ca3bde149b070da
at /checkout/src/libstd/thread/local.rs:248
53: 0x5621c859be0d - tokio_reactor::with_default::h6f833f254920404e
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.3/src/lib.rs:214
54: 0x5621c84df795 - tokio::runtime::current_thread::runtime::Runtime::enter::h98044c8797d8772c
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/runtime/current_thread/runtime.rs:168
55: 0x5621c84e20d4 - tokio::runtime::current_thread::runtime::Runtime::block_on::h272d22ae8b8a95e3
at /home/hubert/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.7/src/runtime/current_thread/runtime.rs:136
56: 0x5621c85c778d - trust_dns_resolver::dns_sd::tests::test_list_services::h4af03183268e0b6a
at resolver/src/dns_sd.rs:165
57: 0x5621c8605099 - trust_dns_resolver::__test::TESTS::{{closure}}::h10fc4fa93ad3d8f9
at resolver/src/dns_sd.rs:153
58: 0x5621c850bc5d - core::ops::function::FnOnce::call_once::h7387d7fcc31a7835
at /checkout/src/libcore/ops/function.rs:223
59: 0x5621c86201fe - test::run_test::{{closure}}::h21db2b7c67c8661a
at libtest/lib.rs:1451
- core::ops::function::FnOnce::call_once::h0580eb4d9c75afa2
at /checkout/src/libcore/ops/function.rs:223
- <F as alloc::boxed::FnBox<A>>::call_box::h35131d468a43c8d1
at /checkout/src/liballoc/boxed.rs:640
60: 0x5621c8a7b7a9 - __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:105
61: 0x5621c863c95d - std::panicking::try::hc8ff60d112c3b953
at /checkout/src/libstd/panicking.rs:289
- std::panic::catch_unwind::h5753841827d0800c
at /checkout/src/libstd/panic.rs:392
- test::run_test::run_test_inner::{{closure}}::h9a97523def2429a3
at libtest/lib.rs:1406
- std::sys_common::backtrace::__rust_begin_short_backtrace::h02641c0f08c89101
at /checkout/src/libstd/sys_common/backtrace.rs:136
62: 0x5621c8641754 - std::thread::Builder::spawn::{{closure}}::{{closure}}::h99d66fb1df29f07c
at /checkout/src/libstd/thread/mod.rs:409
- <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3e02f2169697bc32
at /checkout/src/libstd/panic.rs:308
- std::panicking::try::do_call::h1d3083628cca3de7
at /checkout/src/libstd/panicking.rs:310
63: 0x5621c8a7b7a9 - __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:105
64: 0x5621c8632de6 - std::panicking::try::h007719945eedbd9b
at /checkout/src/libstd/panicking.rs:289
- std::panic::catch_unwind::h6e71d0c8b50a102c
at /checkout/src/libstd/panic.rs:392
- std::thread::Builder::spawn::{{closure}}::hdfaa300ad3d3a6b9
at /checkout/src/libstd/thread/mod.rs:408
- <F as alloc::boxed::FnBox<A>>::call_box::h2f7e4058ba7bf228
at /checkout/src/liballoc/boxed.rs:640
65: 0x5621c8a5a5ba - <alloc::boxed::Box<alloc::boxed::FnBox<A, Output=R> + 'a> as core::ops::function::FnOnce<A>>::call_once::h75e539106a648d39
at /checkout/src/liballoc/boxed.rs:650
- std::sys_common::thread::start_thread::h88a639c99862a9f5
at libstd/sys_common/thread.rs:24
66: 0x5621c8a5d2f5 - std::sys::unix::thread::Thread::new::thread_start::h7d7a420a78cfa84d
at libstd/sys/unix/thread.rs:90
67: 0x7fc2be3726da - start_thread
68: 0x7fc2bde8388e - __clone
69: 0x0 - <unknown>
no record found for name: _http._tcp.local. type: PTR class: IN }', libcore/result.rs:945:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::print
at libstd/sys_common/backtrace.rs:71
at libstd/sys_common/backtrace.rs:59
2: std::panicking::default_hook::{{closure}}
at libstd/panicking.rs:211
3: std::panicking::default_hook
at libstd/panicking.rs:227
4: std::panicking::rust_panic_with_hook
at libstd/panicking.rs:511
5: std::panicking::continue_panic_fmt
at libstd/panicking.rs:426
6: rust_begin_unwind
at libstd/panicking.rs:337
7: core::panicking::panic_fmt
at libcore/panicking.rs:92
8: core::result::unwrap_failed
at /checkout/src/libcore/macros.rs:26
9: <core::result::Result<T, E>>::expect
at /checkout/src/libcore/result.rs:809
10: trust_dns_resolver::dns_sd::tests::test_list_services
at resolver/src/dns_sd.rs:165
11: trust_dns_resolver::__test::TESTS::{{closure}}
at resolver/src/dns_sd.rs:153
12: core::ops::function::FnOnce::call_once
at /checkout/src/libcore/ops/function.rs:223
13: <F as alloc::boxed::FnBox<A>>::call_box
at libtest/lib.rs:1451
at /checkout/src/libcore/ops/function.rs:223
at /checkout/src/liballoc/boxed.rs:640
14: __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:105
test dns_sd::tests::test_list_services ... FAILED
failures:
failures:
dns_sd::tests::test_list_services
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 61 filtered out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment