Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add template parameter debuginfo to generic types #55010

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

tromey
Copy link
Contributor

@tromey tromey commented Oct 12, 2018

This changes debuginfo generation to add template parameters to
generic types. With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:

<2><40d>: Abbrev Number: 6 (DW_TAG_structure_type)
<40e> DW_AT_name : (indirect string, offset: 0x375): Generic
<412> DW_AT_byte_size : 4
<413> DW_AT_alignment : 4
...
<3><41f>: Abbrev Number: 8 (DW_TAG_template_type_param)
<420> DW_AT_type : <0x42a>
<424> DW_AT_name : (indirect string, offset: 0xa65e): T

Closes #9224

@rust-highfive
Copy link
Collaborator

r? @michaelwoerister

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 12, 2018
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:48:16] .................................................................................................... 2200/4591
[00:48:20] .............i...................................................................................... 2300/4591
[00:48:24] .................................................................................................... 2400/4591
[00:48:27] .................................................................................................... 2500/4591
[00:48:31] ..........................iiiiiiiii................................................................. 2600/4591
[00:48:37] .................................................................................................... 2800/4591
[00:48:41] .................................................................................................... 2900/4591
[00:48:43] ..............................................i..................................................... 3000/4591
[00:48:46] .................................................................................................... 3100/4591
---
travis_time:start:test_codegen
Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:01:11] 
[01:01:11] running 112 tests
[01:01:14] i..ii...iii.......i...i..........i..iii...........i.....i.....ii...i.i.ii..............i...ii..ii.i. 100/112
[01:01:14] test result: ok. 82 passed; 0 failed; 30 ignored; 0 measured; 0 filtered out
[01:01:14] 
[01:01:14]  finished in 3.414
[01:01:14] travis_fold:end:test_codegen
---
travis_time:start:test_debuginfo
Check compiletest suite=debuginfo mode=debuginfo-gdb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:01:29] 
[01:01:29] running 110 tests
[01:01:39] iiii.......i..i........i..i.i.............i..........iiii...........i....i.F........ii.i.i.......ii. 100/110
3025284 ./obj
2809240 ./obj/build
2176700 ./obj/build/x86_64-unknown-linux-gnu
1069824 ./src
---
151492 ./obj/build/bootstrap/debug/incremental
151412 ./src/tools/clang
149112 ./src/llvm-emscripten/test
136476 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu
136472 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unk\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:39bcc22c
travis_time:start:39bcc22c
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0d606feb
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@tromey
Copy link
Contributor Author

tromey commented Oct 12, 2018

Fails when built against LLVM 5 or 6, works when LLVM is built in-tree.

@tromey tromey force-pushed the Bug-9224-generic-parameters branch from 797f2ba to 670ea7b Compare October 15, 2018 18:35
@tromey
Copy link
Contributor Author

tromey commented Oct 15, 2018

Had to delay setting the type parameters until the struct was filled in; which makes sense, the mystery being why it failed with the in-tree LLVM.

Copy link
Member

@michaelwoerister michaelwoerister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @tromey! Looks good. However, would it be possible to use a single replaceArrays() call to set both the members and the type parameters? Then you wouldn't have to add LLVMRustDIBuilderReplaceTemplateParams (just extend adapt LLVMRustDICompositeTypeSetTypeArray).

src/test/codegen/generic-debug.rs Outdated Show resolved Hide resolved
@tromey tromey force-pushed the Bug-9224-generic-parameters branch from 670ea7b to 8a3bb9a Compare October 22, 2018 23:56
@tromey
Copy link
Contributor Author

tromey commented Oct 22, 2018

Rebased + tried to address review comments. Let me know what you think.

@michaelwoerister
Copy link
Member

Looks great, thank you!

@bors r+

@bors
Copy link
Contributor

bors commented Oct 23, 2018

📌 Commit 8a3bb9a has been approved by michaelwoerister

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 23, 2018
pietroalbini added a commit to pietroalbini/rust that referenced this pull request Oct 25, 2018
… r=michaelwoerister

Add template parameter debuginfo to generic types

This changes debuginfo generation to add template parameters to
generic types.  With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:

 <2><40d>: Abbrev Number: 6 (DW_TAG_structure_type)
    <40e>   DW_AT_name        : (indirect string, offset: 0x375): Generic<i32>
    <412>   DW_AT_byte_size   : 4
    <413>   DW_AT_alignment   : 4
...
 <3><41f>: Abbrev Number: 8 (DW_TAG_template_type_param)
    <420>   DW_AT_type        : <0x42a>
    <424>   DW_AT_name        : (indirect string, offset: 0xa65e): T

Closes rust-lang#9224
@bors
Copy link
Contributor

bors commented Oct 27, 2018

⌛ Testing commit 8a3bb9a with merge 7c41b8c778b18bd9c6e4446bd876adc655c2702f...

@bors
Copy link
Contributor

bors commented Oct 27, 2018

