Skip to content

PGO: Add a run-make test that makes sure that PGO profiling data is used by the compiler during optimizations. #60262

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

Merged
merged 6 commits into from
Apr 30, 2019

Conversation

michaelwoerister
Copy link
Member

From the tests comment section:

# This test makes sure that PGO profiling data leads to cold functions being
# marked as `cold` and hot functions with `inlinehint`.
# The test program contains an `if` were actual execution only ever takes the
# `else` branch. Accordingly, we expect the function that is never called to
# be marked as cold.

r? @alexcrichton

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 25, 2019
@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-6.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.
travis_time:end:0ad4eb2f:start=1556199498750369215,finish=1556199499524060060,duration=773690845
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
$ export AWS_ACCESS_KEY_ID=AKIA46X5W6CZEJZ6XT55
---

[00:04:07] travis_fold:start:tidy
travis_time:start:tidy
tidy check
[00:04:07] tidy error: /checkout/src/test/run-make-fulldeps/pgo-use/main.rs:13: tab character
[00:04:07] tidy error: /checkout/src/test/run-make-fulldeps/pgo-use/main.rs: leading newline
[00:04:09] some tidy checks failed
[00:04:09] 
[00:04:09] 
[00:04:09] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" "--quiet"
[00:04:09] 
[00:04:09] 
[00:04:09] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
[00:04:09] Build completed unsuccessfully in 0:00:45
[00:04:09] Build completed unsuccessfully in 0:00:45
[00:04:09] make: *** [tidy] Error 1
[00:04:09] Makefile:67: recipe for target 'tidy' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:351f6cbc
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Apr 25 13:42:39 UTC 2019
---
travis_time:end:001847a0:start=1556199760651260378,finish=1556199760655777291,duration=4516913
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:07676568
$ 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:0028cf9c
travis_time:start:0028cf9c
$ 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:04f6a439
$ 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)

@alexcrichton
Copy link
Member

@bors: r+

👍

@bors
Copy link
Collaborator

bors commented Apr 25, 2019

📌 Commit 33808b0 has been approved by alexcrichton

@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 Apr 25, 2019
Centril added a commit to Centril/rust that referenced this pull request Apr 25, 2019
…ss, r=alexcrichton

 PGO: Add a run-make test that makes sure that PGO profiling data is used by the compiler during optimizations.

From the tests comment section:
```
# This test makes sure that PGO profiling data leads to cold functions being
# marked as `cold` and hot functions with `inlinehint`.
# The test program contains an `if` were actual execution only ever takes the
# `else` branch. Accordingly, we expect the function that is never called to
# be marked as cold.
```

r? @alexcrichton
@Centril
Copy link
Contributor

Centril commented Apr 26, 2019

Failed in #60291 (comment), @bors r-

@bors bors 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 26, 2019
@michaelwoerister
Copy link
Member Author

It looks like the llvm-profdata tool from LLVM's bin directory isn't found. I'm calling it via $(LD_LIB_PATH_ENVVAR)=$(REAL_LD_LIBRARY_PATH) llvm-profdata, replicating how it's done for similar calls (e.g. here); but I don't really understand why this is necessary. Note that $(LD_LIB_PATH_ENVVAR) seems to expand to PATH and $(REAL_LD_LIBRARY_PATH) expands to an empty string, so it's not surprising that llvm-profdata can't be found with an empty path.

If I just call llvm-profdata, everything works fine (at least locally on Windows).

@Mark-Simulacrum, can you provide any insight here? Maybe we should not try to add the LLVM bin directory to the PATH and instead make compiletest define a LLVM_BIN_DIR env var that run-make tests can use?

@alexcrichton
Copy link
Member

LD_LIB_PATH_ENVVAR is indeed PATH on windows yeah so that'd explain a lot :)

Adding something like LLVM_BIN_DIR should be fine to do and would probably be a good fix for this

@Mark-Simulacrum
Copy link
Member

The intent of the PATH= was that otherwise we end up with stage0/bin in the path which causes these binaries to fail to run due to finding the libLLVM-*.so in that directory. In hindsight, I'm not sure how we were able to find llvm-objdump in the commit that added this (0467943). Maybe there's some defaults involved?

@michaelwoerister
Copy link
Member Author

@Mark-Simulacrum, that test is only executed on a single Linux x86_64 because of the #needs-matching-clang directive. That probably explains it.

I'll look into an alternative solution for accessing LLVM tools from run-make tests.

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-6.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.
travis_time:end:031511a0:start=1556542065961907076,finish=1556542153084374289,duration=87122467213
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
$ export AWS_ACCESS_KEY_ID=AKIA46X5W6CZEJZ6XT55
---
travis_time:end:0131ddd4:start=1556542309913414075,finish=1556542309918375739,duration=4961664
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:1b964e91
$ 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:00631164
travis_time:start:00631164
$ 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:1561a268
$ 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)

