ducklogic / rust-dynamic-arena Goto Github PK
View Code? Open in Web Editor NEWDynamically typed arenas for rust, supporting any `Sized` type.
License: MIT License
Dynamically typed arenas for rust, supporting any `Sized` type.
License: MIT License
running 6 tests
test bytes::tests::test_send ... ok
test test::copyable ... ok
test test::self_referential ... ok
test test::test_send ... ok
error: process didn't exit successfully: `/Users/jrmuizel/src/rust-dynamic-arena/target/debug/deps/dynamic_arena-e9467e3bbd45202c` (signal: 1
* thread #2, name = 'test::drop_counted', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000100012c1d dynamic_arena-e9467e3bbd45202c`_$LT$core..cell..Cell$LT$T$GT$$GT$::get::h4c5c3039b7a63fca(self=0x0000000000000000) at cell.rs:249
* frame #1: 0x0000000100004858 dynamic_arena-e9467e3bbd45202c`_$LT$dynamic_arena..test..DropCounted$LT$$u27$a$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h1770af6a20fdaeab(self=0x000000010080b600) at lib.rs:263
frame #2: 0x000000010000e485 dynamic_arena-e9467e3bbd45202c`core::ptr::real_drop_in_place::h3382aa8293354b24((null)=0x000000010080b600) at ptr.rs:193
frame #3: 0x0000000100010f05 dynamic_arena-e9467e3bbd45202c`core::ptr::drop_in_place::hcffe83d3690875ef(to_drop=0x000000010080b600) at ptr.rs:183
frame #4: 0x00000001000045b8 dynamic_arena-e9467e3bbd45202c`_$LT$dynamic_arena..DynamicArenaItem$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8f19dc1aa4f1d2ea(self=0x00000001001e5000) at lib.rs:50
frame #5: 0x000000010000df85 dynamic_arena-e9467e3bbd45202c`core::ptr::real_drop_in_place::h0d781cfa4376da81((null)=0x00000001001e5000) at ptr.rs:193
frame #6: 0x000000010000ec6b dynamic_arena-e9467e3bbd45202c`core::ptr::real_drop_in_place::hc55fcd754ca8ec1f((null)=&mut [dynamic_arena::DynamicArenaItem] @ 0x000070000c259470) at ptr.rs:193
frame #7: 0x0000000100003f8a dynamic_arena-e9467e3bbd45202c`_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h36d83ff42fea996a [inlined] core::ptr::drop_in_place::h563237f311c06c32(to_drop=*mut [dynamic_arena::DynamicArenaItem] @ 0x000070000c2594e0) at ptr.rs:183
frame #8: 0x0000000100003f7d dynamic_arena-e9467e3bbd45202c`_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h36d83ff42fea996a(self=0x000070000c259750) at vec.rs:2102
frame #9: 0x000000010000e065 dynamic_arena-e9467e3bbd45202c`core::ptr::real_drop_in_place::h1494faefe1ee933e((null)=0x000070000c259750) at ptr.rs:193
frame #10: 0x000000010000eb85 dynamic_arena-e9467e3bbd45202c`core::ptr::real_drop_in_place::hc062afd811b758cb((null)=0x000070000c259750) at ptr.rs:193
frame #11: 0x000000010000e9d9 dynamic_arena-e9467e3bbd45202c`core::ptr::real_drop_in_place::h9ea9e1390ce67317((null)=0x000070000c259748) at ptr.rs:193
frame #12: 0x000000010000e01a dynamic_arena-e9467e3bbd45202c`core::ptr::real_drop_in_place::h1326781a6cb5f017((null)=0x000070000c259718) at ptr.rs:193
frame #13: 0x000000010000ef89 dynamic_arena-e9467e3bbd45202c`core::mem::drop::h4437a06f464d85d5(_x=<unavailable>) at mem.rs:802
frame #14: 0x0000000100005700 dynamic_arena-e9467e3bbd45202c`dynamic_arena::test::drop_counted::h4ab83dcbbd6ca4db at lib.rs:317
frame #15: 0x000000010000dba1 dynamic_arena-e9467e3bbd45202c`dynamic_arena::test::drop_counted::_$u7b$$u7b$closure$u7d$$u7d$::h17a15f8f14374ca4((null)=0x000070000c259850) at lib.rs:310
frame #16: 0x000000010000de91 dynamic_arena-e9467e3bbd45202c`core::ops::function::FnOnce::call_once::ha10cb9cd957540b3((null)=closure @ 0x000070000c259850, (null)=<unavailable>) at function.rs:231
frame #17: 0x000000010001baa2 dynamic_arena-e9467e3bbd45202c`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::ha57ff32e98db5242 [inlined] test::run_test::_$u7b$$u7b$closure$u7d$$u7d$::h6f003c9f966958cf at lib.rs:1473 [opt]
frame #18: 0x000000010001ba9d dynamic_arena-e9467e3bbd45202c`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::ha57ff32e98db5242 [inlined] core::ops::function::FnOnce::call_once::hf51c3b412cb89d02 at function.rs:231 [opt]
frame #19: 0x000000010001ba9d dynamic_arena-e9467e3bbd45202c`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::ha57ff32e98db5242 at boxed.rs:724 [opt]
frame #20: 0x000000010005e8ef dynamic_arena-e9467e3bbd45202c`__rust_maybe_catch_panic at lib.rs:92 [opt]
frame #21: 0x0000000100037c97 dynamic_arena-e9467e3bbd45202c`test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4e142830694633e3 [inlined] std::panicking::try::hccd20a26fc10d8a2 at panicking.rs:276 [opt]
frame #22: 0x0000000100037c52 dynamic_arena-e9467e3bbd45202c`test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4e142830694633e3 [inlined] std::panic::catch_unwind::h6dfe464d45832c0b at panic.rs:388 [opt]
frame #23: 0x0000000100037c52 dynamic_arena-e9467e3bbd45202c`test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4e142830694633e3 at lib.rs:1428 [opt]
frame #24: 0x00000001000142f5 dynamic_arena-e9467e3bbd45202c`std::sys_common::backtrace::__rust_begin_short_backtrace::h10035e54e898d19d at backtrace.rs:135 [opt]
frame #25: 0x00000001000148e5 dynamic_arena-e9467e3bbd45202c`std::panicking::try::do_call::h754d99e7e4885702 [inlined] std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h664a8380e3498653 at mod.rs:469 [opt]
frame #26: 0x00000001000148d2 dynamic_arena-e9467e3bbd45202c`std::panicking::try::do_call::h754d99e7e4885702 [inlined] _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h740dc743d1f8fa20 at panic.rs:309 [opt]
frame #27: 0x00000001000148d2 dynamic_arena-e9467e3bbd45202c`std::panicking::try::do_call::h754d99e7e4885702 at panicking.rs:297 [opt]
frame #28: 0x000000010005e8ef dynamic_arena-e9467e3bbd45202c`__rust_maybe_catch_panic at lib.rs:92 [opt]
frame #29: 0x000000010001b935 dynamic_arena-e9467e3bbd45202c`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h7c401eda4a7d8212 [inlined] std::panicking::try::h5cde858570f1fd8a at panicking.rs:276 [opt]
frame #30: 0x000000010001b8fc dynamic_arena-e9467e3bbd45202c`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h7c401eda4a7d8212 [inlined] std::panic::catch_unwind::ha887f2c500834ab5 at panic.rs:388 [opt]
frame #31: 0x000000010001b8fc dynamic_arena-e9467e3bbd45202c`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h7c401eda4a7d8212 [inlined] std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h246141889f01369c at mod.rs:468 [opt]
frame #32: 0x000000010001b8be dynamic_arena-e9467e3bbd45202c`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h7c401eda4a7d8212 at boxed.rs:724 [opt]
frame #33: 0x000000010005e37c dynamic_arena-e9467e3bbd45202c`std::sys::unix::thread::Thread::new::thread_start::hd8be752d713d6f15 [inlined] _$LT$alloc..boxed..Box$LT$$LP$dyn$u20$alloc..boxed..FnBox$LT$A$C$$u20$Output$u3d$R$GT$$u20$$u2b$$u20$$u27$a$RP$$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hf53739ffd5875429 at boxed.rs:734 [opt]
frame #34: 0x000000010005e379 dynamic_arena-e9467e3bbd45202c`std::sys::unix::thread::Thread::new::thread_start::hd8be752d713d6f15 [inlined] std::sys_common::thread::start_thread::hc1446b79a6d13ab9 at thread.rs:14 [opt]
frame #35: 0x000000010005e2fe dynamic_arena-e9467e3bbd45202c`std::sys::unix::thread::Thread::new::thread_start::hd8be752d713d6f15 at thread.rs:81 [opt]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.