💔 Test failed - status-appveyor

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 27, 2018
@kennytm
Copy link
Member

kennytm commented Oct 27, 2018

Failed to stage 1 libcore on x86_64-pc-windows-msvc where the LLVM assertions are enabled. There isn't any error message about the failure. I doubt that this is a spurious crash.

[00:24:14] [RUSTC-TIMING] core test:false 42.082
[00:24:14] error: Could not compile `core`.
[00:24:14] 
[00:24:14] To learn more, run the command again with --verbose.
[00:24:14] command did not execute successfully: "C:\\projects\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "build" "--target" "x86_64-pc-windows-msvc" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace profiler" "--manifest-path" "C:\\projects\\rust\\src/libstd/Cargo.toml" "--message-format" "json"
[00:24:14] expected success, got: exit code: 101
[00:24:14] thread 'main' panicked at 'cargo must succeed', bootstrap\compile.rs:1115:9
[00:24:14] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[00:24:14] failed to run: C:\projects\rust\build\bootstrap\debug\bootstrap dist
[00:24:14] Build completed unsuccessfully in 0:18:25
[00:24:14] Command exited with code 1
[00:24:14] set PATH=%PATH%;"C:\Program Files (x86)\Windows Kits\10\Debuggers\X64"
[00:24:14] if exist %LOCALAPPDATA%\CrashDumps for %%f in (%LOCALAPPDATA%\CrashDumps\*) do cdb -c "k;q" -G -z "%%f"

@kennytm kennytm added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 27, 2018
@tromey tromey force-pushed the Bug-9224-generic-parameters branch from 8a3bb9a to 2a3f38b Compare October 30, 2018 13:50
@michaelwoerister
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Oct 30, 2018

📌 Commit 2a3f38bbff21cf2107b77d8051ff542095b7baca has been approved by michaelwoerister

@bors
Copy link
Contributor

bors commented Dec 2, 2018

⌛ Testing commit fb204cb with merge 4d3c2da893443aab6d006a629c4293a79004f8af...

@bors
Copy link
Contributor

bors commented Dec 2, 2018

💔 Test failed - status-travis

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 2, 2018
@rust-highfive
Copy link
Collaborator

