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

ccache: 3.7.12 -> 4.0 #104425

Merged
merged 3 commits into from Nov 22, 2020
Merged

ccache: 3.7.12 -> 4.0 #104425

merged 3 commits into from Nov 22, 2020

Conversation

kira-bruneau
Copy link
Contributor

Motivation for this change

Upgrade to the latest version: https://github.com/ccache/ccache/releases/tag/v4.0

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
    Removed as a build dependency of baresip & webbrowser:
    5 packages built:
    baresip ccache ccacheStdenv ccacheWrapper webbrowser
    
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@kira-bruneau
Copy link
Contributor Author

I don't have a mac to test this on. Can a trusted user of ofborg run a build?

Copy link
Contributor

@r-burns r-burns left a comment

Choose a reason for hiding this comment

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

Will need ccache/ccache#694 to build on darwin as we're still on SDK 10.12

@kira-bruneau
Copy link
Contributor Author

@r-burns Ok thank you! I've added the patch.

@r-burns
Copy link
Contributor

r-burns commented Nov 20, 2020

I'm getting a lot of failures because their tests seem to be assuming macOS implies XCode and AppleClang etc. So it might make sense to just use the non-apple pathway since our stdenv is closer to Linux/BSD than Apple tools.

postPatch = ''
   sed -i 's/HOST_OS_APPLE=true/HOST_OS_APPLE=false/g' test/run
'';

However, some tests are still failing:

3:test.nocpp2
9:test.debug_prefix_map
28:test.modules
29:test.upgrade

Full log:

Start testing: Nov 20 23:44 UTC
----------------------------------------------------------
1/35 Testing: unittest
1/35 Test: unittest
Command: "/tmp/nix-build-ccache-4.0.drv-0/source/build/unittest/unittest"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build/unittest
"unittest" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
[doctest] doctest version is "2.4.0"
[doctest] run with "--help" for options
===============================================================================
[doctest] test cases:    149 |    149 passed |      0 failed |      0 skipped
[doctest] assertions:   2130 |   2130 passed |      0 failed |
[doctest] Status: SUCCESS!
<end of output>
Test time =   0.44 sec
----------------------------------------------------------
Test Passed.
"unittest" end time: Nov 20 23:44 UTC
"unittest" time elapsed: 00:00:00
----------------------------------------------------------

5/35 Testing: test.multi_arch
5/35 Test: test.multi_arch
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "multi_arch"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.multi_arch" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite multi_arch [multiple -arch options not supported on Darwin]
<end of output>
Test time =   1.05 sec
----------------------------------------------------------
Test Passed.
"test.multi_arch" end time: Nov 20 23:44 UTC
"test.multi_arch" time elapsed: 00:00:01
----------------------------------------------------------

7/35 Testing: test.color_diagnostics
7/35 Test: test.color_diagnostics
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "color_diagnostics"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.color_diagnostics" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite color_diagnostics [the script tool is not installed or does not support required options]
<end of output>
Test time =   1.05 sec
----------------------------------------------------------
Test Passed.
"test.color_diagnostics" end time: Nov 20 23:44 UTC
"test.color_diagnostics" time elapsed: 00:00:01
----------------------------------------------------------

11/35 Testing: test.profiling_gcc
11/35 Test: test.profiling_gcc
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "profiling_gcc"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.profiling_gcc" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite profiling_gcc [compiler is not GCC]
<end of output>
Test time =   1.26 sec
----------------------------------------------------------
Test Passed.
"test.profiling_gcc" end time: Nov 20 23:44 UTC
"test.profiling_gcc" time elapsed: 00:00:01
----------------------------------------------------------

10/35 Testing: test.profiling
10/35 Test: test.profiling
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "profiling"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.profiling" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite profiling [llvm-profdata tool not found]
<end of output>
Test time =   1.39 sec
----------------------------------------------------------
Test Passed.
"test.profiling" end time: Nov 20 23:44 UTC
"test.profiling" time elapsed: 00:00:01
----------------------------------------------------------

4/35 Testing: test.cpp1
4/35 Test: test.cpp1
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "cpp1"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.cpp1" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite cpp1
  Base case
PASSED
<end of output>
Test time =   2.46 sec
----------------------------------------------------------
Test Passed.
"test.cpp1" end time: Nov 20 23:44 UTC
"test.cpp1" time elapsed: 00:00:02
----------------------------------------------------------

9/35 Testing: test.debug_prefix_map
9/35 Test: test.debug_prefix_map
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "debug_prefix_map"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.debug_prefix_map" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite debug_prefix_map
  Mapping of debug info CWD/tmp/nix-build-ccache-4.0.drv-0/source/test/run: line 136: objdump: command not found
/tmp/nix-build-ccache-4.0.drv-0/source/test/run: line 136: objdump: command not found

FAILED

Test suite:     debug_prefix_map
Test case:      Mapping of debug info CWD
Failure reason: File test.o does not contain "some_name_not_likely_to_exist_in_path"

ccache -s:
cache directory                     /private/tmp/nix-build-ccache-4.0.drv-0/source/build/testdir/91350/.ccache
primary config                      /private/tmp/nix-build-ccache-4.0.drv-0/source/build/testdir/91350/.ccache/ccache.conf
secondary config (readonly)         
stats updated                       Fri Nov 20 23:44:33 2020
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                             1
cache hit rate                      0.00 %
cleanups performed                     0
files in cache                         2
cache size                           8.2 kB
max cache size                       5.0 GB

Test data and log file have been left in testdir/91350 / testdir/failed
<end of output>
Test time =   2.15 sec
----------------------------------------------------------
Test Failed.
"test.debug_prefix_map" end time: Nov 20 23:44 UTC
"test.debug_prefix_map" time elapsed: 00:00:02
----------------------------------------------------------

12/35 Testing: test.profiling_clang
12/35 Test: test.profiling_clang
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "profiling_clang"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.profiling_clang" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite profiling_clang [llvm-profdata tool not found]
<end of output>
Test time =   1.10 sec
----------------------------------------------------------
Test Passed.
"test.profiling_clang" end time: Nov 20 23:44 UTC
"test.profiling_clang" time elapsed: 00:00:01
----------------------------------------------------------

13/35 Testing: test.profiling_hip_clang
13/35 Test: test.profiling_hip_clang
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "profiling_hip_clang"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.profiling_hip_clang" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

clang-7: error: unknown argument: '-nogpulib'
Skipped test suite profiling_hip_clang [Hip not supported]
<end of output>
Test time =   1.04 sec
----------------------------------------------------------
Test Passed.
"test.profiling_hip_clang" end time: Nov 20 23:44 UTC
"test.profiling_hip_clang" time elapsed: 00:00:01
----------------------------------------------------------

6/35 Testing: test.serialize_diagnostics
6/35 Test: test.serialize_diagnostics
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "serialize_diagnostics"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.serialize_diagnostics" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite serialize_diagnostics
  Compile OK
  Compile failed
  --serialize-diagnostics + CCACHE_BASEDIR
PASSED
<end of output>
Test time =   3.49 sec
----------------------------------------------------------
Test Passed.
"test.serialize_diagnostics" end time: Nov 20 23:44 UTC
"test.serialize_diagnostics" time elapsed: 00:00:03
----------------------------------------------------------

14/35 Testing: test.split_dwarf
14/35 Test: test.split_dwarf
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "split_dwarf"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.split_dwarf" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite split_dwarf [-gsplit-dwarf not supported by compiler]
<end of output>
Test time =   1.13 sec
----------------------------------------------------------
Test Passed.
"test.split_dwarf" end time: Nov 20 23:44 UTC
"test.split_dwarf" time elapsed: 00:00:01
----------------------------------------------------------

8/35 Testing: test.sanitize_blacklist
8/35 Test: test.sanitize_blacklist
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "sanitize_blacklist"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.sanitize_blacklist" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite sanitize_blacklist
  Compile OK
  Compile failed
  Multiple -fsanitize-blacklist
PASSED
<end of output>
Test time =   4.06 sec
----------------------------------------------------------
Test Passed.
"test.sanitize_blacklist" end time: Nov 20 23:44 UTC
"test.sanitize_blacklist" time elapsed: 00:00:04
----------------------------------------------------------

17/35 Testing: test.fileclone
17/35 Test: test.fileclone
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "fileclone"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.fileclone" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite fileclone [file system doesn't support file cloning]
<end of output>
Test time =   0.96 sec
----------------------------------------------------------
Test Passed.
"test.fileclone" end time: Nov 20 23:44 UTC
"test.fileclone" time elapsed: 00:00:00
----------------------------------------------------------

19/35 Testing: test.direct_gcc
19/35 Test: test.direct_gcc
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "direct_gcc"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.direct_gcc" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite direct_gcc [Skipping GCC only test cases]
<end of output>
Test time =   0.99 sec
----------------------------------------------------------
Test Passed.
"test.direct_gcc" end time: Nov 20 23:44 UTC
"test.direct_gcc" time elapsed: 00:00:00
----------------------------------------------------------

15/35 Testing: test.masquerading
15/35 Test: test.masquerading
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "masquerading"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.masquerading" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite masquerading
  Masquerading via symlink, relative path
  Masquerading via symlink, absolute path
PASSED
<end of output>
Test time =   2.62 sec
----------------------------------------------------------
Test Passed.
"test.masquerading" end time: Nov 20 23:44 UTC
"test.masquerading" time elapsed: 00:00:02
----------------------------------------------------------

23/35 Testing: test.readonly
23/35 Test: test.readonly
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "readonly"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.readonly" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite readonly
  Cache hit
  Cache miss
  Cache hit, direct
PASSED
<end of output>
Test time =   3.14 sec
----------------------------------------------------------
Test Passed.
"test.readonly" end time: Nov 20 23:44 UTC
"test.readonly" time elapsed: 00:00:03
----------------------------------------------------------

22/35 Testing: test.no_compression
22/35 Test: test.no_compression
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "no_compression"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.no_compression" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite no_compression
  Base case
  Result file is uncompressed
  Hash sum equal for compressed and uncompressed files
  Corrupt result file
PASSED
<end of output>
Test time =   4.10 sec
----------------------------------------------------------
Test Passed.
"test.no_compression" end time: Nov 20 23:44 UTC
"test.no_compression" time elapsed: 00:00:04
----------------------------------------------------------

16/35 Testing: test.hardlink
16/35 Test: test.hardlink
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "hardlink"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.hardlink" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite hardlink
  CCACHE_HARDLINK
  Corrupted file size is detected
  Overwrite assembler
  Automake depend move
  .d file corrupted by compiler
PASSED
<end of output>
Test time =   5.34 sec
----------------------------------------------------------
Test Passed.
"test.hardlink" end time: Nov 20 23:44 UTC
"test.hardlink" time elapsed: 00:00:05
----------------------------------------------------------

24/35 Testing: test.readonly_direct
24/35 Test: test.readonly_direct
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "readonly_direct"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.readonly_direct" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite readonly_direct
  Direct hit
  Direct miss doesn't lead to preprocessed hit
PASSED
<end of output>
Test time =   2.44 sec
----------------------------------------------------------
Test Passed.
"test.readonly_direct" end time: Nov 20 23:44 UTC
"test.readonly_direct" time elapsed: 00:00:02
----------------------------------------------------------

27/35 Testing: test.pch
27/35 Test: test.pch
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "pch"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.pch" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite pch [compiler (clang version 7.1.0 (tags/RELEASE_710/final)) doesn't support precompiled headers]
<end of output>
Test time =   1.66 sec
----------------------------------------------------------
Test Passed.
"test.pch" end time: Nov 20 23:44 UTC
"test.pch" time elapsed: 00:00:01
----------------------------------------------------------

3/35 Testing: test.nocpp2
3/35 Test: test.nocpp2
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "nocpp2"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.nocpp2" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite nocpp2
  Base caseclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  Version output readable
  Debug optionclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  Output optionclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  Output option without spaceclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  Called for linkclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  No input file
  Called for preprocessing
  Multiple source files
  Couldn't find the compiler
  Bad compiler arguments
  Unsupported source language
  Unsupported compiler option
  Compiler produced stdout
  Output to directory
  Output to file in nonexistent directoryclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  No input file
  No file extensionclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  Source file ending with dotclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  Multiple file extensionsclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  LANGclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  LANG with sloppinessclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

  Result file is compressedclang-7: warning: argument unused during compilation: '-idirafter /nix/store/pajw1g04mmk9s6glzv1pfd68harmdwpf-Libsystem-osx-10.12.6/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/3r5zl7gkzxaxv8vla1j97qwxvcycp1vc-libc++-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/q07mz18pf896vzy7igw6hmainrcc67f7-libc++abi-7.1.0/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/d9nl5k4x862zflbxl2z12z44my03g9vs-compiler-rt-7.1.0-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-isystem /nix/store/rvpvlidmhnv8xbmlf9fhj2xhvs1a3jal-zstd-1.4.5-dev/include' [-Wunused-command-line-argument]
clang-7: warning: argument unused during compilation: '-iframework /nix/store/9jcnx1vdq2jqrgsba3lhpr6j11hg5x3j-swift-corefoundation/Library/Frameworks' [-Wunused-command-line-argument]

FAILED

Test suite:     nocpp2
Test case:      Result file is compressed
Failure reason: Result file seems to be uncompressed

ccache -s:
cache directory                     /private/tmp/nix-build-ccache-4.0.drv-0/source/build/testdir/90993/.ccache
primary config                      /private/tmp/nix-build-ccache-4.0.drv-0/source/build/testdir/90993/.ccache/ccache.conf
secondary config (readonly)         
stats updated                       Fri Nov 20 23:44:44 2020
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                             1
cache hit rate                      0.00 %
cleanups performed                     0
files in cache                         1
cache size                           4.1 kB
max cache size                       5.0 GB

Test data and log file have been left in testdir/90993 / testdir/failed
<end of output>
Test time =  13.31 sec
----------------------------------------------------------
Test Failed.
"test.nocpp2" end time: Nov 20 23:44 UTC
"test.nocpp2" time elapsed: 00:00:13
----------------------------------------------------------

25/35 Testing: test.cache_levels
25/35 Test: test.cache_levels
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "cache_levels"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.cache_levels" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite cache_levels
  Empty cache
  Many files but still level 2
  Level 3
  Level 4
  No deeper than 4 levels
PASSED
<end of output>
Test time =   5.24 sec
----------------------------------------------------------
Test Passed.
"test.cache_levels" end time: Nov 20 23:44 UTC
"test.cache_levels" time elapsed: 00:00:05
----------------------------------------------------------

20/35 Testing: test.depend
20/35 Test: test.depend
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "depend"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.depend" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite depend
  Base case
  No dependency file
  No explicit dependency file
  Dependency file paths converted to relative if CCACHE_BASEDIR specified
  stderr from both preprocessor and compiler
  Different sets of headers for the same source code
PASSED
<end of output>
Test time =  10.51 sec
----------------------------------------------------------
Test Passed.
"test.depend" end time: Nov 20 23:44 UTC
"test.depend" time elapsed: 00:00:10
----------------------------------------------------------

28/35 Testing: test.modules
28/35 Test: test.modules
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "modules"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.modules" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite modules
  fall back to real compiler, no sloppinessWhile building module 'Test1' imported from test1.cpp:1:
In file included from <module-includes>:1:
./test1.h:1:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
test1.cpp:1:9: fatal error: could not build module 'Test1'
#import "test1.h"
 ~~~~~~~^~~~~~~~~
2 errors generated.
While building module 'Test1' imported from test1.cpp:1:
In file included from <module-includes>:1:
./test1.h:1:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
test1.cpp:1:9: fatal error: could not build module 'Test1'
#import "test1.h"
 ~~~~~~~^~~~~~~~~
2 errors generated.

  fall back to real compiler, no depend modeWhile building module 'Test1' imported from test1.cpp:1:
In file included from <module-includes>:1:
./test1.h:1:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
test1.cpp:1:9: fatal error: could not build module 'Test1'
#import "test1.h"
 ~~~~~~~^~~~~~~~~
2 errors generated.
While building module 'Test1' imported from test1.cpp:1:
In file included from <module-includes>:1:
./test1.h:1:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
test1.cpp:1:9: fatal error: could not build module 'Test1'
#import "test1.h"
 ~~~~~~~^~~~~~~~~
2 errors generated.

  cache hitWhile building module 'Test1' imported from test1.cpp:1:
In file included from <module-includes>:1:
./test1.h:1:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
test1.cpp:1:9: fatal error: could not build module 'Test1'
#import "test1.h"
 ~~~~~~~^~~~~~~~~
2 errors generated.

FAILED

Test suite:     modules
Test case:      cache hit
Failure reason: Expected "cache miss" to be 1, actual 0

ccache -s:
cache directory                     /private/tmp/nix-build-ccache-4.0.drv-0/source/build/testdir/445/.ccache
primary config                      /private/tmp/nix-build-ccache-4.0.drv-0/source/build/testdir/445/.ccache/ccache.conf
secondary config (readonly)         
stats updated                       Fri Nov 20 23:44:45 2020
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                             0
cache hit rate                      0.00 %
compile failed                         1
cleanups performed                     0
files in cache                         0
cache size                           0.0 kB
max cache size                       5.0 GB

Test data and log file have been left in testdir/445 / testdir/failed
<end of output>
Test time =   2.28 sec
----------------------------------------------------------
Test Failed.
"test.modules" end time: Nov 20 23:44 UTC
"test.modules" time elapsed: 00:00:02
----------------------------------------------------------

30/35 Testing: test.input_charset
30/35 Test: test.input_charset
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "input_charset"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.input_charset" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite input_charset [compiler doesn't support -finput-charset]
<end of output>
Test time =   1.01 sec
----------------------------------------------------------
Test Passed.
"test.input_charset" end time: Nov 20 23:44 UTC
"test.input_charset" time elapsed: 00:00:01
----------------------------------------------------------

31/35 Testing: test.nvcc
31/35 Test: test.nvcc
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "nvcc"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.nvcc" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite nvcc [nvcc is not available]
<end of output>
Test time =   0.82 sec
----------------------------------------------------------
Test Passed.
"test.nvcc" end time: Nov 20 23:44 UTC
"test.nvcc" time elapsed: 00:00:00
----------------------------------------------------------

32/35 Testing: test.nvcc_direct
32/35 Test: test.nvcc_direct
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "nvcc_direct"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.nvcc_direct" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite nvcc_direct [nvcc is not available]
<end of output>
Test time =   0.81 sec
----------------------------------------------------------
Test Passed.
"test.nvcc_direct" end time: Nov 20 23:44 UTC
"test.nvcc_direct" time elapsed: 00:00:00
----------------------------------------------------------

33/35 Testing: test.nvcc_ldir
33/35 Test: test.nvcc_ldir
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "nvcc_ldir"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.nvcc_ldir" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite nvcc_ldir [nvcc is not available]
<end of output>
Test time =   0.83 sec
----------------------------------------------------------
Test Passed.
"test.nvcc_ldir" end time: Nov 20 23:44 UTC
"test.nvcc_ldir" time elapsed: 00:00:00
----------------------------------------------------------

34/35 Testing: test.nvcc_nocpp2
34/35 Test: test.nvcc_nocpp2
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "nvcc_nocpp2"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.nvcc_nocpp2" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Skipped test suite nvcc_nocpp2 [nvcc is not available]
<end of output>
Test time =   0.79 sec
----------------------------------------------------------
Test Passed.
"test.nvcc_nocpp2" end time: Nov 20 23:44 UTC
"test.nvcc_nocpp2" time elapsed: 00:00:00
----------------------------------------------------------

35/35 Testing: test.inode_cache
35/35 Test: test.inode_cache
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "inode_cache"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.inode_cache" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

stat: cannot read file system information for '/private/tmp/nix-build-ccache-4.0.drv-0/source/build/testdir/3117/.ccache': No such file or directory
Running test suite inode_cache
  Compile once
  Recompile
  Backdate
  Hard link
  Soft link
  Replace
PASSED
<end of output>
Test time =   3.94 sec
----------------------------------------------------------
Test Passed.
"test.inode_cache" end time: Nov 20 23:44 UTC
"test.inode_cache" time elapsed: 00:00:03
----------------------------------------------------------

26/35 Testing: test.cleanup
26/35 Test: test.cleanup
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "cleanup"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.cleanup" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite cleanup
  Clear cache
  Forced cache cleanup, no limits
  Forced cache cleanup, file limit
  Automatic cache cleanup, limit_multiple 0.9
  Automatic cache cleanup, limit_multiple 0.7
  No cleanup of new unknown file
  Cleanup of old unknown file
  Cleanup of tmp file
  No cleanup of .nfs* files
  Cleanup of old files by age
PASSED
<end of output>
Test time =  15.31 sec
----------------------------------------------------------
Test Passed.
"test.cleanup" end time: Nov 20 23:44 UTC
"test.cleanup" time elapsed: 00:00:15
----------------------------------------------------------

21/35 Testing: test.basedir
21/35 Test: test.basedir
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "basedir"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.basedir" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite basedir
  Enabled CCACHE_BASEDIR
  Disabled (default) CCACHE_BASEDIR
  Path normalization
  Symlink to source directoryld: warning: passed two min versions (10.12.0, 10.12) for platform macOS. Using 10.12.

  Symlink to source fileld: warning: passed two min versions (10.12.0, 10.12) for platform macOS. Using 10.12.

  Symlinked build dir inside source dir
  Symlinked source dir inside build dir
  Rewriting in stderr
  -MF/-MQ/-MT with absolute paths
  -MF/-MQ/-MT with absolute paths and BASEDIR set to /
  Absolute paths in stderr
PASSED
<end of output>
Test time =  19.65 sec
----------------------------------------------------------
Test Passed.
"test.basedir" end time: Nov 20 23:44 UTC
"test.basedir" time elapsed: 00:00:19
----------------------------------------------------------

2/35 Testing: test.base
2/35 Test: test.base
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "base"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.base" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite base
  Base case
  Version output readable
  Debug option
  Output option
  Output option without space
  Called for link
  No input file
  Called for preprocessing
  Multiple source files
  Couldn't find the compiler
  Bad compiler arguments
  Unsupported source language
  Unsupported compiler option
  Compiler produced stdout
  Output to directory
  Output to file in nonexistent directory
  No input file
  No file extension
  Source file ending with dot
  Multiple file extensions
  LANG
  LANG with sloppiness
  Result file is compressed
  Corrupt result file
  CCACHE_DEBUG
  CCACHE_DISABLE
  CCACHE_COMMENTS
  CCACHE_NOSTATS
  stats file forward compatibility
  stats file with large counter values
  CCACHE_RECACHE
  Directory is hashed if using -g
  Directory is not hashed if not using -g
  Directory is not hashed if using -g -g0
  Directory is not hashed if using -gz
  Directory is not hashed if using -gz=zlib
  CCACHE_NOHASHDIR
  CCACHE_EXTRAFILES
  CCACHE_PREFIX
  Files in cache
  Called for preprocessing
  Direct .i compile
  -x c
  -xc
  -x none
  -x unknown
  -x c -c /dev/null
  -D not hashed
  -S
  CCACHE_COMPILER
  CCACHE_PATH
  CCACHE_COMPILERCHECK=mtime
  CCACHE_COMPILERCHECK=content
  CCACHE_COMPILERCHECK=none
  CCACHE_COMPILERCHECK=string
  CCACHE_COMPILERCHECK=command
  CCACHE_COMPILERCHECK=unknown_command
  CCACHE_UMASKld: warning: passed two min versions (10.12.0, 10.12) for platform macOS. Using 10.12.

  No object file
  Empty object file
  Caching stderr
  Merging stderr
  Stderr and dependency file
  --zero-stats
  --clear
  -P
  -Wp,-P
  -Wp,-D
  Handling of compiler-only arguments
  Dependency file content
  Buggy GCC 6 cpp
  .incbin
  UNCACHED_ERR_FD
  Invalid boolean environment configuration options
  --hash-file
PASSED
<end of output>
Test time =  45.85 sec
----------------------------------------------------------
Test Passed.
"test.base" end time: Nov 20 23:45 UTC
"test.base" time elapsed: 00:00:45
----------------------------------------------------------

18/35 Testing: test.direct
18/35 Test: test.direct
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "direct"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.direct" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite direct
  Base case
  Corrupt manifest file
  CCACHE_NODIRECT
  Modified include file
  Removed but previously compiled header file
  Calculation of dependency file names
  -MMD for different source files
  Dependency file content, -MMD 
  Dependency file content, -MMD -o bar.o
  Dependency file content, -MMD -MF foo.d 
  Dependency file content, -MMD -MF foo.d -o bar.o
  Dependency file content, -Wp,-MMD,foo.d 
  Dependency file content, -Wp,-MMD,foo.d -o bar.o
  -MD/-MMD dependency target rewriting
  -MMD: cache hits and miss and dependency
  Dependency file content
  -MMD for different include file paths
  -Wp,-MD
  -Wp,-MMD
  -Wp,-D
  -Wp, with multiple arguments
  -MMD for different source files
  Multiple object entries in manifest
  -MD
  -ftest-coverage
  -fstack-usage
  Direct mode on cache created by ccache without direct mode support
  -MF
  MF /dev/null
  stderr from both preprocessor and compiler
  Empty source file
  Empty include file
  The source file path is included in the hash
  The source file path is included even if sloppiness = file_macro
  Relative includes for identical source code in different directories
  __TIME__ in source file disables direct mode
  __TIME__ in include file disables direct mode
  __TIME__ in source file ignored if sloppy
  __TIME__ in include file ignored if sloppy
  Too new include file disables direct mode
  __DATE__ in header file results in direct cache hit as the date remains the same
  New include file ignored if sloppy
  Sloppy Clang index store
  CPATH included in hash
  Comment in strings
  #line directives with troublesome files
  --dump-manifest
  Argument-less -B and -L
  CCACHE_IGNOREHEADERS with filename
  CCACHE_IGNOREHEADERS with directory
  CCACHE_IGNOREOPTIONS
PASSED
<end of output>
Test time =  47.98 sec
----------------------------------------------------------
Test Passed.
"test.direct" end time: Nov 20 23:45 UTC
"test.direct" time elapsed: 00:00:47
----------------------------------------------------------

29/35 Testing: test.upgrade
29/35 Test: test.upgrade
Command: "/nix/store/5i0vy593awrakrp55l87d5kb5rbvssaa-bash-4.4-p23/bin/bash" "/tmp/nix-build-ccache-4.0.drv-0/source/test/run" "upgrade"
Directory: /tmp/nix-build-ccache-4.0.drv-0/source/build
"test.upgrade" start time: Nov 20 23:44 UTC
Output:
----------------------------------------------------------
Compiler:         clang (/nix/store/cw9qkhjr5jw73z0bvijkwzlans45rkxz-clang-wrapper-7.1.0/bin/clang)
Compiler version: clang version 7.1.0 (tags/RELEASE_710/final)
CUDA compiler:    not available

Running test suite upgrade
  Default cache config/directory without XDG variables
FAILED

Test suite:     upgrade
Test case:      Default cache config/directory without XDG variables
Failure reason: expected cache directory /home/user/.cache/ccache, actual /home/user/Library/Caches/ccache

ccache -s:
cache directory                     /home/user/Library/Caches/ccache
primary config                      /home/user/Library/Preferences/ccache/ccache.conf
secondary config (readonly)         /nix/store/jpgk95klgdhkgzacx4lcpf74ypkdppvq-ccache-4.0/etc/ccache.conf
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                             0
cache hit rate                      0.00 %
cleanups performed                     0
files in cache                         0
cache size                           0.0 kB
max cache size                       5.0 GB

Test data and log file have been left in testdir/1272 / testdir/failed
<end of output>
Test time =  80.31 sec
----------------------------------------------------------
Test Failed.
"test.upgrade" end time: Nov 20 23:46 UTC
"test.upgrade" time elapsed: 00:01:20
----------------------------------------------------------

End testing: Nov 20 23:46 UTC

@kira-bruneau
Copy link
Contributor Author

kira-bruneau commented Nov 21, 2020

@r-burns Thanks again!

  • test.nocpp2: I'm not sure why this is failing. It's expecting file compression, but maybe the mac build doesn't support compression?
  • test.debug_prefix_map: It looks like this can be fixed by adding objdump.
  • test.modules: Hmm, it looks like there is a problem trying to link the C++ standard library, I'll look into this more.
  • test.upgrade: It actually looks like it uses the correct path (/home/user/Library/Caches/ccache), but it's failing because it's expecting /home/user/.cache/ccache

I think we can just add objdump and then disable the other 3 tests for now.

@r-burns
Copy link
Contributor

r-burns commented Nov 21, 2020

For some reason adding binutils.bintools to nativeBuildInputs causes linker errors - I think it is detected incorrectly by cmake instead of the stdenv tools.

But I am able to fix test.debug_prefix_map with

  postPatch = ''
    sed -i 's/HOST_OS_APPLE=true/HOST_OS_APPLE=false/g' test/run
  '' + stdenv.lib.optionalString stdenv.isDarwin ''
    sed -i 's|objdump -W|${binutils.bintools}/bin/objdump -W|g' test/run
  '';

Btw, feel free to add me as a maintainer and I'll help out with the darwin story in the future.

@kira-bruneau
Copy link
Contributor Author

kira-bruneau commented Nov 21, 2020

@r-burns I added the patches, disabled the 3 remaining tests, and added you as a maintainer. Does this look good to you?

@r-burns
Copy link
Contributor

r-burns commented Nov 21, 2020

Looks great! I'll run it through the nixpkgs-review gauntlet and see if I run into any more issues.