@michaelwoerister
Copy link
Member Author

I've changed things to not add LLVM's bin directory to the PATH and instead call tools directly from run-make tests. It seems to work for me locally but the only way to find out for other platforms is trying to merge, so I'm going ahead r+ it. If it goes through, we should take a look if there's further cleanup to do, @Mark-Simulacrum.

@bors r=alexcrichton

@bors
Copy link
Collaborator

bors commented Apr 29, 2019

📌 Commit c95f5e3 has been approved by alexcrichton

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 29, 2019
@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 Apr 30, 2019
@rust-highfive
Copy link
Contributor

The job x86_64-gnu-debug 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:28:47] status: exit code: 2
[01:28:47] command: "make"
[01:28:47] stdout:
[01:28:47] ------------------------------------------
[01:28:47] LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/cross-lang-lto-clang/cross-lang-lto-clang:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" '/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/cross-lang-lto-clang/cross-lang-lto-clang -L /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/cross-lang-lto-clang/cross-lang-lto-clang  -Clinker=clang -Clinker-plugin-lto=on -o /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/cross-lang-lto-clang/cross-lang-lto-clang/librustlib-xlto.a -Copt-level=2 -Ccodegen-units=1 ./rustlib.rs
[01:28:47] /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/bin/clang -flto=thin -fuse-ld=lld -L /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/cross-lang-lto-clang/cross-lang-lto-clang -lrustlib-xlto -o /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/cross-lang-lto-clang/cross-lang-lto-clang/cmain ./cmain.c -O3
[01:28:47] ------------------------------------------
[01:28:47] stderr:
[01:28:47] ------------------------------------------
[01:28:47] ------------------------------------------
[01:28:47] warning: ignoring --out-dir flag due to -o flag
[01:28:47] 
[01:28:47] ld.lld: error: Invalid summary version 6, 1, 2, 3 or 4 expected
[01:28:47] ld.lld: error: Invalid summary version 6, 1, 2, 3 or 4 expected
[01:28:47] clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
[01:28:47] make: *** [Makefile:12: cpp-executable] Error 1
[01:28:47] ------------------------------------------
[01:28:47] 
[01:28:47] 
[01:28:47] 
[01:28:47] 
[01:28:47] failures:
[01:28:47]     [run-make] run-make-fulldeps/cross-lang-lto-clang
[01:28:47] 
[01:28:47] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 197 filtered out
[01:28:47] 
[01:28:47] 
[01:28:47] 
[01:28:47] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--rustdoc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "--src-base" "/checkout/src/test/run-make-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-make" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--linker" "clang" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--lldb-version" "lldb version 8.0.0\n  rust-enabled\n" "--lldb-python-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/python2.7/site-packages" "--run-clang-based-tests-with" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/bin/clang" "clang" "--llvm-version" "8.0.0-rust-1.36.0-dev\n" "--cc" "clang" "--cxx" "clang++" "--cflags" "-ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu" "--llvm-components" "aarch64 aarch64asmparser aarch64asmprinter aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets analysis arm armasmparser armasmprinter armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter binaryformat bitreader bitwriter codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfomsf debuginfopdb demangle dlltooldriver engine executionengine fuzzmutate globalisel gtest gtest_main hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interpreter ipo irreader libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipsasmprinter mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430asmprinter msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxasmprinter nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option optremarks orcjit passes powerpc powerpcasmparser powerpcasmprinter powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata riscv riscvasmparser riscvasmprinter riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvutils runtimedyld scalaropts selectiondag sparc sparcasmparser sparcasmprinter sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzasmprinter systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target testingsupport textapi transformutils vectorize webassembly webassemblyasmparser webassemblyasmprinter webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86asmprinter x86codegen x86desc x86disassembler x86info x86utils xray" "--llvm-cxxflags" "-I/checkout/src/llvm-project/llvm/include -I/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/include -std=c++11  -fno-exceptions -fno-rtti -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" "--ar" "ar" "--llvm-bin-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:28:47] 
[01:28:47] 
[01:28:47] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/test/run-make-fulldeps --test-args clang
[01:28:47] Build completed unsuccessfully in 0:01:47
---
travis_time:end:007818fc:start=1556606797785770767,finish=1556606797792626718,duration=6855951
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:03f0d27e
$ 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:06f88380
travis_time:start:06f88380
$ 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:01294e00
$ 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)

@michaelwoerister
Copy link
Member Author

[01:28:47] ld.lld: error: Invalid summary version 6, 1, 2, 3 or 4 expected

OK, is suspect this error is because I removed LLD from the PATH.

The LD_LIBRARY_PATH for the rustc invocation has stage2/lib before stage0/lib:
LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/cross-lang-lto-clang/cross-lang-lto-clang:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib"

@michaelwoerister
Copy link
Member Author

Adding locally built LLD to the PATH of run-make-fulldeps tests specifically and trying again.
@bors r=alexcrichton

@bors
Copy link
Collaborator

bors commented Apr 30, 2019

📌 Commit 7acead5 has been approved by alexcrichton

@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 Apr 30, 2019
@bors
Copy link
Collaborator

bors commented Apr 30, 2019

⌛ Testing commit 7acead5 with merge 2265bc718e0aec7ba144f617823f9f3db9571113...

@bors
Copy link
Collaborator

bors commented Apr 30, 2019

💔 Test failed - checks-travis

@rust-highfive
Copy link
Contributor

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:03:06]       Memory: 8 GB
[00:03:06]       Boot ROM Version: VMW71.00V.7581552.B64.1801142334
[00:03:06]       Apple ROM Info: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]Welcome to the Virtual Machine
[00:03:06]       SMC Version (system): 2.8f0
[00:03:06]       Serial Number (system): VMYMpw7tWCbZ
[00:03:06] 
[00:03:06] hw.ncpu: 4
[00:03:06] hw.byteorder: 1234
[00:03:06] hw.memsize: 8589934592
---
[02:08:57] status: exit code: 2
[02:08:57] command: "make"
[02:08:57] stdout:
[02:08:57] ------------------------------------------
[02:08:57] # Compile the test program with instrumentation
[02:08:57] DYLD_LIBRARY_PATH="/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib:" '/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc' --out-dir /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use -L /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use  -Copt-level=s -Ccodegen-units=1 -Z pgo-gen="/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use" main.rs
[02:08:57] # Run it in order to generate some profiling data
[02:08:57] DYLD_LIBRARY_PATH="/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:" /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use/main some-argument || exit 1
[02:08:57] # Postprocess the profiling data so it can be used by the compiler
[02:08:57] "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/bin"/llvm-profdata merge \
[02:08:57]   -o "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use"/merged.profdata \
[02:08:57]   "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use"/default_*.profraw
[02:08:57] # Compile the test program again, making use of the profiling data
[02:08:57] DYLD_LIBRARY_PATH="/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib:" '/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc' --out-dir /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use -L /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use  -Copt-level=s -Ccodegen-units=1 -Z pgo-use="/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use"/merged.profdata --emit=llvm-ir main.rs
[02:08:57] # Check that the generate IR contains some things that we expect
[02:08:57] #
[02:08:57] # We feed the file into LLVM FileCheck tool *in reverse* so that we see the
[02:08:57] # line with the function name before the line with the function attributes.
[02:08:57] # FileCheck only supports checking that something matches on the next line,
[02:08:57] # but not if something matches on the previous line.
[02:08:57] tac "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/pgo-use/pgo-use"/main.ll | "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/bin/FileCheck" filecheck-patterns.txt
[02:08:57] ------------------------------------------
[02:08:57] stderr:
[02:08:57] ------------------------------------------
[02:08:57] ------------------------------------------
[02:08:57] LLVM Profile Warning: Concurrent file access is not supported : lack file locking
[02:08:57] /bin/sh: tac: command not found
[02:08:57] FileCheck error: '-' is empty.
[02:08:57] FileCheck command line:  /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/bin/FileCheck filecheck-patterns.txt
[02:08:57] make[1]: *** [all] Error 2
[02:08:57] ------------------------------------------
[02:08:57] 
[02:08:57] 
[02:08:57] 
---
[02:08:57] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:519:22
[02:08:57] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[02:08:57] 
[02:08:57] 
[02:08:57] 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/run-make-fulldeps" "--build-base" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps" "--stage-id" "stage2-x86_64-apple-darwin" "--mode" "run-make" "--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/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.0-rust-1.36.0-dev\n" "--cc" "/Users/travis/build/rust-lang/rust/clang+llvm-7.0.0-x86_64-apple-darwin/bin/clang" "--cxx" "/Users/travis/build/rust-lang/rust/clang+llvm-7.0.0-x86_64-apple-darwin/bin/clang++" "--cflags" "-ffunction-sections -fdata-sections -fPIC --target=x86_64-apple-darwin -stdlib=libc++" "--llvm-components" "aarch64 aarch64asmparser aarch64asmprinter aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets analysis arm armasmparser armasmprinter armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter binaryformat bitreader bitwriter codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfomsf debuginfopdb demangle dlltooldriver engine executionengine fuzzmutate globalisel gtest gtest_main hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interpreter ipo irreader libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipsasmprinter mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430asmprinter msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxasmprinter nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option optremarks orcjit passes powerpc powerpcasmparser powerpcasmprinter powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata riscv riscvasmparser riscvasmprinter riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvutils runtimedyld scalaropts selectiondag sparc sparcasmparser sparcasmprinter sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzasmprinter systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target testingsupport textapi transformutils vectorize webassembly webassemblyasmparser webassemblyasmprinter webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86asmprinter x86codegen x86desc x86disassembler x86info x86utils xray" "--llvm-cxxflags" "-I/Users/travis/build/rust-lang/rust/src/llvm-project/llvm/include -I/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/include -std=c++11  -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" "--ar" "ar" "--llvm-bin-dir" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/bin" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[02:08:57] 
[02:08:57] 
[02:08:57] failed to run: /Users/travis/build/rust-lang/rust/build/bootstrap/debug/bootstrap test
[02:08:57] Build completed unsuccessfully in 0:50:05
[02:08:57] Build completed unsuccessfully in 0:50:05
[02:08:57] make: *** [check] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:008a3969
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Tue Apr 30 12:26:21 GMT 2019
---
travis_fold:start:after_failure.2
travis_time:start:1a1e9a80
$ ls -lat $HOME/Library/Logs/DiagnosticReports/
total 1272
drwx------  27 travis  staff    918 Apr 30 12:26 .
-rw-------@  1 travis  staff  13742 Apr 30 12:26 overflow_2019-04-30-122619_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1428 Apr 30 12:25 foo_2019-04-30-122558_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1418 Apr 30 12:25 m4_2019-04-30-122527_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1432 Apr 30 12:25 bar_2019-04-30-122517_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10661 Apr 30 12:25 b_2019-04-30-122516_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1444 Apr 30 12:25 bar_2019-04-30-122516_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  62246 Apr 30 11:52 a_2019-04-30-115217-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  37663 Apr 30 11:52 a_2019-04-30-115217_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  60387 Apr 30 11:52 a_2019-04-30-115210-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  37411 Apr 30 11:52 a_2019-04-30-115210_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10142 Apr 30 11:52 a_2019-04-30-115205_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9873 Apr 30 11:52 a_2019-04-30-115200_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9878 Apr 30 11:51 a_2019-04-30-115154_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9794 Apr 30 11:51 a_2019-04-30-115151_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10034 Apr 30 11:51 a_2019-04-30-115116_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  63111 Apr 30 11:51 a_2019-04-30-115106_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  63915 Apr 30 11:51 a_2019-04-30-115102-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  64224 Apr 30 11:51 a_2019-04-30-115102-2_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  65082 Apr 30 11:51 a_2019-04-30-115102_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  11714 Apr 30 11:48 a_2019-04-30-114854_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   9897 Apr 30 11:48 a_2019-04-30-114802_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10304 Apr 30 11:46 a_2019-04-30-114650_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10491 Apr 30 11:45 a_2019-04-30-114554-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10493 Apr 30 11:45 a_2019-04-30-114554_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10212 Apr 30 11:45 a_2019-04-30-114551_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:005a8430
$ 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_2019-04-30-114551_Traviss-Mac-1044.crash
Process:               a [44324]
Path:                  /Users/USER/*/a
Version:               0
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [44323]
Responsible:           a [44324]
User ID:               501
Date/Time:             2019-04-30 11:45:21.065 +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: 5400 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                              0x000000010e4e48ae abort_on_c_abi::panic_in_ffi::h5d17554117e8ddd6 + 30
1   a                              0x000000010e4e3ca9 std::panicking::try::do_call::hb7b98e87f296a8b7 (.llvm.783244980944937515) + 9
2   libstd-9aaf2838fb9495b0.dylib  0x000000010e51f5df __rust_maybe_catch_panic + 31
3   a                              0x000000010e4e4b01 abort_on_c_abi::main::ha239c5d4a2ab8e27 + 593
4   a                              0x000000010e4e30f6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h90821eb8583e12d6 + 6
5   libstd-9aaf2838fb9495b0.dylib  0x000000010e50f858 std::panicking::try::do_call::ha1eafece19191e13 + 24
6   libstd-9aaf2838fb9495b0.dylib  0x000000010e51f5df __rust_maybe_catch_panic + 31
7   libstd-9aaf2838fb9495b0.dylib  0x000000010e51033e std::rt::lang_start_internal::hfe68f0f2a01a7222 + 542
8   a                              0x000000010e4e4e09 main + 41
9   libdyld.dylib                  0x00007fff55999115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007fa598500010  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x00007ffee171ab28  rsi: 0x00000000ffffffc3  rbp: 0x00007ffee171b580  rsp: 0x00007ffee171b580
   r8: 0x0000000059850006   r9: 0x0000000000000004  r10: 0x000000011c70f8c0  r11: 0x00007fff55c5096c
  r12: 0x000000010e823000  r13: 0x0000000000000000  r14: 0x00007ffee171b6a0  r15: 0x00007ffee171b5e8
  rip: 0x000000010e4e48ae  rfl: 0x0000000000010202  cr2: 0x000000010e55667c
Logical CPU:     2
Error Code:      0x00000000
Trap Number:     6
Binary Images:
       0x10e4e2000 -        0x10e4e5fff +a (0) <E77E0678-B2C1-356A-A419-A32B9142374F> /Users/USER/*/a
       0x10e4eb000 -        0x10e582ff7 +libstd-9aaf2838fb9495b0.dylib (0) <A33F4146-1F2B-363E-95DD-D943B39002DB> /Users/USER/*/libstd-9aaf2838fb9495b0.dylib
       0x11c6bd000 -        0x11c70798f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff53203000 -     0x7fff53236fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff53715000 -     0x7fff53716ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff539cb000 -     0x7fff53a21fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff53a22000 -     0x7fff53a46ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff54d98000 -     0x7fff551893b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff55256000 -     0x7fff55272ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff55830000 -     0x7fff55834ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff55835000 -     0x7fff5583fff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff55840000 -     0x7fff55847fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff55848000 -     0x7fff55850ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff55851000 -     0x7fff558d6fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff5595e000 -     0x7fff55997ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff55998000 -     0x7fff559b5ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff559b6000 -     0x7fff559b6ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff559c4000 -     0x7fff559c4ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff559c5000 -     0x7fff559c9ffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff559ca000 -     0x7fff559ccff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff559cd000 -     0x7fff559ceff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff559cf000 -     0x7fff559e6fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff559e7000 -     0x7fff559e7fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff559e8000 -     0x7fff55a71ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff55a72000 -     0x7fff55a75ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff55a76000 -     0x7fff55a79ffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff55a7a000 -     0x7fff55a7bfff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff55a7c000 -     0x7fff55a82ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff55a83000 -     0x7fff55accff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff55acd000 -     0x7fff55af2ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff55af3000 -     0x7fff55b3efcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff55b3f000 -     0x7fff55b5efff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff55b5f000 -     0x7fff55c03ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff55c04000 -     0x7fff55c0effb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff55c0f000 -     0x7fff55c18ff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff55c19000 -     0x7fff55c20ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff55c21000 -     0x7fff55c2cfff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff55c2d000 -     0x7fff55c30ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff55c31000 -     0x7fff55c32ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff55c33000 -     0x7fff55c3aff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff55c3b000 -     0x7fff55c4eff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff55c50000 -     0x7fff55c55ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff55c56000 -     0x7fff55c82ff7  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: 2664
    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=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                            4540K       44 
__LINKEDIT                       189.0M        5 
__TEXT                            9624K       44 
===========                     =======  ======= 
TOTAL                            277.0M      109 
TOTAL                            277.0M      109 
TOTAL, minus reserved VM space   276.9M      109 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/a_2019-04-30-114554-1_Traviss-Mac-1044.crash
Process:               a [45155]
Path:                  /Users/USER/*/a
Version:               0
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [45146]
Responsible:           a [45155]
User ID:               501
Date/Time:             2019-04-30 11:45:52.938 +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: 5400 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-9aaf2838fb9495b0.dylib  0x0000000103f37dde std::panicking::rust_panic_with_hook::hc3ab2d58f364c45d + 142
1   a                              0x0000000103f038c5 std::panicking::begin_panic::h93e278867f418319 + 37
2   a                              0x0000000103f013ec _$LT$backtrace..double..Double$u20$as$u20$core..ops..drop..Drop$GT$::drop::hcc2b5a39c3723dfb + 28
3   a                              0x0000000103f00ae9 core::ptr::real_drop_in_place::h654ccdbe565444dc + 9
4   a                              0x0000000103f013c3 backtrace::double::h0c99cc05786c6af0 + 35
5   a                              0x0000000103f02539 backtrace::main::hcde7a1a1c3c85e77 + 4201 (backtrace.rs:103)
6   a                              0x0000000103f008f6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hba07b6f8f678dd4f + 6 (rt.rs:64)
7   libstd-9aaf2838fb9495b0.dylib  0x0000000103f37858 std::panicking::try::do_call::ha1eafece19191e13 + 24
8   libstd-9aaf2838fb9495b0.dylib  0x0000000103f475df __rust_maybe_catch_panic + 31
9   libstd-9aaf2838fb9495b0.dylib  0x0000000103f3833e std::rt::lang_start_internal::hfe68f0f2a01a7222 + 542
10  a                              0x0000000103f02d79 main + 41
11  libdyld.dylib                  0x00007fff55999115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007ffeebd002c8  rbx: 0x0000000000000002  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000002  rsi: 0x0000000103f7fb22  rbp: 0x00007ffeebd003c0  rsp: 0x00007ffeebd002f0
   r8: 0xffffffff00000100   r9: 0x0000000103fb29d0  r10: 0x000000000000002b  r11: 0x0000000000000296
  r12: 0x0000000000000000  r13: 0x0000000103f7e888  r14: 0x0000000103f05460  r15: 0x00007ffeebd003d0
  rip: 0x0000000103f37dde  rfl: 0x0000000000010202  cr2: 0x000000010e961000
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6
Binary Images:
       0x103efd000 -        0x103f04ff7 +a (0) <EEFFEF48-B3E6-3681-9F55-6D1EB341DC59> /Users/USER/*/a
       0x103f13000 -        0x103faaff7 +libstd-9aaf2838fb9495b0.dylib (0) <A33F4146-1F2B-363E-95DD-D943B39002DB> /Users/USER/*/libstd-9aaf2838fb9495b0.dylib
       0x10b3b5000 -        0x10b3ff98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff53203000 -     0x7fff53236fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff53715000 -     0x7fff53716ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff539cb000 -     0x7fff53a21fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff53a22000 -     0x7fff53a46ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff54d98000 -     0x7fff551893b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff55256000 -     0x7fff55272ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff55830000 -     0x7fff55834ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff55835000 -     0x7fff5583fff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff55840000 -     0x7fff55847fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff55848000 -     0x7fff55850ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff55851000 -     0x7fff558d6fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff5595e000 -     0x7fff55997ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff55998000 -     0x7fff559b5ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff559b6000 -     0x7fff559b6ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff559c4000 -     0x7fff559c4ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff559c5000 -     0x7fff559c9ffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff559ca000 -     0x7fff559ccff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff559cd000 -     0x7fff559ceff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff559cf000 -     0x7fff559e6fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff559e7000 -     0x7fff559e7fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff559e8000 -     0x7fff55a71ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff55a72000 -     0x7fff55a75ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff55a76000 -     0x7fff55a79ffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff55a7a000 -     0x7fff55a7bfff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff55a7c000 -     0x7fff55a82ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff55a83000 -     0x7fff55accff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff55acd000 -     0x7fff55af2ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff55af3000 -     0x7fff55b3efcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff55b3f000 -     0x7fff55b5efff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff55b5f000 -     0x7fff55c03ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff55c04000 -     0x7fff55c0effb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff55c0f000 -     0x7fff55c18ff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff55c19000 -     0x7fff55c20ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff55c21000 -     0x7fff55c2cfff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff55c2d000 -     0x7fff55c30ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff55c31000 -     0x7fff55c32ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff55c33000 -     0x7fff55c3aff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff55c3b000 -     0x7fff55c4eff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff55c50000 -     0x7fff55c55ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff55c56000 -     0x7fff55c82ff7  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: 2664
    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=82.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=82.8M(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            18.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                            4540K       44 
__LINKEDIT                       189.0M        5 
__TEXT                            9640K       44 
===========                     =======  ======= 
TOTAL                            285.4M      109 
TOTAL                            285.4M      109 
TOTAL, minus reserved VM space   285.3M      109 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/a_2019-04-30-114554_Traviss-Mac-1044.crash
Process:               a [45150]
Path:                  /Users/USER/*/a
Version:               0
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [45146]
Responsible:           a [45150]
User ID:               501
Date/Time:             2019-04-30 11:45:52.886 +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: 5400 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-9aaf2838fb9495b0.dylib  0x000000010fa99dde std::panicking::rust_panic_with_hook::hc3ab2d58f364c45d + 142
1   a                              0x000000010fa658c5 std::panicking::begin_panic::h93e278867f418319 + 37
2   a                              0x000000010fa633ec _$LT$backtrace..double..Double$u20$as$u20$core..ops..drop..Drop$GT$::drop::hcc2b5a39c3723dfb + 28
3   a                              0x000000010fa62ae9 core::ptr::real_drop_in_place::h654ccdbe565444dc + 9
4   a                              0x000000010fa633c3 backtrace::double::h0c99cc05786c6af0 + 35
5   a                              0x000000010fa64539 backtrace::main::hcde7a1a1c3c85e77 + 4201 (backtrace.rs:103)
6   a                              0x000000010fa628f6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hba07b6f8f678dd4f + 6 (rt.rs:64)
7   libstd-9aaf2838fb9495b0.dylib  0x000000010fa99858 std::panicking::try::do_call::ha1eafece19191e13 + 24
8   libstd-9aaf2838fb9495b0.dylib  0x000000010faa95df __rust_maybe_catch_panic + 31
9   libstd-9aaf2838fb9495b0.dylib  0x000000010fa9a33e std::rt::lang_start_internal::hfe68f0f2a01a7222 + 542
10  a                              0x000000010fa64d79 main + 41
11  libdyld.dylib                  0x00007fff55999115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007ffee019e2e8  rbx: 0x0000000000000002  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000002  rsi: 0x000000010fae1b22  rbp: 0x00007ffee019e3e0  rsp: 0x00007ffee019e310
   r8: 0xffffffff00000100   r9: 0x000000010fb149d0  r10: 0x000000000000002b  r11: 0x0000000000000296
  r12: 0x0000000000000000  r13: 0x000000010fae0888  r14: 0x000000010fa67460  r15: 0x00007ffee019e3f0
  rip: 0x000000010fa99dde  rfl: 0x0000000000010206  cr2: 0x000000010fd6a98c
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6
Binary Images:
       0x10fa5f000 -        0x10fa66ff7 +a (0) <EEFFEF48-B3E6-3681-9F55-6D1EB341DC59> /Users/USER/*/a
       0x10fa75000 -        0x10fb0cff7 +libstd-9aaf2838fb9495b0.dylib (0) <A33F4146-1F2B-363E-95DD-D943B39002DB> /Users/USER/*/libstd-9aaf2838fb9495b0.dylib
       0x111403000 -        0x11144d98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff53203000 -     0x7fff53236fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff53715000 -     0x7fff53716ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff539cb000 -     0x7fff53a21fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff53a22000 -     0x7fff53a46ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff54d98000 -     0x7fff551893b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff55256000 -     0x7fff55272ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff55830000 -     0x7fff55834ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff55835000 -     0x7fff5583fff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff55840000 -     0x7fff55847fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff55848000 -     0x7fff55850ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff55851000 -     0x7fff558d6fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff5595e000 -     0x7fff55997ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff55998000 -     0x7fff559b5ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff559b6000 -     0x7fff559b6ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff559c4000 -     0x7fff559c4ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff559c5000 -     0x7fff559c9ffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff559ca000 -     0x7fff559ccff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff559cd000 -     0x7fff559ceff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff559cf000 -     0x7fff559e6fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff559e7000 -     0x7fff559e7fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff559e8000 -     0x7fff55a71ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff55a72000 -     0x7fff55a75ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff55a76000 -     0x7fff55a79ffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff55a7a000 -     0x7fff55a7bfff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff55a7c000 -     0x7fff55a82ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff55a83000 -     0x7fff55accff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff55acd000 -     0x7fff55af2ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff55af3000 -     0x7fff55b3efcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff55b3f000 -     0x7fff55b5efff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff55b5f000 -     0x7fff55c03ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff55c04000 -     0x7fff55c0effb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff55c0f000 -     0x7fff55c18ff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff55c19000 -     0x7fff55c20ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff55c21000 -     0x7fff55c2cfff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff55c2d000 -     0x7fff55c30ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff55c31000 -     0x7fff55c32ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff55c33000 -     0x7fff55c3aff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff55c3b000 -     0x7fff55c4eff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff55c50000 -     0x7fff55c55ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff55c56000 -     0x7fff55c82ff7  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: 2664
    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=100.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=100.8M(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            36.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                            4540K       44 
__LINKEDIT                       189.0M        5 
__TEXT                            9640K       44 
===========                     =======  ======= 
TOTAL                            303.4M      109 
TOTAL                            303.4M      109 
TOTAL, minus reserved VM space   303.3M      109 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/a_2019-04-30-114650_Traviss-Mac-1044.crash
Process:               a [46844]
Path:                  /Users/USER/*/a
Version:               0
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [46842]
Responsible:           a [46844]
User ID:               501
Date/Time:             2019-04-30 11:46:50.434 +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: 5500 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         0x00007fff55ae8e3e __pthread_kill + 10
1   libsystem_pthread.dylib        0x00007fff55c27150 pthread_kill + 333
2   libsystem_c.dylib              0x00007fff55a45312 abort + 127
3   libstd-9aaf2838fb9495b0.dylib  0x000000010da43ac9 std::sys::unix::abort_internal::hc559c3068df06db1 + 9
4   libstd-9aaf2838fb9495b0.dylib  0x000000010da33e70 rust_oom + 32
5   libstd-9aaf2838fb9495b0.dylib  0x000000010da54dd9 alloc::alloc::handle_alloc_error::h1d1b1e63977f437a + 9
6   a                              0x000000010da0c07f default_alloc_error_hook::main::hbf2d06db626d002e + 767
7   a                              0x000000010da0c1e6 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hf5c5186fb8c843bc + 6
8   libstd-9aaf2838fb9495b0.dylib  0x000000010da34858 std::panicking::try::do_call::ha1eafece19191e13 + 24
9   libstd-9aaf2838fb9495b0.dylib  0x000000010da445df __rust_maybe_catch_panic + 31
10  libstd-9aaf2838fb9495b0.dylib  0x000000010da3533e std::rt::lang_start_internal::hfe68f0f2a01a7222 + 542
11  a                              0x000000010da0c1d9 main + 41
12  libdyld.dylib                  0x00007fff55999115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff8e6bf340  rcx: 0x00007ffee21f34e8  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffee21f3520  rsp: 0x00007ffee21f34e8
   r8: 0x0000000000000000   r9: 0x0000000000000002  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000000000307  r13: 0x0000000000000000  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff55ae8e3e  rfl: 0x0000000000000206  cr2: 0x00007fff8e69d148
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133
Binary Images:
       0x10da0a000 -        0x10da0cfff +a (0) <8BCF8071-1CC7-33EA-AF37-0A9EF39AF18C> /Users/USER/*/a
       0x10da10000 -        0x10daa7ff7 +libstd-9aaf2838fb9495b0.dylib (0) <A33F4146-1F2B-363E-95DD-D943B39002DB> /Users/USER/*/libstd-9aaf2838fb9495b0.dylib
       0x10e500000 -        0x10e54a98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff53203000 -     0x7fff53236fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff53715000 -     0x7fff53716ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff539cb000 -     0x7fff53a21fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff53a22000 -     0x7fff53a46ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff54d98000 -     0x7fff551893b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff55256000 -     0x7fff55272ffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff55830000 -     0x7fff55834ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff55835000 -     0x7fff5583fff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff55840000 -     0x7fff55847fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff55848000 -     0x7fff55850ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff55851000 -     0x7fff558d6fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff5595e000 -     0x7fff55997ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff55998000 -     0x7fff559b5ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff559b6000 -     0x7fff559b6ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff559c4000 -     0x7fff559c4ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff559c5000 -     0x7fff559c9ffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff559ca000 -     0x7fff559ccff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff559cd000 -     0x7fff559ceff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff559cf000 -     0x7fff559e6fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff559e7000 -     0x7fff559e7fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff559e8000 -     0x7fff55a71ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff55a72000 -     0x7fff55a75ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff55a76000 -     0x7fff55a79ffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff55a7a000 -     0x7fff55a7bfff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff55a7c000 -     0x7fff55a82ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff55a83000 -     0x7fff55accff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff55acd000 -     0x7fff55af2ff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff55af3000 -     0x7fff55b3efcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff55b3f000 -     0x7fff55b5efff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff55b5f000 -     0x7fff55c03ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff55c04000 -     0x7fff55c0effb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff55c0f000 -     0x7fff55c18ff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff55c19000 -     0x7fff55c20ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff55c21000 -     0x7fff55c2cfff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff55c2d000 -     0x7fff55c30ff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff55c31000 -     0x7fff55c32ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff55c33000 -     0x7fff55c3aff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff55c3b000 -     0x7fff55c4eff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff55c50000 -     0x7fff55c55ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff55c56000 -     0x7fff55c82ff7  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

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)

@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 Apr 30, 2019
@michaelwoerister
Copy link
Member Author

Seems like macOS doesn't have the tac command. But otherwise this looks pretty promising.

@michaelwoerister
Copy link
Member Author

Try again with tac replacement for macOS:
@bors r=alexcrichton

@bors
Copy link
Collaborator

bors commented Apr 30, 2019

📌 Commit 7c4cc01 has been approved by alexcrichton

@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 Apr 30, 2019
@Centril
Copy link
Contributor

Centril commented Apr 30, 2019

@bors p=1

@bors
Copy link
Collaborator

bors commented Apr 30, 2019

⌛ Testing commit 7c4cc01 with merge 7c71bc3...

bors added a commit that referenced this pull request Apr 30, 2019
…richton

 PGO: Add a run-make test that makes sure that PGO profiling data is used by the compiler during optimizations.

From the tests comment section:
```
# This test makes sure that PGO profiling data leads to cold functions being
# marked as `cold` and hot functions with `inlinehint`.
# The test program contains an `if` were actual execution only ever takes the
# `else` branch. Accordingly, we expect the function that is never called to
# be marked as cold.
```

r? @alexcrichton
@bors
Copy link
Collaborator

bors commented Apr 30, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: alexcrichton
Pushing 7c71bc3 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 30, 2019
@bors bors merged commit 7c4cc01 into rust-lang:master Apr 30, 2019
@michaelwoerister
Copy link
Member Author

Nice, it landed!

@Mark-Simulacrum, do you know if there is any machinery left for doing the REAL_LD_LIBRARY_PATH work-around that might not be needed anymore?

Also, could you take a look if the solution implemented here is OK with you?

@Mark-Simulacrum
Copy link
Member

It's possible there are still some bits around (a grep for REAL_LD_LIBRARY_PATH would be a good start, I think it shouldn't be needed).

I am however still at least somewhat confident that this change will not work if beta llvm doesn't sufficiently match the llvm on master (and same for beta/stable). I don't think we need to do anything about that right this minute: this PR is fine, indeed this looks better than what we had before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. 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.

6 participants