The job x86_64-apple of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:02:44]       Memory: 8 GB
[00:02:44]       Boot ROM Version: VMW71.00V.0.B64.1704110547
[00:02:44]       Apple ROM Info: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]Welcome to the Virtual Machine
[00:02:44]       SMC Version (system): 2.8f0
[00:02:44]       Serial Number (system): VMlwZRryV1D3
[00:02:44] 
[00:02:44] hw.ncpu: 4
[00:02:44] hw.byteorder: 1234
[00:02:44] hw.memsize: 8589934592
---
[01:38:27] stdout:
[01:38:27] ------------------------------------------
[01:38:27] 
[01:38:27] running 3 tests
[01:38:27] test src/test/rustdoc/test_option_check/bar.rs - bar::foooo (line 16) ... FAILED
[01:38:27] test src/test/rustdoc/test_option_check/test.rs - Foo (line 18) ... ok
[01:38:27] test src/test/rustdoc/test_option_check/test.rs - Bar (line 25) ... ok
[01:38:27] failures:
[01:38:27] 
[01:38:27] 
[01:38:27] ---- src/test/rustdoc/test_option_check/bar.rs - bar::foooo (line 16) stdout ----
[01:38:27] error: linking with `cc` failed: signal: 4
[01:38:27]   |
[01:38:27]   = note: "cc" "-m64" "-L" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out.rust_out.7rcbfp3g-cgu.1.rcgu.o" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out.rust_out.7rcbfp3g-cgu.2.rcgu.o" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out.rust_out.7rcbfp3g-cgu.3.rcgu.o" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out.rust_out.7rcbfp3g-cgu.4.rcgu.o" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out.rust_out.7rcbfp3g-cgu.5.rcgu.o" "-o" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out" "/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/rustdoctestx0p9ot/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib" "-L" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/rustdoc/test_option_check/test/auxiliary" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libstd-ae69a760be8b7053.rlib" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-e4468e88cc678cc0.rlib" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libunwind-d4351380f83add85.rlib" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/liblibc-e14d637badce231e.rlib" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/liballoc-85796c6312c279e8.rlib" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libcore-879924ea8a001728.rlib" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-5d6e0e7618d0f2e8.rlib" "-lSystem" "-lresolv" "-lc" "-lm"
[01:38:27] 
[01:38:27] 
[01:38:27] thread 'src/test/rustdoc/test_option_check/bar.rs - bar::foooo (line 16)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:323:13
[01:38:27] 
[01:38:27] 
[01:38:27] failures:
[01:38:27] failures:
[01:38:27]     src/test/rustdoc/test_option_check/bar.rs - bar::foooo (line 16)
[01:38:27] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
[01:38:27] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:503:22
[01:38:27] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:503:22
[01:38:28] make: *** [check] Error 1
[01:38:28] 
[01:38:28] ------------------------------------------
[01:38:28] stderr:
[01:38:28] ------------------------------------------
---
[01:38:28] test result: FAILED. 274 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out
[01:38:28] 
[01:38:28] 
[01:38:28] 
[01:38:28] command did not execute successfully: "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage0-tools-bin/compiletest" "--compile-lib-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib" "--run-lib-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib" "--rustc-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc" "--rustdoc-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustdoc" "--src-base" "/Users/travis/build/rust-lang/rust/src/test/rustdoc" "--build-base" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/rustdoc" "--stage-id" "stage2-x86_64-apple-darwin" "--mode" "rustdoc" "--target" "x86_64-apple-darwin" "--host" "x86_64-apple-darwin" "--llvm-filecheck" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/bin/FileCheck" "--nodejs" "/Users/travis/.nvm/versions/node/v6.12.3/bin/node" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "--docck-python" "/usr/local/opt/python/bin/python2.7" "--lldb-python" "/usr/bin/python" "--lldb-version" "lldb-902.0.73.1\n  Swift-4.1\n" "--lldb-python-dir" "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" "--llvm-version" "8.0.0svn\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:38:28] 
[01:38:28] 
[01:38:28] failed to run: /Users/travis/build/rust-lang/rust/build/bootstrap/debug/bootstrap test
[01:38:28] Build completed unsuccessfully in 0:33:21
---
travis_fold:start:after_failure.2
travis_time:start:08d567b7
$ ls -lat $HOME/Library/Logs/DiagnosticReports/
total 1184
drwx------  21 travis  staff    714 Dec  2 04:47 .
-rw-------@  1 travis  staff  37481 Dec  2 04:47 a_2018-12-02-044734_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  62244 Dec  2 04:47 a_2018-12-02-044733_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  37237 Dec  2 04:47 a_2018-12-02-044725-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  60388 Dec  2 04:47 a_2018-12-02-044725_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10142 Dec  2 04:47 a_2018-12-02-044719_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9873 Dec  2 04:47 a_2018-12-02-044714_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9878 Dec  2 04:47 a_2018-12-02-044706_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9795 Dec  2 04:47 a_2018-12-02-044705_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10034 Dec  2 04:46 a_2018-12-02-044627_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  63074 Dec  2 04:46 a_2018-12-02-044618_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  65090 Dec  2 04:46 a_2018-12-02-044615-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  63914 Dec  2 04:46 a_2018-12-02-044615-2_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  64247 Dec  2 04:46 a_2018-12-02-044615_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  11732 Dec  2 04:44 a_2018-12-02-044402_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9897 Dec  2 04:43 a_2018-12-02-044301_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10304 Dec  2 04:41 a_2018-12-02-044135_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10491 Dec  2 04:40 a_2018-12-02-044033-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10489 Dec  2 04:40 a_2018-12-02-044033_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10213 Dec  2 04:40 a_2018-12-02-044028_Traviss-Mac-1044.crash
drwx------+ 15 travis  staff    510 Jan 25  2018 ..
travis_fold:end:after_failure.2
travis_fold:start:after_failure.3
travis_time:start:0e6cae1c
$ find $HOME/Library/Logs/DiagnosticReports -type f -name '*.crash' -not -name '*.stage2-*.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true
$ find $HOME/Library/Logs/DiagnosticReports -type f -name '*.crash' -not -name '*.stage2-*.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/a_2018-12-02-044028_Traviss-Mac-1044.crash
Process:               a [41029]
Path:                  /Users/USER/*/a
Identifier:            a
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [41028]
Responsible:           a [41029]
User ID:               501
Date/Time:             2018-12-02 04:39:56.799 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 4600 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   a                              0x000000010c9de82e abort_on_c_abi::panic_in_ffi::h5d17554117e8ddd6 + 30
1   a                              0x000000010c9ddc29 std::panicking::try::do_call::h211e714b11d774c9 (.llvm.7997648915036031443) + 9
2   libstd-ae69a760be8b7053.dylib  0x000000010ca276af __rust_maybe_catch_panic + 31
3   a                              0x000000010c9dea81 abort_on_c_abi::main::ha239c5d4a2ab8e27 + 593
4   a                              0x000000010c9dcfd6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h98f4e1f0429f2c0d + 6
5   libstd-ae69a760be8b7053.dylib  0x000000010ca0b638 std::panicking::try::do_call::hf1ad3dd8ac46e133 + 24
6   libstd-ae69a760be8b7053.dylib  0x000000010ca276af __rust_maybe_catch_panic + 31
7   libstd-ae69a760be8b7053.dylib  0x000000010ca0c08b std::rt::lang_start_internal::h4d4eaeb8b8c2eb51 + 379
8   a                              0x000000010c9ded89 main + 41
9   libdyld.dylib                  0x00007fff6d87f115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007fe9a8500010  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x00007ffee32212b8  rsi: 0x00000000ffffffc3  rbp: 0x00007ffee3221d10  rsp: 0x00007ffee3221d10
   r8: 0x000000009a850006   r9: 0x0000000000000004  r10: 0x00000001161518d0  r11: 0x00007fff6db3696c
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x00007ffee3221e30  r15: 0x00007ffee3221d78
  rip: 0x000000010c9de82e  rfl: 0x0000000000010206  cr2: 0x000000010ca65174
Logical CPU:     2
Error Code:      0x00000000
Trap Number:     6
Binary Images:
       0x10c9dc000 -        0x10c9dfff7 +a (0) <38E2C06A-023E-3746-8C7D-E05720556A8D> /Users/USER/*/a
       0x10c9e6000 -        0x10ca7eff7 +libstd-ae69a760be8b7053.dylib (0) <10266855-9DAE-3868-991A-7C8B5E1782CB> /Users/USER/*/libstd-ae69a760be8b7053.dylib
       0x1160ff000 -        0x11614998f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6b0e9000 -     0x7fff6b11cfff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff6b5fb000 -     0x7fff6b5fcff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff6b8b1000 -     0x7fff6b907fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff6b908000 -     0x7fff6b92cff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff6cc7e000 -     0x7fff6d06f3b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff6d13c000 -     0x7fff6d158ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff6d716000 -     0x7fff6d71aff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff6d71b000 -     0x7fff6d725ff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff6d726000 -     0x7fff6d72dfff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff6d72e000 -     0x7fff6d736ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff6d737000 -     0x7fff6d7bcfff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff6d844000 -     0x7fff6d87dff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff6d87e000 -     0x7fff6d89bff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff6d89c000 -     0x7fff6d89cffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff6d8aa000 -     0x7fff6d8aaff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff6d8ab000 -     0x7fff6d8afffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff6d8b0000 -     0x7fff6d8b2ff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff6d8b3000 -     0x7fff6d8b4ff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff6d8b5000 -     0x7fff6d8ccfff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff6d8cd000 -     0x7fff6d8cdfff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff6d8ce000 -     0x7fff6d957ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff6d958000 -     0x7fff6d95bffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff6d95c000 -     0x7fff6d95fffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff6d960000 -     0x7fff6d961fff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff6d962000 -     0x7fff6d968ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff6d969000 -     0x7fff6d9b2ff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff6d9b3000 -     0x7fff6d9d8ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff6d9d9000 -     0x7fff6da24fcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff6da25000 -     0x7fff6da44fff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff6da45000 -     0x7fff6dae9ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff6daea000 -     0x7fff6daf4ffb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff6daf5000 -     0x7fff6dafeff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff6daff000 -     0x7fff6db06ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff6db07000 -     0x7fff6db12fff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff6db13000 -     0x7fff6db16ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff6db17000 -     0x7fff6db18ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff6db19000 -     0x7fff6db20ff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff6db21000 -     0x7fff6db34ff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff6db36000 -     0x7fff6db3bff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff6db3c000 -     0x7fff6db68ff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib
External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by this process:
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by all processes on this machine:
  Calls made by all processes on this machine:
    task_for_pid: 2061
    thread_create: 0
VM Region Summary:
VM Region Summary:
ReadOnly portion of Libraries: Total=198.3M resident=0K(0%) swapped_out_or_unallocated=198.3M(100%)
Writable regions: Total=74.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=74.4M(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            10.0M        8 
MALLOC guard page                   16K        5 
Stack Guard                          4K        2 
VM_ALLOCATE                          4K        2 
VM_ALLOCATE                          4K        2 
VM_ALLOCATE (reserved)             128K        2         reserved VM address space (unallocated)
__DATA                            4516K       44 
__LINKEDIT                       188.9M        5 
__TEXT                            9628K       44 
===========                     =======  ======= 
TOTAL                            276.9M      108 
TOTAL                            276.9M      108 
TOTAL, minus reserved VM space   276.8M      108 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/a_2018-12-02-044033-1_Traviss-Mac-1044.crash
Process:               a [41833]
Path:                  /Users/USER/*/a
Identifier:            a
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [41824]
Responsible:           a [41833]
User ID:               501
Date/Time:             2018-12-02 04:40:33.037 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 4600 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libstd-ae69a760be8b7053.dylib  0x000000010ff50dcc std::panicking::rust_panic_with_hook::h882331ce966992a7 + 668
1   a                              0x000000010ff1c7f5 std::panicking::begin_panic::h1f882e7d309b9a05 + 37
2   a                              0x000000010ff1a2bc _$LT$backtrace..double..Double$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf67a6b0d57ebdabe + 28
3   a                              0x000000010ff19cc9 core::ptr::real_drop_in_place::h750e7c333f48b3c7 + 9
4   a                              0x000000010ff1a293 backtrace::double::h0c99cc05786c6af0 + 35
5   a                              0x000000010ff1b42e backtrace::main::hcde7a1a1c3c85e77 + 4238 (backtrace.rs:113)
6   a                              0x000000010ff197b6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h9c08e61b669c8d8a + 6 (rt.rs:74)
7   libstd-ae69a760be8b7053.dylib  0x000000010ff50638 std::panicking::try::do_call::hf1ad3dd8ac46e133 + 24
8   libstd-ae69a760be8b7053.dylib  0x000000010ff6c6af __rust_maybe_catch_panic + 31
9   libstd-ae69a760be8b7053.dylib  0x000000010ff5108b std::rt::lang_start_internal::h4d4eaeb8b8c2eb51 + 379
10  a                              0x000000010ff1bcb9 main + 41
11  libdyld.dylib                  0x00007fff6d87f115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000002  rcx: 0x0000000000000003  rdx: 0x0000000000000000
  rdi: 0x0000000000000002  rsi: 0x000000010ff94de6  rbp: 0x00007ffedfce8b50  rsp: 0x00007ffedfce8a80
   r8: 0x000000010ff93640   r9: 0x000000010ffcb550  r10: 0x000000000000002b  r11: 0x0000000000000296
  r12: 0x0000000000000000  r13: 0x000000010ff93640  r14: 0x000000010ff1e460  r15: 0x00007ffedfce8b60
  rip: 0x000000010ff50dcc  rfl: 0x0000000000010206  cr2: 0x000000011e8dc008
