Skip to content

Instantly share code, notes, and snippets.

@TheZoq2
Created February 16, 2018 20:11
Show Gist options
  • Select an option

  • Save TheZoq2/2dc112613ba2dd2501fbdd1bd300c711 to your computer and use it in GitHub Desktop.

Select an option

Save TheZoq2/2dc112613ba2dd2501fbdd1bd300c711 to your computer and use it in GitHub Desktop.
---- foreign_server::sync_integration::sync_works stdout ----
thread 'foreign_server::sync_integration::sync_works' panicked at 'Foregin sync failed: Error(Msg("Failed to send changes"), State { next_error: Some(Error(WrongHttpStatusCode(NotFound, ""), State { next_error: None, backtrace: Some(stack backtrace:
0: 0x561950762e64 - backtrace::backtrace::libunwind::trace::h371130c3922edecc
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace::h6241456bfbea76ed
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/mod.rs:42
1: 0x56195075cd6c - backtrace::capture::Backtrace::new_unresolved::h170d04b789c32bb6
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/capture.rs:88
2: 0x56195075ccbe - backtrace::capture::Backtrace::new::he781b3f0c43cb380
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/capture.rs:63
3: 0x56195075a422 - error_chain::make_backtrace::h67db6fb82d8fbcbe
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/error-chain-0.10.0/src/lib.rs:417
4: 0x56195075a4bf - <error_chain::State as core::default::Default>::default::h12d4aaeadb6c51c0
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/error-chain-0.10.0/src/lib.rs:504
5: 0x56195031ab1d - flash::error::Error::from_kind::h69cd9aee6bdb3043
at /home/frans/Documents/rust/flash/<error_chain_processed macros>:52
6: 0x56195031b137 - <flash::error::Error as core::convert::From<flash::error::ErrorKind>>::from::h77b5c48630dc6656
at src/error.rs:6
7: 0x56195031d227 - <T as core::convert::Into<U>>::into::hf695872c7db28a8d
at /checkout/src/libcore/convert.rs:415
8: 0x56195034ffc8 - flash::foreign_server::send_request_for_bytes::{{closure}}::h7bcc4583b4507d6a
at src/foreign_server.rs:148
9: 0x56195029b2b1 - <core::result::Result<T, E>>::map::heef49a0a9ab09f34
at /checkout/src/libcore/result.rs:468
10: 0x56195036e916 - <futures::future::map::Map<A, F> as futures::future::Future>::poll::h982484f7625c58e6
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/future/map.rs:35
11: 0x56195037c52b - <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::h4716670afd206af3
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:289
12: 0x56195037c6c1 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::h92e57676810d9be1
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:363
13: 0x56195037c258 - futures::task_impl::std::set::h9d940d6245d51452
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/std/mod.rs:78
14: 0x56195037c650 - <futures::task_impl::Spawn<T>>::enter::h759ea8c6dc9b626d
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:363
15: 0x56195037c500 - <futures::task_impl::Spawn<T>>::poll_future_notify::hb266aaba28be8453
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:289
16: 0x56195041c9e7 - tokio_core::reactor::Core::run::{{closure}}::h55bce6ebdf46d56d
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.12/src/reactor/mod.rs:235
17: 0x5619503c0076 - <scoped_tls::ScopedKey<T>>::set::h43982b7f33126313
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.0/src/lib.rs:135
18: 0x56195041c5bc - tokio_core::reactor::Core::run::hee25ae0193def477
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.12/src/reactor/mod.rs:234
19: 0x561950347262 - flash::foreign_server::send_request_for_bytes::h95a24c75e1544e4c
at src/foreign_server.rs:154
20: 0x56195034ebca - flash::foreign_server::send_request::h5d46c53b7ba995af
at src/foreign_server.rs:112
21: 0x561950348f93 - <flash::foreign_server::HttpForeignServer as flash::foreign_server::ForeignServer>::send_changes::hb3d2d9ca7dc7d0a0
at src/foreign_server.rs:214
22: 0x561950360832 - flash::sync::sync_with_foreign::h594a3a06702937c0
at src/sync.rs:75
23: 0x56195034d3a8 - flash::foreign_server::sync_integration::sync_test::h807e26f3898f2354
at src/foreign_server.rs:400
24: 0x56195034dc68 - flash::foreign_server::sync_integration::sync_works::internal::testfun::hb627ad7b26feab37
at src/foreign_server.rs:356
25: 0x5619501eb8a8 - core::ops::function::Fn::call::h49810c34e8b3dac6
at /checkout/src/libcore/ops/function.rs:73
26: 0x56195032b0f4 - flash::file_database::db_test_helpers::run_test::h360d89e8e6173fd6
at src/file_database.rs:452
27: 0x56195034dc18 - flash::foreign_server::sync_integration::sync_works::h8527f4402ff8b5ac
at src/test_macros.rs:27
28: 0x5619508053e1 - test::run_test::{{closure}}::h962cc1b900767f5f
at /checkout/src/libtest/lib.rs:1442
- core::ops::function::FnOnce::call_once::hd73bf5c262619541
at /checkout/src/libcore/ops/function.rs:223
- <F as alloc::boxed::FnBox<A>>::call_box::h6efbd12e1c081f7c
at /checkout/src/liballoc/boxed.rs:817
29: 0x5619509d8c6e - __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:101
30: 0x561950810cb2 - std::panicking::try::h0bdb54035e0a7e2e
at /checkout/src/libstd/panicking.rs:459
- std::panic::catch_unwind::h9713f32a455d996b
at /checkout/src/libstd/panic.rs:365
- test::run_test::run_test_inner::{{closure}}::h907bc6f86a531d80
at /checkout/src/libtest/lib.rs:1393
- std::sys_common::backtrace::__rust_begin_short_backtrace::ha0d94ed75e95f4bc
at /checkout/src/libstd/sys_common/backtrace.rs:133
31: 0x56195081e402 - std::thread::Builder::spawn::{{closure}}::{{closure}}::hdf5e4b3e50baa70f
at /checkout/src/libstd/thread/mod.rs:406
- <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7c9b3559873512e
at /checkout/src/libstd/panic.rs:300
- std::panicking::try::do_call::h7694b3b6e342c024
at /checkout/src/libstd/panicking.rs:480
32: 0x5619509d8c6e - __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:101
33: 0x56195082655d - std::panicking::try::h80be0d3811dd9b0a
at /checkout/src/libstd/panicking.rs:459
- std::panic::catch_unwind::h01c419cfa5a4606c
at /checkout/src/libstd/panic.rs:365
- std::thread::Builder::spawn::{{closure}}::hee27d2c0254d102c
at /checkout/src/libstd/thread/mod.rs:405
- <F as alloc::boxed::FnBox<A>>::call_box::hdf82735e755f865f
at /checkout/src/liballoc/boxed.rs:817
34: 0x5619509c3757 - <alloc::boxed::Box<alloc::boxed::FnBox<A, Output$u3d$R$GT$$u20$$u2b$$u20$$u27$a$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hb1e3c2da1637af86
at /checkout/src/liballoc/boxed.rs:827
- std::sys_common::thread::start_thread::h0ff8375a6ab48652
at /checkout/src/libstd/sys_common/thread.rs:24
35: 0x5619509c6918 - std::sys::unix::thread::Thread::new::thread_start::h92ae5e7fea8a1d0f
at /checkout/src/libstd/sys/unix/thread.rs:90
36: 0x7fa04334a089 - start_thread
37: 0x7fa042e6a42e - __clone
38: 0x0 - <unknown>) })), backtrace: Some(stack backtrace:
0: 0x561950762e64 - backtrace::backtrace::libunwind::trace::h371130c3922edecc
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace::h6241456bfbea76ed
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/mod.rs:42
1: 0x56195075cd6c - backtrace::capture::Backtrace::new_unresolved::h170d04b789c32bb6
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/capture.rs:88
2: 0x56195075ccbe - backtrace::capture::Backtrace::new::he781b3f0c43cb380
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/capture.rs:63
3: 0x56195075a422 - error_chain::make_backtrace::h67db6fb82d8fbcbe
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/error-chain-0.10.0/src/lib.rs:417
4: 0x56195075a4bf - <error_chain::State as core::default::Default>::default::h12d4aaeadb6c51c0
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/error-chain-0.10.0/src/lib.rs:504
5: 0x56195031ab1d - flash::error::Error::from_kind::h69cd9aee6bdb3043
at /home/frans/Documents/rust/flash/<error_chain_processed macros>:52
6: 0x56195031b137 - <flash::error::Error as core::convert::From<flash::error::ErrorKind>>::from::h77b5c48630dc6656
at src/error.rs:6
7: 0x56195031d227 - <T as core::convert::Into<U>>::into::hf695872c7db28a8d
at /checkout/src/libcore/convert.rs:415
8: 0x56195034ffc8 - flash::foreign_server::send_request_for_bytes::{{closure}}::h7bcc4583b4507d6a
at src/foreign_server.rs:148
9: 0x56195029b2b1 - <core::result::Result<T, E>>::map::heef49a0a9ab09f34
at /checkout/src/libcore/result.rs:468
10: 0x56195036e916 - <futures::future::map::Map<A, F> as futures::future::Future>::poll::h982484f7625c58e6
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/future/map.rs:35
11: 0x56195037c52b - <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::h4716670afd206af3
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:289
12: 0x56195037c6c1 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::h92e57676810d9be1
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:363
13: 0x56195037c258 - futures::task_impl::std::set::h9d940d6245d51452
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/std/mod.rs:78
14: 0x56195037c650 - <futures::task_impl::Spawn<T>>::enter::h759ea8c6dc9b626d
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:363
15: 0x56195037c500 - <futures::task_impl::Spawn<T>>::poll_future_notify::hb266aaba28be8453
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/task_impl/mod.rs:289
16: 0x56195041c9e7 - tokio_core::reactor::Core::run::{{closure}}::h55bce6ebdf46d56d
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.12/src/reactor/mod.rs:235
17: 0x5619503c0076 - <scoped_tls::ScopedKey<T>>::set::h43982b7f33126313
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.0/src/lib.rs:135
18: 0x56195041c5bc - tokio_core::reactor::Core::run::hee25ae0193def477
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.12/src/reactor/mod.rs:234
19: 0x561950347262 - flash::foreign_server::send_request_for_bytes::h95a24c75e1544e4c
at src/foreign_server.rs:154
20: 0x56195034ebca - flash::foreign_server::send_request::h5d46c53b7ba995af
at src/foreign_server.rs:112
21: 0x561950348f93 - <flash::foreign_server::HttpForeignServer as flash::foreign_server::ForeignServer>::send_changes::hb3d2d9ca7dc7d0a0
at src/foreign_server.rs:214
22: 0x561950360832 - flash::sync::sync_with_foreign::h594a3a06702937c0
at src/sync.rs:75
23: 0x56195034d3a8 - flash::foreign_server::sync_integration::sync_test::h807e26f3898f2354
at src/foreign_server.rs:400
24: 0x56195034dc68 - flash::foreign_server::sync_integration::sync_works::internal::testfun::hb627ad7b26feab37
at src/foreign_server.rs:356
25: 0x5619501eb8a8 - core::ops::function::Fn::call::h49810c34e8b3dac6
at /checkout/src/libcore/ops/function.rs:73
26: 0x56195032b0f4 - flash::file_database::db_test_helpers::run_test::h360d89e8e6173fd6
at src/file_database.rs:452
27: 0x56195034dc18 - flash::foreign_server::sync_integration::sync_works::h8527f4402ff8b5ac
at src/test_macros.rs:27
28: 0x5619508053e1 - test::run_test::{{closure}}::h962cc1b900767f5f
at /checkout/src/libtest/lib.rs:1442
- core::ops::function::FnOnce::call_once::hd73bf5c262619541
at /checkout/src/libcore/ops/function.rs:223
- <F as alloc::boxed::FnBox<A>>::call_box::h6efbd12e1c081f7c
at /checkout/src/liballoc/boxed.rs:817
29: 0x5619509d8c6e - __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:101
30: 0x561950810cb2 - std::panicking::try::h0bdb54035e0a7e2e
at /checkout/src/libstd/panicking.rs:459
- std::panic::catch_unwind::h9713f32a455d996b
at /checkout/src/libstd/panic.rs:365
- test::run_test::run_test_inner::{{closure}}::h907bc6f86a531d80
at /checkout/src/libtest/lib.rs:1393
- std::sys_common::backtrace::__rust_begin_short_backtrace::ha0d94ed75e95f4bc
at /checkout/src/libstd/sys_common/backtrace.rs:133
31: 0x56195081e402 - std::thread::Builder::spawn::{{closure}}::{{closure}}::hdf5e4b3e50baa70f
at /checkout/src/libstd/thread/mod.rs:406
- <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7c9b3559873512e
at /checkout/src/libstd/panic.rs:300
- std::panicking::try::do_call::h7694b3b6e342c024
at /checkout/src/libstd/panicking.rs:480
32: 0x5619509d8c6e - __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:101
33: 0x56195082655d - std::panicking::try::h80be0d3811dd9b0a
at /checkout/src/libstd/panicking.rs:459
- std::panic::catch_unwind::h01c419cfa5a4606c
at /checkout/src/libstd/panic.rs:365
- std::thread::Builder::spawn::{{closure}}::hee27d2c0254d102c
at /checkout/src/libstd/thread/mod.rs:405
- <F as alloc::boxed::FnBox<A>>::call_box::hdf82735e755f865f
at /checkout/src/liballoc/boxed.rs:817
34: 0x5619509c3757 - <alloc::boxed::Box<alloc::boxed::FnBox<A, Output$u3d$R$GT$$u20$$u2b$$u20$$u27$a$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hb1e3c2da1637af86
at /checkout/src/liballoc/boxed.rs:827
- std::sys_common::thread::start_thread::h0ff8375a6ab48652
at /checkout/src/libstd/sys_common/thread.rs:24
35: 0x5619509c6918 - std::sys::unix::thread::Thread::new::thread_start::h92ae5e7fea8a1d0f
at /checkout/src/libstd/sys/unix/thread.rs:90
36: 0x7fa04334a089 - start_thread
37: 0x7fa042e6a42e - __clone
38: 0x0 - <unknown>) })', /checkout/src/libcore/result.rs:916: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 /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::print
at /checkout/src/libstd/sys_common/backtrace.rs:68
at /checkout/src/libstd/sys_common/backtrace.rs:57
2: std::panicking::default_hook::{{closure}}
at /checkout/src/libstd/panicking.rs:381
3: std::panicking::default_hook
at /checkout/src/libstd/panicking.rs:391
4: std::panicking::rust_panic_with_hook
at /checkout/src/libstd/panicking.rs:577
5: std::panicking::begin_panic
at /checkout/src/libstd/panicking.rs:538
6: std::panicking::begin_panic_fmt
at /checkout/src/libstd/panicking.rs:522
7: rust_begin_unwind
at /checkout/src/libstd/panicking.rs:498
8: core::panicking::panic_fmt
at /checkout/src/libcore/panicking.rs:71
9: core::result::unwrap_failed
at /checkout/src/libcore/macros.rs:23
10: <core::result::Result<T, E>>::expect
at /checkout/src/libcore/result.rs:809
11: flash::foreign_server::sync_integration::sync_test
at src/foreign_server.rs:400
12: flash::foreign_server::sync_integration::sync_works::internal::testfun
at src/foreign_server.rs:356
13: core::ops::function::Fn::call
at /checkout/src/libcore/ops/function.rs:73
14: flash::file_database::db_test_helpers::run_test
at src/file_database.rs:452
15: flash::foreign_server::sync_integration::sync_works
at src/test_macros.rs:27
16: <F as alloc::boxed::FnBox<A>>::call_box
at /checkout/src/libtest/lib.rs:1442
at /checkout/src/libcore/ops/function.rs:223
at /checkout/src/liballoc/boxed.rs:817
17: __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment