this derivation will be built: /nix/store/wdd94j2xbnm2zjxdydsrwkv74k1mciyn-inspector-clang-tidy-0.1.0.drv error: Cannot build '/nix/store/wdd94j2xbnm2zjxdydsrwkv74k1mciyn-inspector-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fcgf6bxb5r331f1vspqlylncg331chl2-inspector-clang-tidy-0.1.0 Last 25 log lines: > 327 | void *dso) noexcept -> int { > | ~~~~~~~~~ > /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/lib/repl.cpp:326:67: note: the first parameter in the range is 'obj' > 326 | extern "C" auto inspectorThreadAtexit(void (*dtor)(void *), void *obj, > | ^~~ > /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/lib/repl.cpp:327:45: note: the last parameter in the range is 'dso' > 327 | void *dso) noexcept -> int { > | ^~~ > /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/lib/repl.cpp:326:61: error: pointee of variable 'obj' of type 'void *' can be declared 'const' [misc-const-correctness,-warnings-as-errors] > 326 | extern "C" auto inspectorThreadAtexit(void (*dtor)(void *), void *obj, > | ^ > | const > /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/lib/repl.cpp:327:39: error: pointee of variable 'dso' of type 'void *' can be declared 'const' [misc-const-correctness,-warnings-as-errors] > 327 | void *dso) noexcept -> int { > | ^ > | const > /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/lib/repl.cpp:329:15: error: no member named '__cxa_thread_atexit' in namespace '__cxxabiv1' [clang-diagnostic-error] > 329 | return abi::__cxa_thread_atexit(dtor, obj, dso); > | ^~~~~~~~~~~~~~~~~~~ > Error while processing /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/lib/repl.cpp. > > [12/15][25.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/tools/repl/main.cpp > [13/15][49.0s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/tools/inspector/prebuild.cpp > [14/15][50.4s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/lib/completer.cpp > [15/15][38.8s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/5e51b5dab9c5aa0a/build/source/test/driver.cpp For full logs, run: nix log /nix/store/wdd94j2xbnm2zjxdydsrwkv74k1mciyn-inspector-clang-tidy-0.1.0.drv