Logical CPU:     2
Error Code:      0x00000000
Trap Number:     6
Binary Images:
       0x10ff15000 -        0x10ff1dfff +a (0) <C4D955E0-2204-3B66-AD5A-C8CA41DECDF7> /Users/USER/*/a
       0x10ff2b000 -        0x10ffc3ff7 +libstd-ae69a760be8b7053.dylib (0) <10266855-9DAE-3868-991A-7C8B5E1782CB> /Users/USER/*/libstd-ae69a760be8b7053.dylib
       0x11ca09000 -        0x11ca5398f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6b0e9000 -     0x7fff6b11cfff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff6b5fb000 -     0x7fff6b5fcff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff6b8b1000 -     0x7fff6b907fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff6b908000 -     0x7fff6b92cff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff6cc7e000 -     0x7fff6d06f3b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff6d13c000 -     0x7fff6d158ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff6d716000 -     0x7fff6d71aff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff6d71b000 -     0x7fff6d725ff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff6d726000 -     0x7fff6d72dfff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff6d72e000 -     0x7fff6d736ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff6d737000 -     0x7fff6d7bcfff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff6d844000 -     0x7fff6d87dff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff6d87e000 -     0x7fff6d89bff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff6d89c000 -     0x7fff6d89cffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff6d8aa000 -     0x7fff6d8aaff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff6d8ab000 -     0x7fff6d8afffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff6d8b0000 -     0x7fff6d8b2ff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff6d8b3000 -     0x7fff6d8b4ff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff6d8b5000 -     0x7fff6d8ccfff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff6d8cd000 -     0x7fff6d8cdfff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff6d8ce000 -     0x7fff6d957ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff6d958000 -     0x7fff6d95bffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff6d95c000 -     0x7fff6d95fffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff6d960000 -     0x7fff6d961fff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff6d962000 -     0x7fff6d968ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff6d969000 -     0x7fff6d9b2ff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff6d9b3000 -     0x7fff6d9d8ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff6d9d9000 -     0x7fff6da24fcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff6da25000 -     0x7fff6da44fff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff6da45000 -     0x7fff6dae9ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff6daea000 -     0x7fff6daf4ffb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff6daf5000 -     0x7fff6dafeff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff6daff000 -     0x7fff6db06ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff6db07000 -     0x7fff6db12fff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff6db13000 -     0x7fff6db16ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff6db17000 -     0x7fff6db18ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff6db19000 -     0x7fff6db20ff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff6db21000 -     0x7fff6db34ff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff6db36000 -     0x7fff6db3bff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff6db3c000 -     0x7fff6db68ff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib
External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by this process:
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by all processes on this machine:
  Calls made by all processes on this machine:
    task_for_pid: 2061
    thread_create: 0
VM Region Summary:
VM Region Summary:
ReadOnly portion of Libraries: Total=198.4M resident=0K(0%) swapped_out_or_unallocated=198.4M(100%)
Writable regions: Total=92.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=92.8M(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            28.5M        9 
MALLOC guard page                   16K        4 
Stack Guard                          4K        2 
VM_ALLOCATE                          4K        2 
VM_ALLOCATE                          4K        2 
VM_ALLOCATE (reserved)             128K        2         reserved VM address space (unallocated)
__DATA                            4516K       44 
__LINKEDIT                       189.0M        5 
__TEXT                            9648K       44 
===========                     =======  ======= 
TOTAL                            295.4M      108 
TOTAL                            295.4M      108 
TOTAL, minus reserved VM space   295.3M      108 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/a_2018-12-02-044033_Traviss-Mac-1044.crash
Process:               a [41832]
Path:                  /Users/USER/*/a
Identifier:            a
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        a [41824]
Responsible:           a [41832]
User ID:               501
Date/Time:             2018-12-02 04:40:32.921 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 4600 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libstd-ae69a760be8b7053.dylib  0x0000000109c27dcc std::panicking::rust_panic_with_hook::h882331ce966992a7 + 668
1   a                              0x0000000109bf07f5 std::panicking::begin_panic::h1f882e7d309b9a05 + 37
2   a                              0x0000000109bee2bc _$LT$backtrace..double..Double$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf67a6b0d57ebdabe + 28
3   a                              0x0000000109bedcc9 core::ptr::real_drop_in_place::h750e7c333f48b3c7 + 9
4   a                              0x0000000109bee293 backtrace::double::h0c99cc05786c6af0 + 35
5   a                              0x0000000109bef42e backtrace::main::hcde7a1a1c3c85e77 + 4238 (backtrace.rs:113)
6   a                              0x0000000109bed7b6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h9c08e61b669c8d8a + 6 (rt.rs:74)
7   libstd-ae69a760be8b7053.dylib  0x0000000109c27638 std::panicking::try::do_call::hf1ad3dd8ac46e133 + 24
8   libstd-ae69a760be8b7053.dylib  0x0000000109c436af __rust_maybe_catch_panic + 31
9   libstd-ae69a760be8b7053.dylib  0x0000000109c2808b std::rt::lang_start_internal::h4d4eaeb8b8c2eb51 + 379
10  a                              0x0000000109befcb9 main + 41
11  libdyld.dylib                  0x00007fff6d87f115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000002  rcx: 0x0000000000000003  rdx: 0x0000000000000000
  rdi: 0x0000000000000002  rsi: 0x0000000109c6bde6  rbp: 0x00007ffee6014b60  rsp: 0x00007ffee6014a90
   r8: 0x0000000109c6a640   r9: 0x0000000109ca2550  r10: 0x000000000000002b  r11: 0x0000000000000296
  r12: 0x0000000000000000  r13: 0x0000000109c6a640  r14: 0x0000000109bf2460  r15: 0x00007ffee6014b70
  rip: 0x0000000109c27dcc  rfl: 0x0000000000010202  cr2: 0x00007fe87dc0e210
Logical CPU:     3
Error Code:      0x00000000
Trap Number:     6
Binary Images:
       0x109be9000 -        0x109bf1fff +a (0) <C4D955E0-2204-3B66-AD5A-C8CA41DECDF7> /Users/USER/*/a
       0x109c02000 -        0x109c9aff7 +libstd-ae69a760be8b7053.dylib (0) <10266855-9DAE-3868-991A-7C8B5E1782CB> /Users/USER/*/libstd-ae69a760be8b7053.dylib
       0x116885000 -        0x1168cf98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6b0e9000 -     0x7fff6b11cfff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff6b5fb000 -     0x7fff6b5fcff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff6b8b1000 -     0x7fff6b907fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff6b908000 -     0x7fff6b92cff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff6cc7e000 -     0x7fff6d06f3b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff6d13c000 -     0x7fff6d158ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff6d716000 -     0x7fff6d71aff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff6d71b000 -     0x7fff6d725ff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff6d726000 -     0x7fff6d72dfff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff6d72e000 -     0x7fff6d736ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff6d737000 -     0x7fff6d7bcfff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff6d844000 -     0x7fff6d87dff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff6d87e000 -     0x7fff6d89bff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff6d89c000 -     0x7fff6d89cffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff6d8aa000 -     0x7fff6d8aaff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff6d8ab000 -     0x7fff6d8afffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff6d8b0000 -     0x7fff6d8b2ff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff6d8b3000 -     0x7fff6d8b4ff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff6d8b5000 -     0x7fff6d8ccfff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff6d8cd000 -     0x7fff6d8cdfff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff6d8ce000 -     0x7fff6d957ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff6d958000 -     0x7fff6d95bffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff6d95c000 -     0x7fff6d95fffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff6d960000 -     0x7fff6d961fff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff6d962000 -     0x7fff6d968ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff6d969000 -     0x7fff6d9b2ff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff6d9b3000 -     0x7fff6d9d8ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff6d9d9000 -     0x7fff6da24fcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff6da25000 -     0x7fff6da44fff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff6da45000 -     0x7fff6dae9ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff6daea000 -     0x7fff6daf4ffb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff6daf5000 -     0x7fff6dafeff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff6daff000 -     0x7fff6db06ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff6db07000 -     0x7fff6db12fff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff6db13000 -     0x7fff6db16ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff6db17000 -     0x7fff6db18ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff6db19000 -     0x7fff6db20ff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff6db21000 -     0x7fff6db34ff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff6db36000 -     0x7fff6db3bff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff6db3c000 -     0x7fff6db68ff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib
External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by this process:
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by all processes on this machine:
  Calls made by all processes on this machine:
    task_for_pid: 2061
    thread_create: 0
VM Region Summary:
VM Region Summary:
ReadOnly portion of Libraries: Total=198.4M resident=0K(0%) swapped_out_or_unallocated=198.4M(100%)
Writable regions: Total=83.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=83.8M(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            19.5M       10 
MALLOC guard page                   16K        4 
Stack Guard                          4K        2 
VM_ALLOCATE                          4K        2 
VM_ALLOCATE                          4K        2 
VM_ALLOCATE (reserved)             128K        2         reserved VM address space (unallocated)
__DATA                            4516K       44 
__LINKEDIT                       189.0M        5 
__TEXT                            9648K       44 
===========                     =======  ======= 
TOTAL                            286.4M      109 
TOTAL                            286.4M      109 
TOTAL, minus reserved VM space   286.3M      109 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/a_2018-12-02-044135_Traviss-Mac-1044.crash
Process:               a [43425]
Path:                  /Users/USER/*/a
Identifier:            a
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [43424]
Responsible:           a [43425]
User ID:               501
Date/Time:             2018-12-02 04:41:34.993 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 4700 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
abort() called
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff6d9cee3e __pthread_kill + 10
1   libsystem_pthread.dylib        0x00007fff6db0d150 pthread_kill + 333
2   libsystem_c.dylib              0x00007fff6d92b312 abort + 127
3   libstd-ae69a760be8b7053.dylib  0x00000001090d2b09 std::sys::unix::abort_internal::h087bb90e7fc1a385 + 9
4   libstd-ae69a760be8b7053.dylib  0x00000001090c2960 rust_oom + 32
5   libstd-ae69a760be8b7053.dylib  0x00000001090e3659 alloc::alloc::handle_alloc_error::h0a94dc5cbde5b047 + 9
6   a                              0x000000010909728d default_alloc_error_hook::main::hbf2d06db626d002e + 781
7   a                              0x00000001090963e6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h40445416393fe3e3 + 6
8   libstd-ae69a760be8b7053.dylib  0x00000001090c3638 std::panicking::try::do_call::hf1ad3dd8ac46e133 + 24
9   libstd-ae69a760be8b7053.dylib  0x00000001090df6af __rust_maybe_catch_panic + 31
10  libstd-ae69a760be8b7053.dylib  0x00000001090c408b std::rt::lang_start_internal::h4d4eaeb8b8c2eb51 + 379
11  a                              0x00000001090973f9 main + 41
12  libdyld.dylib                  0x00007fff6d87f115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fffa65a5340  rcx: 0x00007ffee6b68c78  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffee6b68cb0  rsp: 0x00007ffee6b68c78
   r8: 0x0000000000000000   r9: 0x0000000000000002  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000000000307  r13: 0x0000000000000000  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff6d9cee3e  rfl: 0x0000000000000206  cr2: 0x00007fffa6583148
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133
Binary Images:
       0x109095000 -        0x109097fff +a (0) <23361DEB-88F5-3C2D-933E-F71EAB8CA407> /Users/USER/*/a
       0x10909e000 -        0x109136ff7 +libstd-ae69a760be8b7053.dylib (0) <10266855-9DAE-3868-991A-7C8B5E1782CB> /Users/USER/*/libstd-ae69a760be8b7053.dylib
       0x10cd48000 -        0x10cd9298f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6b0e9000 -     0x7fff6b11cfff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff6b5fb000 -     0x7fff6b5fcff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff6b8b1000 -     0x7fff6b907fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff6b908000 -     0x7fff6b92cff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff6cc7e000 -     0x7fff6d06f3b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff6d13c000 -     0x7fff6d158ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff6d716000 -     0x7fff6d71aff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff6d71b000 -     0x7fff6d725ff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff6d726000 -     0x7fff6d72dfff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff6d72e000 -     0x7fff6d736ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff6d737000 -     0x7fff6d7bcfff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff6d844000 -     0x7fff6d87dff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff6d87e000 -     0x7fff6d89bff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff6d89c000 -     0x7fff6d89cffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff6d8aa000 -     0x7fff6d8aaff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff6d8ab000 -     0x7fff6d8afffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff6d8b0000 -     0x7fff6d8b2ff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff6d8b3000 -     0x7fff6d8b4ff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff6d8b5000 -     0x7fff6d8ccfff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff6d8cd000 -     0x7fff6d8cdfff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff6d8ce000 -     0x7fff6d957ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff6d958000 -     0x7fff6d95bffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff6d95c000 -     0x7fff6d95fffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff6d960000 -     0x7fff6d961fff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff6d962000 -     0x7fff6d968ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff6d969000 -     0x7fff6d9b2ff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff6d9b3000 -     0x7fff6d9d8ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff6d9d9000 -     0x7fff6da24fcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff6da25000 -     0x7fff6da44fff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff6da45000 -     0x7fff6dae9ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff6daea000 -     0x7fff6daf4ffb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff6daf5000 -     0x7fff6dafeff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff6daff000 -     0x7fff6db06ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff6db07000 -     0x7fff6db12fff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff6db13000 -     0x7fff6db16ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff6db17000 -     0x7fff6db18ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff6db19000 -     0x7fff6db20ff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff6db21000 -     0x7fff6db34ff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff6db36000 -     0x7fff6db3bff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff6db3c000 -     0x7fff6db68ff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib
External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by this process:
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by all processes on this machine:
  Calls made by all processes on this machine:
    task_for_pid: 2061
    thread_create: 0
VM Region Summary:
VM Region Summary:

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@kennytm
Copy link
Member

kennytm commented Dec 2, 2018

@bors retry

cc SIGILL again

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 2, 2018
@bors
Copy link
Contributor

bors commented Dec 2, 2018

⌛ Testing commit fb204cb with merge 00663a917413b848ac252805de30df2a051a5630...

@bors
Copy link
Contributor

bors commented Dec 2, 2018

💔 Test failed - status-travis

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 2, 2018
@rust-highfive
Copy link
Collaborator

The job arm-android of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[01:29:08] test string::test_str_truncate ... ok
[01:29:08] test string::test_str_truncate_invalid_len ... ok
[01:29:08] test string::test_str_truncate_split_codepoint ... ok
[01:29:08] test str::test_unsafe_slice ... ok
[01:29:08] died due to signal 11
[01:29:08] 
[01:29:08] 
[01:29:08] 
[01:29:08] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "arm-linux-androideabi" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "-p" "alloc" "--"
[01:29:08] 
[01:29:08] 
[01:29:08] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target arm-linux-androideabi
[01:29:08] Build completed unsuccessfully in 1:18:36
---
travis_time:end:017ac201:start=1543739720987615853,finish=1543739721002518525,duration=14902672
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:244d217f
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:0808cc0f
travis_time:start:0808cc0f
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:261519d8
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@kennytm
Copy link
Member

kennytm commented Dec 3, 2018

@bors retry #55861

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 3, 2018
@kennytm
Copy link
Member

kennytm commented Dec 3, 2018

@bors p=47

bors added a commit that referenced this pull request Dec 3, 2018
…oerister

Add template parameter debuginfo to generic types

This changes debuginfo generation to add template parameters to
generic types.  With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:

 <2><40d>: Abbrev Number: 6 (DW_TAG_structure_type)
    <40e>   DW_AT_name        : (indirect string, offset: 0x375): Generic<i32>
    <412>   DW_AT_byte_size   : 4
    <413>   DW_AT_alignment   : 4
...
 <3><41f>: Abbrev Number: 8 (DW_TAG_template_type_param)
    <420>   DW_AT_type        : <0x42a>
    <424>   DW_AT_name        : (indirect string, offset: 0xa65e): T

Closes #9224
@bors
Copy link
Contributor

bors commented Dec 3, 2018

⌛ Testing commit fb204cb with merge 9cd3bef...

@bors
Copy link
Contributor

bors commented Dec 3, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: michaelwoerister
Pushing 9cd3bef to master...

@bors bors merged commit fb204cb into rust-lang:master Dec 3, 2018
@tromey tromey deleted the Bug-9224-generic-parameters branch December 4, 2018 18:46
@nnethercote
Copy link
Contributor

This PR hurf performance on a few benchmarks, the worst by almost 5%.

@tromey, any ideas how to ameliorate that?

@tromey
Copy link
Contributor Author

tromey commented Dec 18, 2018

The patch itself is pretty straightforward. Unless that new function (compute_type_parameters) is somehow very slow, I'd expect the problem is just the usual one of sending more IR to LLVM.

One possible idea is that, since this debug info is primarily useful for pretty-printers, perhaps it could be limited to types where the generic parameters do not appear in any of the fields. Offhand I do not know whether this can be cheaply decided.

@nnethercote
Copy link
Contributor

I'd expect the problem is just the usual one of sending more IR to LLVM.

There were no slowdowns in check builds, only debug and opt, so that makes sense.

@michaelwoerister
Copy link
Member

Incremental builds are affected more than non-incremental ones. The reason for this might be explained by incr. comp. producing more object files which causes more type information to be duplicated (because type information can't be shared between object files in LLVM). No simple, immediate fix comes to mind, unfortunately. At least only builds with full debuginfo should be affected. Line-info-only builds should be fine.

@tromey
Copy link
Contributor Author

tromey commented Dec 19, 2018

We should consider fixing this in LLVM. The problem is only going to get worse -- for example, I'd like to emit DWARF describing all the traits, which I imagine will result in much more IR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants