FAILED: ~/build/textmate/release/_CompileClang/Applications/TextMate/src/RMateServer.o
xcrun --sdk macosx clang -c -o ~/build/textmate/release/_CompileClang/Applications/TextMate/src/RMateServer.o -funsigned-char -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -Wno-c99-designator -D'NULL_STR="\uFFFF"' -D'REST_API="
https://api.textmate.org"' -IShared/include -mmacosx-version-min=10.12 -I/usr/local/include -Os -DNDEBUG -flto=thin -std=c99 -fobjc-abi-version=3 -fobjc-arc -std=c++2a -fobjc-call-cxx-cdtors -include \~/build/textmate/release/_PCH/Shared/PCH/prelude.mm -I\~/build/textmate/release/_Include/BundleEditor -I\~/build/textmate/release/_Include/BundleMenu -I\~/build/textmate/release/_Include/BundlesManager -I\~/build/textmate/release/_Include/CommitWindow -I\~/build/textmate/release/_Include/CrashReporter -I\~/build/textmate/release/_Include/DocumentWindow -I\~/build/textmate/release/_Include/FileBrowser -I\~/build/textmate/release/_Include/Find -I\~/build/textmate/release/_Include/HTMLOutput -I\~/build/textmate/release/_Include/HTMLOutputWindow -I\~/build/textmate/release/_Include/MenuBuilder -I\~/build/textmate/release/_Include/OakAppKit -I\~/build/textmate/release/_Include/OakCommand -I\~/build/textmate/release/_Include/OakFilterList -I\~/build/textmate/release/_Include/OakFoundation -I\~/build/textmate/release/_Include/OakSystem -I\~/build/textmate/release/_Include/OakTabBarView -I\~/build/textmate/release/_Include/OakTextView -I\~/build/textmate/release/_Include/Onigmo -I\~/build/textmate/release/_Include/Preferences -I\~/build/textmate/release/_Include/SoftwareUpdate -I\~/build/textmate/release/_Include/TMFileReference -I\~/build/textmate/release/_Include/authorization -I\~/build/textmate/release/_Include/buffer -I\~/build/textmate/release/_Include/bundles -I\~/build/textmate/release/_Include/cf -I\~/build/textmate/release/_Include/command -I\~/build/textmate/release/_Include/crash -I\~/build/textmate/release/_Include/document -I\~/build/textmate/release/_Include/editor -I\~/build/textmate/release/_Include/encoding -I\~/build/textmate/release/_Include/file -I\~/build/textmate/release/_Include/io -I\~/build/textmate/release/_Include/kvdb -I\~/build/textmate/release/_Include/layout -I\~/build/textmate/release/_Include/license -I\~/build/textmate/release/_Include/network -I\~/build/textmate/release/_Include/ns -I\~/build/textmate/release/_Include/parse -I\~/build/textmate/release/_Include/plist -I\~/build/textmate/release/_Include/regexp -I\~/build/textmate/release/_Include/scm -I\~/build/textmate/release/_Include/scope -I\~/build/textmate/release/_Include/selection -I\~/build/textmate/release/_Include/settings -I\~/build/textmate/release/_Include/text -I\~/build/textmate/release/_Include/theme -I\~/build/textmate/release/_Include/undo -MMD -MF ~/build/textmate/release/_CompileClang/Applications/TextMate/src/RMateServer.o.d Applications/TextMate/src/RMateServer.mm
In file included from Applications/TextMate/src/RMateServer.mm:1:
In file included from ~/development/objective-c/textmate/Shared/PCH/prelude.mm:6:
In file included from ~/development/objective-c/textmate/Shared/PCH/
prelude.cc:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/algorithm:653:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/memory:2684:27: error: cast of a non-Objective-C pointer type 'typename _CompressedPair::_Base2 *' (aka '__compressed_pair_elem<NSRunningApplication *__strong, 1> *') to 'NSRunningApplication *__strong *' is disallowed with ARC
_Tp *__elem = reinterpret_cast<_Tp*>(__second);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/memory:2635:53: note: in instantiation of member function 'std::__shared_ptr_emplace<NSRunningApplication *, std::allocator<NSRunningApplication *>>::_Storage::__get_elem' requested here
_Tp* __get_elem() _NOEXCEPT { return __storage_.__get_elem(); }
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/memory:3387:76: note: in instantiation of member function 'std::__shared_ptr_emplace<NSRunningApplication *, std::allocator<NSRunningApplication *>>::__get_elem' requested here
return shared_ptr<_Tp>::__create_with_control_block((*__control_block).__get_elem(), _VSTD::addressof(*__control_block));
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/memory:3394:19: note: in instantiation of function template specialization 'std::allocate_shared<NSRunningApplication *, std::allocator<NSRunningApplication *>, NSRunningApplication *, void>' requested here
return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
^
Applications/TextMate/src/RMateServer.mm:337:21: note: in instantiation of function template specialization 'std::make_shared<NSRunningApplication *, NSRunningApplication *, void>' requested here
_terminal = std::make_shared<NSRunningApplication*>([NSWorkspace.sharedWorkspace frontmostApplication]);
^
1 error generated.
[537/852] Compile ‘Frameworks/BundleEditor/src/BundleEditor.mm’…
ninja: build stopped: subcommand failed.