@kira-bruneau
Copy link
Contributor Author

@r-burns Thank you so much for your help, and volunteering to be a maintainer 😄

Copy link
Contributor

@r-burns r-burns left a comment

Choose a reason for hiding this comment

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

Result of nixpkgs-review pr 104425 1 on x86_64-darwin

3 packages built:
  • ccache
  • ccacheStdenv
  • ccacheWrapper

Result of nixpkgs-review pr 104425 1 on x86_64-linux (non-NixOS)

5 packages built:
  • baresip
  • ccache
  • ccacheStdenv
  • ccacheWrapper
  • webbrowser

@kira-bruneau
Copy link
Contributor Author

kira-bruneau commented Nov 22, 2020

@r-burns It looks like xcodebuild has bin/xcrun. If you add that as a checkInput, do the tests pass without patching? I think this should at least fix the problem with test.upgrade.

@r-burns
Copy link
Contributor

r-burns commented Nov 22, 2020

Yeah, that's definitely better - test.upgrade is passing now. Failures are now:

The following tests FAILED:
          3 - test.nocpp2 (Failed)
          9 - test.debug_prefix_map (Failed)
         28 - test.modules (Failed)

nocpp2 and modules seem to have the same failure as before, debug_prefix_map is using the HOST_OS_APPLE path and I guess our xcrun doesn't have dwarfdump.
So if we can force debug_prefix_map to use ${binutils.bintools}/bin/objdump -W like before I think it will work too.

@kira-bruneau
Copy link
Contributor Author

kira-bruneau commented Nov 22, 2020

Oh, it looks like xcrun is just a wrapper script:

xcrun = writeText "xcrun" ''
#!${runtimeShell}
while [ $# -gt 0 ]; do
case "$1" in
--sdk | -sdk) shift ;;
--find | -find)
shift
command -v $1 ;;
--log | -log) ;; # noop
--verbose | -verbose) ;; # noop
--no-cache | -no-cache) ;; # noop
--kill-cache | -kill-cache) ;; # noop
--show-sdk-path | -show-sdk-path)
echo ${sdks}/${sdkName}.sdk ;;
--show-sdk-platform-path | -show-sdk-platform-path)
echo ${platforms}/${xcodePlatform}.platform ;;
--show-sdk-version | -show-sdk-version)
echo ${sdkVer} ;;
--show-sdk-build-version | -show-sdk-build-version)
echo ${sdkBuildVersion} ;;
*) break ;;
esac
shift
done
if ! [[ -z "$@" ]]; then
exec "$@"
fi
'';
What if you also try adding dwarfdump to checkInputs?

@r-burns
Copy link
Contributor

r-burns commented Nov 22, 2020

We don't package dwarfdump on darwin - I tried getting it to work but it seems nontrivial. I'll keep looking as I think that would ultimately be the best approach, but I wouldn't want that to hold up this update.

@kira-bruneau
Copy link
Contributor Author

Yeah, it seems like dwarfdump is actually a different executable on Mac (https://stackoverflow.com/questions/30078012/dwarfdump-differences-between-osx-and-linux-and-how-to-avoid-them), so I just added a patch to force objdump on darwin.

@kira-bruneau
Copy link
Contributor Author

Oh oops, I left out xcodebuild, I'll submit another patch 😅

Additional changes:
- Added myself as a maintainer
- Generalized ccacheStdenv to allow overriding stdenv
ccache build is disabled with CCACHE_DISABLE=1, so it's unnecessary
ccache just adds unnecessary overhead when building in a sandboxed environment
@r-burns
Copy link
Contributor

r-burns commented Nov 22, 2020

Result of nixpkgs-review pr 104425 1 on x86_64-darwin

2 packages built:
  • ccache
  • ccacheStdenv

@7c6f434c 7c6f434c merged commit 5edcf11 into NixOS:master Nov 22, 2020
@ElXreno
Copy link
Contributor

ElXreno commented Jan 6, 2021

@r-burns @MetaDark after 82ca111 commit, ccacheStdenv overrides default extraConfig from ccacheWrapper, so default config is broken and doesn't works.
ccacheStdenv should get extraConfig from ccacheWrapper and it should not override extraConfig by ""

@kira-bruneau
Copy link
Contributor Author

@ElXreno Thanks for reporting this! I intended to make ccacheStdenv configurable with that change, but I didn't notice I was breaking the use case you described. I will submit a fix shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants