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

zig cc -target aarch64-macos-gnu ... with cgo fails with expansion-to-defined and availability errors that do not occur without -target ... #10790

Closed
charleskorn opened this issue Feb 4, 2022 · 9 comments
Labels
bug Observed behavior contradicts documented or intended behavior

Comments

@charleskorn
Copy link

Zig Version

0.9.0

Steps to Reproduce

(This issue is split from #10513 (comment).)

I've created a sample project (https://github.com/charleskorn/zig-cgo-libs) that illustrates the problem.

Run ./build-native.sh shared to run the build without cross-compilation. zig cc will be invoked without -target by the cc.sh wrapper script.

Run ./build-cross.sh shared darwin arm64 to build with cross-compilation enabled. zig cc will be invoked with -target aarch64-macos-gnu --sysroot "$SYSROOT" "-I$SYSROOT/usr/include" "-F$SYSROOT/System/Library/Frameworks" "-L$SYSROOT/usr/lib".

Expected Behavior

Both invocations behave the same when running on my M1 Mac - ie. both produce the same warnings and errors, and both succeed or both fail.

Actual Behavior

The native build (ie. without -target ...) succeeds without error:

Logs
Preparing...

Building shared library for local environment (darwin arm64)...
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -o $WORK/b017/_cgo_.o $WORK/b017/_cgo_main.o $WORK/b017/_x001.o $WORK/b017/_x002.o $WORK/b017/_x003.o $WORK/b017/_x004.o $WORK/b017/_x005.o $WORK/b017/_x006.o $WORK/b017/_x007.o $WORK/b017/_x008.o $WORK/b017/_x009.o -g -O2 -framework CoreFoundation
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x001.o -c _cgo_export.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x002.o -c cgo.cgo2.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x003.o -c gcc_context.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x004.o -c gcc_darwin_arm64.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x005.o -c gcc_libinit.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x006.o -c gcc_setenv.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x007.o -c gcc_traceback.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x008.o -c gcc_util.c
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x009.o -c gcc_arm64.S
+ set +x
# runtime/cgo
+ [[ -z '' ]]
+ zig cc -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_cgo_main.o -c _cgo_main.c
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z '' ]]
+ zig cc -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -o $WORK/b001/_cgo_.o $WORK/b001/_cgo_main.o $WORK/b001/_x001.o $WORK/b001/_x002.o -g -O2
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z '' ]]
+ zig cc -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b001/ -g -O2 -o $WORK/b001/_x001.o -c _cgo_export.c
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z '' ]]
+ zig cc -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b001/ -g -O2 -o $WORK/b001/_x002.o -c function.cgo2.c
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z '' ]]
+ zig cc -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build1624284059/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b001/ -g -O2 -o $WORK/b001/_cgo_main.o -c _cgo_main.c
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z '' ]]
+ zig cc -arch arm64 -Wl,-S -dynamiclib -o libmain.dylib -Qunused-arguments -Wl,--compress-debug-sections=zlib-gnu /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/go.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000000.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000001.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000002.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000003.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000004.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000005.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000006.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000007.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000008.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000009.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-3400935380/000010.o -g -O2 -g -O2 -framework CoreFoundation
warning: unsupported linker arg: -S
warning: unsupported linker arg: --compress-debug-sections
warning: unsupported linker arg: zlib-gnu
+ set +x
Succeeded.

The cross-compiled build (ie. with -target ...) fails with a number of errors:

Logs
Preparing...

Building shared library for darwin arm64...
# runtime/cgo
+ [[ -n aarch64-macos-gnu ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build3500055429/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x001.o -c _cgo_export.c
+ set +x
# runtime/cgo
+ [[ -n aarch64-macos-gnu ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build3500055429/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x002.o -c cgo.cgo2.c
+ set +x
# runtime/cgo
+ [[ -n aarch64-macos-gnu ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build3500055429/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x003.o -c gcc_context.c
+ set +x
# runtime/cgo
+ [[ -n aarch64-macos-gnu ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build3500055429/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x004.o -c gcc_darwin_arm64.c
In file included from gcc_darwin_arm64.c:6:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:328:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:197:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:328:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:197:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:537:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:197:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:537:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:197:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:560:1: error: unknown platform 'driverkit' in availability macro [-Werror,-Wavailability]
__API_UNAVAILABLE(ios, tvos, watchos, driverkit)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h:419:133: note: expanded from macro '__API_UNAVAILABLE'
    #define __API_UNAVAILABLE(...) __API_UNAVAILABLE_GET_MACRO(__VA_ARGS__,__API_UNAVAILABLE7,__API_UNAVAILABLE6,__API_UNAVAILABLE5,__API_UNAVAILABLE4,__API_UNAVAILABLE3,__API_UNAVAILABLE2,__API_UNAVAILABLE1, 0)(__VA_ARGS__)
                                                                                                                                    ^
In file included from gcc_darwin_arm64.c:6:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:564:1: error: unknown platform 'driverkit' in availability macro [-Werror,-Wavailability]
__API_UNAVAILABLE(ios, tvos, watchos, driverkit)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h:419:133: note: expanded from macro '__API_UNAVAILABLE'
    #define __API_UNAVAILABLE(...) __API_UNAVAILABLE_GET_MACRO(__VA_ARGS__,__API_UNAVAILABLE7,__API_UNAVAILABLE6,__API_UNAVAILABLE5,__API_UNAVAILABLE4,__API_UNAVAILABLE3,__API_UNAVAILABLE2,__API_UNAVAILABLE1, 0)(__VA_ARGS__)
                                                                                                                                    ^
In file included from gcc_darwin_arm64.c:6:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:668:1: error: unknown platform 'driverkit' in availability macro [-Werror,-Wavailability]
__API_UNAVAILABLE(ios, tvos, watchos, driverkit)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h:419:133: note: expanded from macro '__API_UNAVAILABLE'
    #define __API_UNAVAILABLE(...) __API_UNAVAILABLE_GET_MACRO(__VA_ARGS__,__API_UNAVAILABLE7,__API_UNAVAILABLE6,__API_UNAVAILABLE5,__API_UNAVAILABLE4,__API_UNAVAILABLE3,__API_UNAVAILABLE2,__API_UNAVAILABLE1, 0)(__VA_ARGS__)
                                                                                                                                    ^
In file included from gcc_darwin_arm64.c:6:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:699:1: error: unknown platform 'driverkit' in availability macro [-Werror,-Wavailability]
__API_UNAVAILABLE(ios, tvos, watchos, driverkit)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h:419:133: note: expanded from macro '__API_UNAVAILABLE'
    #define __API_UNAVAILABLE(...) __API_UNAVAILABLE_GET_MACRO(__VA_ARGS__,__API_UNAVAILABLE7,__API_UNAVAILABLE6,__API_UNAVAILABLE5,__API_UNAVAILABLE4,__API_UNAVAILABLE3,__API_UNAVAILABLE2,__API_UNAVAILABLE1, 0)(__VA_ARGS__)
                                                                                                                                    ^
8 errors generated.
Failed!

Adding -Wno-availability -Wno-expansion-to-defined to the zig cc -target ... command line results in a build that succeeds, however a number of nullability-completeness warnings are generated:

Logs
Preparing...

Building shared library for darwin arm64...
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -o $WORK/b017/_cgo_.o $WORK/b017/_cgo_main.o $WORK/b017/_x001.o $WORK/b017/_x002.o $WORK/b017/_x003.o $WORK/b017/_x004.o $WORK/b017/_x005.o $WORK/b017/_x006.o $WORK/b017/_x007.o $WORK/b017/_x008.o $WORK/b017/_x009.o -g -O2 -framework CoreFoundation
warning(link): unable to resolve dependency /usr/lib/libobjc.A.dylib
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x001.o -c _cgo_export.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x002.o -c cgo.cgo2.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x003.o -c gcc_context.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x004.o -c gcc_darwin_arm64.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x005.o -c gcc_libinit.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x006.o -c gcc_setenv.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x007.o -c gcc_traceback.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x008.o -c gcc_util.c
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_x009.o -c gcc_arm64.S
+ set +x
# runtime/cgo
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b017/ -g -O2 -Wno-nullability-completeness -Wall -Werror -o $WORK/b017/_cgo_main.o -c _cgo_main.c
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -o $WORK/b001/_cgo_.o $WORK/b001/_cgo_main.o $WORK/b001/_x001.o $WORK/b001/_x002.o -g -O2
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b001/ -g -O2 -o $WORK/b001/_x001.o -c _cgo_export.c
In file included from _cgo_export.c:3:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double   atof(const char *);
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:25: note: insert '_Nullable' if the pointer may be null
double   atof(const char *);
                         ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:25: note: insert '_Nonnull' if the pointer should never be null
double   atof(const char *);
                         ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      atoi(const char *);
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:22: note: insert '_Nullable' if the pointer may be null
int      atoi(const char *);
                         ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:22: note: insert '_Nonnull' if the pointer should never be null
int      atoi(const char *);
                         ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:136:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long     atol(const char *);
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:136:23: note: insert '_Nullable' if the pointer may be null
long     atol(const char *);
                         ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:136:23: note: insert '_Nonnull' if the pointer should never be null
long     atol(const char *);
                         ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:139:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         atoll(const char *);
                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:139:20: note: insert '_Nullable' if the pointer may be null
         atoll(const char *);
                          ^
                           _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:139:20: note: insert '_Nonnull' if the pointer should never be null
         atoll(const char *);
                          ^
                           _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *bsearch(const void *__key, const void *__base, size_t __nel,
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:26: note: insert '_Nullable' if the pointer may be null
void    *bsearch(const void *__key, const void *__base, size_t __nel,
                            ^
                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:26: note: insert '_Nonnull' if the pointer should never be null
void    *bsearch(const void *__key, const void *__base, size_t __nel,
                            ^
                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *bsearch(const void *__key, const void *__base, size_t __nel,
                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:45: note: insert '_Nullable' if the pointer may be null
void    *bsearch(const void *__key, const void *__base, size_t __nel,
                                               ^
                                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:45: note: insert '_Nonnull' if the pointer should never be null
void    *bsearch(const void *__key, const void *__base, size_t __nel,
                                               ^
                                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:142:59: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:142:59: note: insert '_Nullable' if the pointer may be null
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                                                 ^
                                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:142:59: note: insert '_Nonnull' if the pointer should never be null
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                                                 ^
                                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:142:73: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:142:73: note: insert '_Nullable' if the pointer may be null
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                                                               ^
                                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:142:73: note: insert '_Nonnull' if the pointer should never be null
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                                                               ^
                                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *bsearch(const void *__key, const void *__base, size_t __nel,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:6: note: insert '_Nullable' if the pointer may be null
void    *bsearch(const void *__key, const void *__base, size_t __nel,
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:141:6: note: insert '_Nonnull' if the pointer should never be null
void    *bsearch(const void *__key, const void *__base, size_t __nel,
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *getenv(const char *);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:25: note: insert '_Nullable' if the pointer may be null
char    *getenv(const char *);
                           ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:25: note: insert '_Nonnull' if the pointer should never be null
char    *getenv(const char *);
                           ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *getenv(const char *);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:6: note: insert '_Nullable' if the pointer may be null
char    *getenv(const char *);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:6: note: insert '_Nonnull' if the pointer should never be null
char    *getenv(const char *);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:156:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      mblen(const char *__s, size_t __n);
                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:156:23: note: insert '_Nullable' if the pointer may be null
int      mblen(const char *__s, size_t __n);
                          ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:156:23: note: insert '_Nonnull' if the pointer should never be null
int      mblen(const char *__s, size_t __n);
                          ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:157:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:157:26: note: insert '_Nullable' if the pointer may be null
size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
                          ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:157:26: note: insert '_Nonnull' if the pointer should never be null
size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
                          ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:157:52: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
                                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:157:52: note: insert '_Nullable' if the pointer may be null
size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
                                                    ^
                                                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:157:52: note: insert '_Nonnull' if the pointer should never be null
size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
                                                    ^
                                                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:158:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:158:21: note: insert '_Nullable' if the pointer may be null
int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
                        ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:158:21: note: insert '_Nonnull' if the pointer should never be null
int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
                        ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:158:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:158:46: note: insert '_Nullable' if the pointer may be null
int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
                                                 ^
                                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:158:46: note: insert '_Nonnull' if the pointer should never be null
int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
                                                 ^
                                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:160:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     qsort(void *__base, size_t __nel, size_t __width,
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:160:18: note: insert '_Nullable' if the pointer may be null
void     qsort(void *__base, size_t __nel, size_t __width,
                    ^
                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:160:18: note: insert '_Nonnull' if the pointer should never be null
void     qsort(void *__base, size_t __nel, size_t __width,
                    ^
                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:161:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:161:43: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:161:43: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:161:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:161:57: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:161:57: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:27: note: insert '_Nullable' if the pointer may be null
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                           ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:27: note: insert '_Nonnull' if the pointer should never be null
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                           ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:35: note: insert '_Nullable' if the pointer may be null
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                                   ^
                                    _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:35: note: insert '_Nonnull' if the pointer should never be null
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                                   ^
                                    _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:36: note: insert '_Nullable' if the pointer may be null
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                                    ^
                                     _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:36: note: insert '_Nonnull' if the pointer should never be null
double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
                                    ^
                                     _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:26: note: insert '_Nullable' if the pointer may be null
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                           ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:26: note: insert '_Nonnull' if the pointer should never be null
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                           ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:34: note: insert '_Nullable' if the pointer may be null
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                                   ^
                                    _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:34: note: insert '_Nonnull' if the pointer should never be null
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                                   ^
                                    _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:35: note: insert '_Nullable' if the pointer may be null
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                                    ^
                                     _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:166:35: note: insert '_Nonnull' if the pointer should never be null
float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
                                    ^
                                     _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long     strtol(const char *__str, char **__endptr, int __base);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:25: note: insert '_Nullable' if the pointer may be null
long     strtol(const char *__str, char **__endptr, int __base);
                           ^
                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:25: note: insert '_Nonnull' if the pointer should never be null
long     strtol(const char *__str, char **__endptr, int __base);
                           ^
                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long     strtol(const char *__str, char **__endptr, int __base);
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:38: note: insert '_Nullable' if the pointer may be null
long     strtol(const char *__str, char **__endptr, int __base);
                                        ^
                                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:38: note: insert '_Nonnull' if the pointer should never be null
long     strtol(const char *__str, char **__endptr, int __base);
                                        ^
                                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:39: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long     strtol(const char *__str, char **__endptr, int __base);
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:39: note: insert '_Nullable' if the pointer may be null
long     strtol(const char *__str, char **__endptr, int __base);
                                         ^
                                           _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:39: note: insert '_Nonnull' if the pointer should never be null
long     strtol(const char *__str, char **__endptr, int __base);
                                         ^
                                           _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtold(const char *, char **);
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:22: note: insert '_Nullable' if the pointer may be null
         strtold(const char *, char **);
                            ^
                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:22: note: insert '_Nonnull' if the pointer should never be null
         strtold(const char *, char **);
                            ^
                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtold(const char *, char **);
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:30: note: insert '_Nullable' if the pointer may be null
         strtold(const char *, char **);
                                    ^
                                     _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:30: note: insert '_Nonnull' if the pointer should never be null
         strtold(const char *, char **);
                                    ^
                                     _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtold(const char *, char **);
                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:31: note: insert '_Nullable' if the pointer may be null
         strtold(const char *, char **);
                                     ^
                                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:169:31: note: insert '_Nonnull' if the pointer should never be null
         strtold(const char *, char **);
                                     ^
                                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoll(const char *__str, char **__endptr, int __base);
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:22: note: insert '_Nullable' if the pointer may be null
         strtoll(const char *__str, char **__endptr, int __base);
                            ^
                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:22: note: insert '_Nonnull' if the pointer should never be null
         strtoll(const char *__str, char **__endptr, int __base);
                            ^
                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoll(const char *__str, char **__endptr, int __base);
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:35: note: insert '_Nullable' if the pointer may be null
         strtoll(const char *__str, char **__endptr, int __base);
                                         ^
                                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:35: note: insert '_Nonnull' if the pointer should never be null
         strtoll(const char *__str, char **__endptr, int __base);
                                         ^
                                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoll(const char *__str, char **__endptr, int __base);
                                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:36: note: insert '_Nullable' if the pointer may be null
         strtoll(const char *__str, char **__endptr, int __base);
                                          ^
                                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:172:36: note: insert '_Nonnull' if the pointer should never be null
         strtoll(const char *__str, char **__endptr, int __base);
                                          ^
                                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoul(const char *__str, char **__endptr, int __base);
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:22: note: insert '_Nullable' if the pointer may be null
         strtoul(const char *__str, char **__endptr, int __base);
                            ^
                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:22: note: insert '_Nonnull' if the pointer should never be null
         strtoul(const char *__str, char **__endptr, int __base);
                            ^
                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoul(const char *__str, char **__endptr, int __base);
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:35: note: insert '_Nullable' if the pointer may be null
         strtoul(const char *__str, char **__endptr, int __base);
                                         ^
                                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:35: note: insert '_Nonnull' if the pointer should never be null
         strtoul(const char *__str, char **__endptr, int __base);
                                         ^
                                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoul(const char *__str, char **__endptr, int __base);
                                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:36: note: insert '_Nullable' if the pointer may be null
         strtoul(const char *__str, char **__endptr, int __base);
                                          ^
                                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:36: note: insert '_Nonnull' if the pointer should never be null
         strtoul(const char *__str, char **__endptr, int __base);
                                          ^
                                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoull(const char *__str, char **__endptr, int __base);
                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:23: note: insert '_Nullable' if the pointer may be null
         strtoull(const char *__str, char **__endptr, int __base);
                             ^
                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:23: note: insert '_Nonnull' if the pointer should never be null
         strtoull(const char *__str, char **__endptr, int __base);
                             ^
                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoull(const char *__str, char **__endptr, int __base);
                                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:36: note: insert '_Nullable' if the pointer may be null
         strtoull(const char *__str, char **__endptr, int __base);
                                          ^
                                           _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:36: note: insert '_Nonnull' if the pointer should never be null
         strtoull(const char *__str, char **__endptr, int __base);
                                          ^
                                           _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoull(const char *__str, char **__endptr, int __base);
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:37: note: insert '_Nullable' if the pointer may be null
         strtoull(const char *__str, char **__endptr, int __base);
                                           ^
                                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:178:37: note: insert '_Nonnull' if the pointer should never be null
         strtoull(const char *__str, char **__endptr, int __base);
                                           ^
                                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:184:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      system(const char *) __DARWIN_ALIAS_C(system);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:184:24: note: insert '_Nullable' if the pointer may be null
int      system(const char *) __DARWIN_ALIAS_C(system);
                           ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:184:24: note: insert '_Nonnull' if the pointer should never be null
int      system(const char *) __DARWIN_ALIAS_C(system);
                           ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:187:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:187:23: note: insert '_Nullable' if the pointer may be null
size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
                       ^
                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:187:23: note: insert '_Nonnull' if the pointer should never be null
size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
                       ^
                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:187:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
                                                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:187:51: note: insert '_Nullable' if the pointer may be null
size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
                                                   ^
                                                     _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:187:51: note: insert '_Nonnull' if the pointer should never be null
size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
                                                   ^
                                                     _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:188:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      wctomb(char *, wchar_t);
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:188:18: note: insert '_Nullable' if the pointer may be null
int      wctomb(char *, wchar_t);
                     ^
                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:188:18: note: insert '_Nonnull' if the pointer should never be null
int      wctomb(char *, wchar_t);
                     ^
                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:192:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long     a64l(const char *);
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:192:23: note: insert '_Nullable' if the pointer may be null
long     a64l(const char *);
                         ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:192:23: note: insert '_Nonnull' if the pointer should never be null
long     a64l(const char *);
                         ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:29: note: insert '_Nullable' if the pointer may be null
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                               ^
                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:29: note: insert '_Nonnull' if the pointer should never be null
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                               ^
                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:46: note: insert '_Nullable' if the pointer may be null
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                                                ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:46: note: insert '_Nonnull' if the pointer should never be null
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                                                ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:6: note: insert '_Nullable' if the pointer may be null
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:194:6: note: insert '_Nonnull' if the pointer should never be null
char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:195:31: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
double   erand48(unsigned short[3]);
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:195:31: note: insert '_Nullable' if the array parameter may be null
double   erand48(unsigned short[3]);
                               ^
                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:195:31: note: insert '_Nonnull' if the array parameter should never be null
double   erand48(unsigned short[3]);
                               ^
                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:29: note: insert '_Nullable' if the pointer may be null
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                               ^
                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:29: note: insert '_Nonnull' if the pointer should never be null
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                               ^
                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:46: note: insert '_Nullable' if the pointer may be null
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                                                ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:46: note: insert '_Nonnull' if the pointer should never be null
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
                                                ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:6: note: insert '_Nullable' if the pointer may be null
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:196:6: note: insert '_Nonnull' if the pointer should never be null
char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:197:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *gcvt(double, int, char *); /* LEGACY */
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:197:30: note: insert '_Nullable' if the pointer may be null
char    *gcvt(double, int, char *); /* LEGACY */
                                ^
                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:197:30: note: insert '_Nonnull' if the pointer should never be null
char    *gcvt(double, int, char *); /* LEGACY */
                                ^
                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:197:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *gcvt(double, int, char *); /* LEGACY */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:197:6: note: insert '_Nullable' if the pointer may be null
char    *gcvt(double, int, char *); /* LEGACY */
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:197:6: note: insert '_Nonnull' if the pointer should never be null
char    *gcvt(double, int, char *); /* LEGACY */
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      getsubopt(char **, char * const *, char **);
                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:21: note: insert '_Nullable' if the pointer may be null
int      getsubopt(char **, char * const *, char **);
                        ^
                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:21: note: insert '_Nonnull' if the pointer should never be null
int      getsubopt(char **, char * const *, char **);
                        ^
                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      getsubopt(char **, char * const *, char **);
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:22: note: insert '_Nullable' if the pointer may be null
int      getsubopt(char **, char * const *, char **);
                         ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:22: note: insert '_Nonnull' if the pointer should never be null
int      getsubopt(char **, char * const *, char **);
                         ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      getsubopt(char **, char * const *, char **);
                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:30: note: insert '_Nullable' if the pointer may be null
int      getsubopt(char **, char * const *, char **);
                                 ^
                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:30: note: insert '_Nonnull' if the pointer should never be null
int      getsubopt(char **, char * const *, char **);
                                 ^
                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      getsubopt(char **, char * const *, char **);
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:38: note: insert '_Nullable' if the pointer may be null
int      getsubopt(char **, char * const *, char **);
                                         ^
                                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:38: note: insert '_Nonnull' if the pointer should never be null
int      getsubopt(char **, char * const *, char **);
                                         ^
                                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      getsubopt(char **, char * const *, char **);
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:46: note: insert '_Nullable' if the pointer may be null
int      getsubopt(char **, char * const *, char **);
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:46: note: insert '_Nonnull' if the pointer should never be null
int      getsubopt(char **, char * const *, char **);
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      getsubopt(char **, char * const *, char **);
                                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:47: note: insert '_Nullable' if the pointer may be null
int      getsubopt(char **, char * const *, char **);
                                                  ^
                                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:198:47: note: insert '_Nonnull' if the pointer should never be null
int      getsubopt(char **, char * const *, char **);
                                                  ^
                                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:201:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:201:32: note: insert '_Nullable' if the pointer may be null
char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
                                  ^
                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:201:32: note: insert '_Nonnull' if the pointer should never be null
char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
                                  ^
                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:201:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:201:6: note: insert '_Nullable' if the pointer may be null
char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:201:6: note: insert '_Nonnull' if the pointer should never be null
char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:205:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
long     jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:205:29: note: insert '_Nullable' if the array parameter may be null
long     jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
                               ^
                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:205:29: note: insert '_Nonnull' if the array parameter should never be null
long     jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
                               ^
                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:206:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *l64a(long);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:206:6: note: insert '_Nullable' if the pointer may be null
char    *l64a(long);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:206:6: note: insert '_Nonnull' if the pointer should never be null
char    *l64a(long);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:207:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
void     lcong48(unsigned short[7]);
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:207:29: note: insert '_Nullable' if the array parameter may be null
void     lcong48(unsigned short[7]);
                               ^
                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:207:29: note: insert '_Nonnull' if the array parameter should never be null
void     lcong48(unsigned short[7]);
                               ^
                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:209:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *mktemp(char *);
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:209:19: note: insert '_Nullable' if the pointer may be null
char    *mktemp(char *);
                     ^
                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:209:19: note: insert '_Nonnull' if the pointer should never be null
char    *mktemp(char *);
                     ^
                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:209:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *mktemp(char *);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:209:6: note: insert '_Nullable' if the pointer may be null
char    *mktemp(char *);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:209:6: note: insert '_Nonnull' if the pointer should never be null
char    *mktemp(char *);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:210:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      mkstemp(char *);
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:210:19: note: insert '_Nullable' if the pointer may be null
int      mkstemp(char *);
                      ^
                       _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:210:19: note: insert '_Nonnull' if the pointer should never be null
int      mkstemp(char *);
                      ^
                       _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:212:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
long     nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:212:29: note: insert '_Nullable' if the array parameter may be null
long     nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
                               ^
                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:212:29: note: insert '_Nonnull' if the array parameter should never be null
long     nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
                               ^
                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:214:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *ptsname(int);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:214:6: note: insert '_Nullable' if the pointer may be null
char    *ptsname(int);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:214:6: note: insert '_Nonnull' if the pointer should never be null
char    *ptsname(int);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:217:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:217:32: note: insert '_Nullable' if the pointer may be null
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
                               ^
                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:217:32: note: insert '_Nonnull' if the pointer should never be null
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
                               ^
                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:220:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      putenv(char *) __DARWIN_ALIAS(putenv);
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:220:18: note: insert '_Nullable' if the pointer may be null
int      putenv(char *) __DARWIN_ALIAS(putenv);
                     ^
                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:220:18: note: insert '_Nonnull' if the pointer should never be null
int      putenv(char *) __DARWIN_ALIAS(putenv);
                     ^
                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:222:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:222:22: note: insert '_Nullable' if the pointer may be null
int      rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
                         ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:222:22: note: insert '_Nonnull' if the pointer should never be null
int      rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
                         ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:27: note: insert '_Nullable' if the pointer may be null
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
                             ^
                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:27: note: insert '_Nonnull' if the pointer should never be null
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
                             ^
                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
                                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:46: note: insert '_Nullable' if the pointer may be null
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
                                                ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:46: note: insert '_Nonnull' if the pointer should never be null
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
                                                ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:6: note: insert '_Nullable' if the pointer may be null
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:224:6: note: insert '_Nonnull' if the pointer should never be null
char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:229:24: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
        *seed48(unsigned short[3]);
                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:229:24: note: insert '_Nullable' if the array parameter may be null
        *seed48(unsigned short[3]);
                              ^
                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:229:24: note: insert '_Nonnull' if the array parameter should never be null
        *seed48(unsigned short[3]);
                              ^
                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:229:2: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
        *seed48(unsigned short[3]);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:229:2: note: insert '_Nullable' if the pointer may be null
        *seed48(unsigned short[3]);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:229:2: note: insert '_Nonnull' if the pointer should never be null
        *seed48(unsigned short[3]);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:230:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:230:24: note: insert '_Nullable' if the pointer may be null
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
                           ^
                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:230:24: note: insert '_Nonnull' if the pointer should never be null
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
                           ^
                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:230:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
                                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:230:45: note: insert '_Nullable' if the pointer may be null
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
                                                ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:230:45: note: insert '_Nonnull' if the pointer should never be null
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
                                                ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:232:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     setkey(const char *) __DARWIN_ALIAS(setkey);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:232:25: note: insert '_Nullable' if the pointer may be null
void     setkey(const char *) __DARWIN_ALIAS(setkey);
                           ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:232:25: note: insert '_Nonnull' if the pointer should never be null
void     setkey(const char *) __DARWIN_ALIAS(setkey);
                           ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:236:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *setstate(const char *);
                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:236:27: note: insert '_Nullable' if the pointer may be null
char    *setstate(const char *);
                             ^
                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:236:27: note: insert '_Nonnull' if the pointer should never be null
char    *setstate(const char *);
                             ^
                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:236:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *setstate(const char *);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:236:6: note: insert '_Nullable' if the pointer may be null
char    *setstate(const char *);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:236:6: note: insert '_Nonnull' if the pointer should never be null
char    *setstate(const char *);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:245:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:245:26: note: insert '_Nullable' if the pointer may be null
int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
                             ^
                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:245:26: note: insert '_Nonnull' if the pointer should never be null
int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
                             ^
                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:258:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:258:42: note: insert '_Nullable' if the pointer may be null
void     arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
                                            ^
                                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:258:42: note: insert '_Nonnull' if the pointer should never be null
void     arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
                                            ^
                                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:263:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:263:27: note: insert '_Nullable' if the pointer may be null
void     arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
                             ^
                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:263:27: note: insert '_Nonnull' if the pointer should never be null
void     arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
                             ^
                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:28: note: insert '_Nullable' if the pointer may be null
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
                              ^
                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:28: note: insert '_Nonnull' if the pointer should never be null
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
                              ^
                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:47: note: insert '_Nullable' if the pointer may be null
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
                                                 ^
                                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:47: note: insert '_Nonnull' if the pointer should never be null
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
                                                 ^
                                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:278:59: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
                                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:278:59: note: insert '_Nullable' if the pointer may be null
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
                                                                 ^
                                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:278:59: note: insert '_Nonnull' if the pointer should never be null
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
                                                                 ^
                                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:278:73: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
                                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:278:73: note: insert '_Nullable' if the pointer may be null
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
                                                                               ^
                                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:278:73: note: insert '_Nonnull' if the pointer should never be null
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
                                                                               ^
                                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:6: note: insert '_Nullable' if the pointer may be null
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:277:6: note: insert '_Nonnull' if the pointer should never be null
void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *cgetcap(char *, const char *, int);
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:20: note: insert '_Nullable' if the pointer may be null
char    *cgetcap(char *, const char *, int);
                      ^
                       _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:20: note: insert '_Nonnull' if the pointer should never be null
char    *cgetcap(char *, const char *, int);
                      ^
                       _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *cgetcap(char *, const char *, int);
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:34: note: insert '_Nullable' if the pointer may be null
char    *cgetcap(char *, const char *, int);
                                    ^
                                     _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:34: note: insert '_Nonnull' if the pointer should never be null
char    *cgetcap(char *, const char *, int);
                                    ^
                                     _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *cgetcap(char *, const char *, int);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:6: note: insert '_Nullable' if the pointer may be null
char    *cgetcap(char *, const char *, int);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:283:6: note: insert '_Nonnull' if the pointer should never be null
char    *cgetcap(char *, const char *, int);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetent(char **, char **, const char *);
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:19: note: insert '_Nullable' if the pointer may be null
int      cgetent(char **, char **, const char *);
                      ^
                       _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:19: note: insert '_Nonnull' if the pointer should never be null
int      cgetent(char **, char **, const char *);
                      ^
                       _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetent(char **, char **, const char *);
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:20: note: insert '_Nullable' if the pointer may be null
int      cgetent(char **, char **, const char *);
                       ^
                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:20: note: insert '_Nonnull' if the pointer should never be null
int      cgetent(char **, char **, const char *);
                       ^
                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetent(char **, char **, const char *);
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:28: note: insert '_Nullable' if the pointer may be null
int      cgetent(char **, char **, const char *);
                               ^
                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:28: note: insert '_Nonnull' if the pointer should never be null
int      cgetent(char **, char **, const char *);
                               ^
                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetent(char **, char **, const char *);
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:29: note: insert '_Nullable' if the pointer may be null
int      cgetent(char **, char **, const char *);
                                ^
                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:29: note: insert '_Nonnull' if the pointer should never be null
int      cgetent(char **, char **, const char *);
                                ^
                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetent(char **, char **, const char *);
                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:43: note: insert '_Nullable' if the pointer may be null
int      cgetent(char **, char **, const char *);
                                              ^
                                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:285:43: note: insert '_Nonnull' if the pointer should never be null
int      cgetent(char **, char **, const char *);
                                              ^
                                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetfirst(char **, char **);
                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:21: note: insert '_Nullable' if the pointer may be null
int      cgetfirst(char **, char **);
                        ^
                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:21: note: insert '_Nonnull' if the pointer should never be null
int      cgetfirst(char **, char **);
                        ^
                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetfirst(char **, char **);
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:22: note: insert '_Nullable' if the pointer may be null
int      cgetfirst(char **, char **);
                         ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:22: note: insert '_Nonnull' if the pointer should never be null
int      cgetfirst(char **, char **);
                         ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetfirst(char **, char **);
                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:30: note: insert '_Nullable' if the pointer may be null
int      cgetfirst(char **, char **);
                                 ^
                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:30: note: insert '_Nonnull' if the pointer should never be null
int      cgetfirst(char **, char **);
                                 ^
                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetfirst(char **, char **);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:31: note: insert '_Nullable' if the pointer may be null
int      cgetfirst(char **, char **);
                                  ^
                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:286:31: note: insert '_Nonnull' if the pointer should never be null
int      cgetfirst(char **, char **);
                                  ^
                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:287:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetmatch(const char *, const char *);
                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:287:27: note: insert '_Nullable' if the pointer may be null
int      cgetmatch(const char *, const char *);
                              ^
                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:287:27: note: insert '_Nonnull' if the pointer should never be null
int      cgetmatch(const char *, const char *);
                              ^
                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:287:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetmatch(const char *, const char *);
                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:287:41: note: insert '_Nullable' if the pointer may be null
int      cgetmatch(const char *, const char *);
                                            ^
                                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:287:41: note: insert '_Nonnull' if the pointer should never be null
int      cgetmatch(const char *, const char *);
                                            ^
                                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetnext(char **, char **);
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:20: note: insert '_Nullable' if the pointer may be null
int      cgetnext(char **, char **);
                       ^
                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:20: note: insert '_Nonnull' if the pointer should never be null
int      cgetnext(char **, char **);
                       ^
                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetnext(char **, char **);
                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:21: note: insert '_Nullable' if the pointer may be null
int      cgetnext(char **, char **);
                        ^
                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:21: note: insert '_Nonnull' if the pointer should never be null
int      cgetnext(char **, char **);
                        ^
                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetnext(char **, char **);
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:29: note: insert '_Nullable' if the pointer may be null
int      cgetnext(char **, char **);
                                ^
                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:29: note: insert '_Nonnull' if the pointer should never be null
int      cgetnext(char **, char **);
                                ^
                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetnext(char **, char **);
                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:30: note: insert '_Nullable' if the pointer may be null
int      cgetnext(char **, char **);
                                 ^
                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:288:30: note: insert '_Nonnull' if the pointer should never be null
int      cgetnext(char **, char **);
                                 ^
                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetnum(char *, const char *, long *);
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:19: note: insert '_Nullable' if the pointer may be null
int      cgetnum(char *, const char *, long *);
                      ^
                       _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:19: note: insert '_Nonnull' if the pointer should never be null
int      cgetnum(char *, const char *, long *);
                      ^
                       _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:33: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetnum(char *, const char *, long *);
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:33: note: insert '_Nullable' if the pointer may be null
int      cgetnum(char *, const char *, long *);
                                    ^
                                     _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:33: note: insert '_Nonnull' if the pointer should never be null
int      cgetnum(char *, const char *, long *);
                                    ^
                                     _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetnum(char *, const char *, long *);
                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:41: note: insert '_Nullable' if the pointer may be null
int      cgetnum(char *, const char *, long *);
                                            ^
                                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:289:41: note: insert '_Nonnull' if the pointer should never be null
int      cgetnum(char *, const char *, long *);
                                            ^
                                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:290:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetset(const char *);
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:290:25: note: insert '_Nullable' if the pointer may be null
int      cgetset(const char *);
                            ^
                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:290:25: note: insert '_Nonnull' if the pointer should never be null
int      cgetset(const char *);
                            ^
                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetstr(char *, const char *, char **);
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:19: note: insert '_Nullable' if the pointer may be null
int      cgetstr(char *, const char *, char **);
                      ^
                       _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:19: note: insert '_Nonnull' if the pointer should never be null
int      cgetstr(char *, const char *, char **);
                      ^
                       _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:33: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetstr(char *, const char *, char **);
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:33: note: insert '_Nullable' if the pointer may be null
int      cgetstr(char *, const char *, char **);
                                    ^
                                     _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:33: note: insert '_Nonnull' if the pointer should never be null
int      cgetstr(char *, const char *, char **);
                                    ^
                                     _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetstr(char *, const char *, char **);
                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:41: note: insert '_Nullable' if the pointer may be null
int      cgetstr(char *, const char *, char **);
                                            ^
                                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:41: note: insert '_Nonnull' if the pointer should never be null
int      cgetstr(char *, const char *, char **);
                                            ^
                                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetstr(char *, const char *, char **);
                                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:42: note: insert '_Nullable' if the pointer may be null
int      cgetstr(char *, const char *, char **);
                                             ^
                                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:291:42: note: insert '_Nonnull' if the pointer should never be null
int      cgetstr(char *, const char *, char **);
                                             ^
                                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetustr(char *, const char *, char **);
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:20: note: insert '_Nullable' if the pointer may be null
int      cgetustr(char *, const char *, char **);
                       ^
                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:20: note: insert '_Nonnull' if the pointer should never be null
int      cgetustr(char *, const char *, char **);
                       ^
                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetustr(char *, const char *, char **);
                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:34: note: insert '_Nullable' if the pointer may be null
int      cgetustr(char *, const char *, char **);
                                     ^
                                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:34: note: insert '_Nonnull' if the pointer should never be null
int      cgetustr(char *, const char *, char **);
                                     ^
                                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetustr(char *, const char *, char **);
                                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:42: note: insert '_Nullable' if the pointer may be null
int      cgetustr(char *, const char *, char **);
                                             ^
                                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:42: note: insert '_Nonnull' if the pointer should never be null
int      cgetustr(char *, const char *, char **);
                                             ^
                                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      cgetustr(char *, const char *, char **);
                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:43: note: insert '_Nullable' if the pointer may be null
int      cgetustr(char *, const char *, char **);
                                              ^
                                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:43: note: insert '_Nonnull' if the pointer should never be null
int      cgetustr(char *, const char *, char **);
                                              ^
                                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:295:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *devname(dev_t, mode_t);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:295:6: note: insert '_Nullable' if the pointer may be null
char    *devname(dev_t, mode_t);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:295:6: note: insert '_Nonnull' if the pointer should never be null
char    *devname(dev_t, mode_t);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:296:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *devname_r(dev_t, mode_t, char *buf, int len);
                                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:296:37: note: insert '_Nullable' if the pointer may be null
char    *devname_r(dev_t, mode_t, char *buf, int len);
                                       ^
                                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:296:37: note: insert '_Nonnull' if the pointer should never be null
char    *devname_r(dev_t, mode_t, char *buf, int len);
                                       ^
                                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:296:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *devname_r(dev_t, mode_t, char *buf, int len);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:296:6: note: insert '_Nullable' if the pointer may be null
char    *devname_r(dev_t, mode_t, char *buf, int len);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:296:6: note: insert '_Nonnull' if the pointer should never be null
char    *devname_r(dev_t, mode_t, char *buf, int len);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *getbsize(int *, long *);
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:20: note: insert '_Nullable' if the pointer may be null
char    *getbsize(int *, long *);
                      ^
                       _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:20: note: insert '_Nonnull' if the pointer should never be null
char    *getbsize(int *, long *);
                      ^
                       _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *getbsize(int *, long *);
                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:28: note: insert '_Nullable' if the pointer may be null
char    *getbsize(int *, long *);
                              ^
                               _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:28: note: insert '_Nonnull' if the pointer should never be null
char    *getbsize(int *, long *);
                              ^
                               _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char    *getbsize(int *, long *);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:6: note: insert '_Nullable' if the pointer may be null
char    *getbsize(int *, long *);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:297:6: note: insert '_Nonnull' if the pointer should never be null
char    *getbsize(int *, long *);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:298:24: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
int      getloadavg(double [], int);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:298:24: note: insert '_Nullable' if the array parameter may be null
int      getloadavg(double [], int);
                           ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:298:24: note: insert '_Nonnull' if the array parameter should never be null
int      getloadavg(double [], int);
                           ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:300:2: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
        *getprogname(void);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:300:2: note: insert '_Nullable' if the pointer may be null
        *getprogname(void);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:300:2: note: insert '_Nonnull' if the pointer should never be null
        *getprogname(void);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:301:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     setprogname(const char *);
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:301:30: note: insert '_Nullable' if the pointer may be null
void     setprogname(const char *);
                                ^
                                 _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:301:30: note: insert '_Nonnull' if the pointer should never be null
void     setprogname(const char *);
                                ^
                                 _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:311:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      heapsort(void *__base, size_t __nel, size_t __width,
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:311:20: note: insert '_Nullable' if the pointer may be null
int      heapsort(void *__base, size_t __nel, size_t __width,
                       ^
                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:311:20: note: insert '_Nonnull' if the pointer should never be null
int      heapsort(void *__base, size_t __nel, size_t __width,
                       ^
                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:312:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:312:43: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:312:43: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:312:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:312:57: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:312:57: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:314:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      heapsort_b(void *__base, size_t __nel, size_t __width,
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:314:22: note: insert '_Nullable' if the pointer may be null
int      heapsort_b(void *__base, size_t __nel, size_t __width,
                         ^
                           _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:314:22: note: insert '_Nonnull' if the pointer should never be null
int      heapsort_b(void *__base, size_t __nel, size_t __width,
                         ^
                           _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:315:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:315:43: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:315:43: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:315:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:315:57: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:315:57: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:318:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      mergesort(void *__base, size_t __nel, size_t __width,
                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:318:21: note: insert '_Nullable' if the pointer may be null
int      mergesort(void *__base, size_t __nel, size_t __width,
                        ^
                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:318:21: note: insert '_Nonnull' if the pointer should never be null
int      mergesort(void *__base, size_t __nel, size_t __width,
                        ^
                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:319:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:319:43: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:319:43: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:319:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:319:57: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:319:57: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *));
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:321:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      mergesort_b(void *__base, size_t __nel, size_t __width,
                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:321:23: note: insert '_Nullable' if the pointer may be null
int      mergesort_b(void *__base, size_t __nel, size_t __width,
                          ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:321:23: note: insert '_Nonnull' if the pointer should never be null
int      mergesort_b(void *__base, size_t __nel, size_t __width,
                          ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:322:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:322:43: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:322:43: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:322:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:322:57: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:322:57: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:325:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     psort(void *__base, size_t __nel, size_t __width,
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:325:18: note: insert '_Nullable' if the pointer may be null
void     psort(void *__base, size_t __nel, size_t __width,
                    ^
                      _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:325:18: note: insert '_Nonnull' if the pointer should never be null
void     psort(void *__base, size_t __nel, size_t __width,
                    ^
                      _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:326:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *))
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:326:43: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *))
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:326:43: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *))
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:326:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(const void *, const void *))
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:326:57: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(const void *, const void *))
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:326:57: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(const void *, const void *))
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:329:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     psort_b(void *__base, size_t __nel, size_t __width,
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:329:20: note: insert '_Nullable' if the pointer may be null
void     psort_b(void *__base, size_t __nel, size_t __width,
                      ^
                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:329:20: note: insert '_Nonnull' if the pointer should never be null
void     psort_b(void *__base, size_t __nel, size_t __width,
                      ^
                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:330:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:330:43: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:330:43: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:330:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:330:57: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:330:57: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:333:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     psort_r(void *__base, size_t __nel, size_t __width, void *,
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:333:20: note: insert '_Nullable' if the pointer may be null
void     psort_r(void *__base, size_t __nel, size_t __width, void *,
                      ^
                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:333:20: note: insert '_Nonnull' if the pointer should never be null
void     psort_r(void *__base, size_t __nel, size_t __width, void *,
                      ^
                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:333:64: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     psort_r(void *__base, size_t __nel, size_t __width, void *,
                                                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:333:64: note: insert '_Nullable' if the pointer may be null
void     psort_r(void *__base, size_t __nel, size_t __width, void *,
                                                                  ^
                                                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:333:64: note: insert '_Nonnull' if the pointer should never be null
void     psort_r(void *__base, size_t __nel, size_t __width, void *,
                                                                  ^
                                                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:37: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                           ^
                                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:37: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                           ^
                                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:51: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                                         ^
                                                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:51: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                                         ^
                                                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:65: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                                                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:65: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                                                       ^
                                                                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:334:65: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(void *, const void *, const void *))
                                                                       ^
                                                                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:337:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     qsort_b(void *__base, size_t __nel, size_t __width,
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:337:20: note: insert '_Nullable' if the pointer may be null
void     qsort_b(void *__base, size_t __nel, size_t __width,
                      ^
                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:337:20: note: insert '_Nonnull' if the pointer should never be null
void     qsort_b(void *__base, size_t __nel, size_t __width,
                      ^
                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:338:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:338:43: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:338:43: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                 ^
                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:338:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:338:57: note: insert '_Nullable' if the pointer may be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:338:57: note: insert '_Nonnull' if the pointer should never be null
            int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
                                                               ^
                                                                _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:341:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:341:20: note: insert '_Nullable' if the pointer may be null
void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
                      ^
                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:341:20: note: insert '_Nonnull' if the pointer should never be null
void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
                      ^
                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:341:64: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
                                                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:341:64: note: insert '_Nullable' if the pointer may be null
void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
                                                                  ^
                                                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:341:64: note: insert '_Nonnull' if the pointer should never be null
void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
                                                                  ^
                                                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:37: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                           ^
                                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:37: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                           ^
                                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:51: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                                         ^
                                                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:51: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                                         ^
                                                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:65: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                                                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:65: note: insert '_Nullable' if the pointer may be null
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                                                       ^
                                                                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:342:65: note: insert '_Nonnull' if the pointer should never be null
            int (* _Nonnull __compar)(void *, const void *, const void *));
                                                                       ^
                                                                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:36: note: insert '_Nullable' if the pointer may be null
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                       ^
                                        _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:36: note: insert '_Nonnull' if the pointer should never be null
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                       ^
                                        _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:37: note: insert '_Nullable' if the pointer may be null
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                        ^
                                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:37: note: insert '_Nonnull' if the pointer should never be null
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                        ^
                                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:77: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                                                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:77: note: insert '_Nullable' if the pointer may be null
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                                                                ^
                                                                                  _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:343:77: note: insert '_Nonnull' if the pointer should never be null
int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                                                                ^
                                                                                  _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:345:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int     rpmatch(const char *)
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:345:24: note: insert '_Nullable' if the pointer may be null
int     rpmatch(const char *)
                           ^
                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:345:24: note: insert '_Nonnull' if the pointer should never be null
int     rpmatch(const char *)
                           ^
                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:37: note: insert '_Nullable' if the pointer may be null
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                        ^
                                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:37: note: insert '_Nonnull' if the pointer should never be null
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                        ^
                                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:38: note: insert '_Nullable' if the pointer may be null
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                         ^
                                           _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:38: note: insert '_Nonnull' if the pointer should never be null
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                         ^
                                           _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:78: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                                                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:78: note: insert '_Nullable' if the pointer may be null
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                                                                 ^
                                                                                   _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:347:78: note: insert '_Nonnull' if the pointer should never be null
int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
                                                                                 ^
                                                                                   _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:351:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:351:21: note: insert '_Nullable' if the pointer may be null
void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
                       ^
                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:351:21: note: insert '_Nonnull' if the pointer should never be null
void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
                       ^
                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:351:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:351:6: note: insert '_Nullable' if the pointer may be null
void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
        ^
          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:351:6: note: insert '_Nonnull' if the pointer should never be null
void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
        ^
          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:22: note: insert '_Nullable' if the pointer may be null
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                            ^
                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:22: note: insert '_Nonnull' if the pointer should never be null
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                            ^
                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:84: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                                                                                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:84: note: insert '_Nullable' if the pointer may be null
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                                                                                          ^
                                                                                           _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:84: note: insert '_Nonnull' if the pointer should never be null
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                                                                                          ^
                                                                                           _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:85: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                                                                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:85: note: insert '_Nullable' if the pointer may be null
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                                                                                           ^
                                                                                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:353:85: note: insert '_Nonnull' if the pointer should never be null
        strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
                                                                                           ^
                                                                                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoq(const char *__str, char **__endptr, int __base);
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:21: note: insert '_Nullable' if the pointer may be null
         strtoq(const char *__str, char **__endptr, int __base);
                           ^
                             _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:21: note: insert '_Nonnull' if the pointer should never be null
         strtoq(const char *__str, char **__endptr, int __base);
                           ^
                             _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoq(const char *__str, char **__endptr, int __base);
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:34: note: insert '_Nullable' if the pointer may be null
         strtoq(const char *__str, char **__endptr, int __base);
                                        ^
                                         _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:34: note: insert '_Nonnull' if the pointer should never be null
         strtoq(const char *__str, char **__endptr, int __base);
                                        ^
                                         _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtoq(const char *__str, char **__endptr, int __base);
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:35: note: insert '_Nullable' if the pointer may be null
         strtoq(const char *__str, char **__endptr, int __base);
                                         ^
                                           _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:357:35: note: insert '_Nonnull' if the pointer should never be null
         strtoq(const char *__str, char **__endptr, int __base);
                                         ^
                                           _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtouq(const char *__str, char **__endptr, int __base);
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:22: note: insert '_Nullable' if the pointer may be null
         strtouq(const char *__str, char **__endptr, int __base);
                            ^
                              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:22: note: insert '_Nonnull' if the pointer should never be null
         strtouq(const char *__str, char **__endptr, int __base);
                            ^
                              _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtouq(const char *__str, char **__endptr, int __base);
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:35: note: insert '_Nullable' if the pointer may be null
         strtouq(const char *__str, char **__endptr, int __base);
                                         ^
                                          _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:35: note: insert '_Nonnull' if the pointer should never be null
         strtouq(const char *__str, char **__endptr, int __base);
                                         ^
                                          _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
         strtouq(const char *__str, char **__endptr, int __base);
                                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:36: note: insert '_Nullable' if the pointer may be null
         strtouq(const char *__str, char **__endptr, int __base);
                                          ^
                                            _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:359:36: note: insert '_Nonnull' if the pointer should never be null
         strtouq(const char *__str, char **__endptr, int __base);
                                          ^
                                            _Nonnull
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:361:13: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
extern char *suboptarg;         /* getsubopt(3) external variable */
            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:361:13: note: insert '_Nullable' if the pointer may be null
extern char *suboptarg;         /* getsubopt(3) external variable */
            ^
              _Nullable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:361:13: note: insert '_Nonnull' if the pointer should never be null
extern char *suboptarg;         /* getsubopt(3) external variable */
            ^
              _Nonnull
180 warnings generated.
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b001/ -g -O2 -o $WORK/b001/_x002.o -c function.cgo2.c
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -I . -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build604431127/b001=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/b001/ -g -O2 -o $WORK/b001/_cgo_main.o -c _cgo_main.c
+ set +x
# github.com/charleskorn/zig-cgo-libs
+ [[ -z x ]]
++ xcrun --show-sdk-path
+ SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -Wno-availability -Wno-expansion-to-defined -arch arm64 -Wl,-S -dynamiclib -o libmain.dylib -Qunused-arguments -Wl,--compress-debug-sections=zlib-gnu /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/go.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000000.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000001.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000002.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000003.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000004.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000005.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000006.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000007.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000008.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000009.o /var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-link-2659675205/000010.o -g -O2 -g -O2 -framework CoreFoundation
warning: unsupported linker arg: -S
warning: unsupported linker arg: --compress-debug-sections
warning: unsupported linker arg: zlib-gnu
warning(link): unable to resolve dependency /usr/lib/libobjc.A.dylib
+ set +x
Succeeded.

Adding -Wno-nullability-completeness to the zig cc -target ... invocation suppresses these warnings.

@charleskorn charleskorn added the bug Observed behavior contradicts documented or intended behavior label Feb 4, 2022
@kubkon
Copy link
Member

kubkon commented Feb 5, 2022

Thanks for filing this! Did you perhaps try building your project with Zig from the master branch to see if it fixes your issue? Please note that passing the sysroot to the linker is fixed in master meaning you shouldn't explicitly append the sysroot prefix to search dirs like you did in your build script above.

@kubkon
Copy link
Member

kubkon commented Feb 5, 2022

Oh and also, what version of macOS are you on?

@charleskorn
Copy link
Author

Did you perhaps try building your project with Zig from the master branch to see if it fixes your issue?

Just tried with 0.10.0-dev.565+d4c3475f3. I get the same warnings as with 0.9.0.

Please note that passing the sysroot to the linker is fixed in master meaning you shouldn't explicitly append the sysroot prefix to search dirs like you did in your build script above.

With 0.10.0-dev.565+d4c3475f3, I still need to include those arguments, otherwise I get errors like:

warning(link): framework not found for '-framework CoreFoundation'
warning(link): Framework search paths:
error: FrameworkNotFound

Oh and also, what version of macOS are you on?

macOS 12.2 (21D49)

One other thing that might be interesting / relevant: this doesn't seem limited to just aarch64, I get the warnings if I'm cross-compiling to x86_64 as well.

@kubkon
Copy link
Member

kubkon commented Feb 5, 2022

Did you perhaps try building your project with Zig from the master branch to see if it fixes your issue?

Just tried with 0.10.0-dev.565+d4c3475f3. I get the same warnings as with 0.9.0.

Please note that passing the sysroot to the linker is fixed in master meaning you shouldn't explicitly append the sysroot prefix to search dirs like you did in your build script above.

With 0.10.0-dev.565+d4c3475f3, I still need to include those arguments, otherwise I get errors like:

warning(link): framework not found for '-framework CoreFoundation'
warning(link): Framework search paths:
error: FrameworkNotFound

Hmm, it should be enough to specify the sysroot and then the search dirs without the sysroot prefix like so:

zig cc -target aarch64-macos --sysroot=<path> -L/usr/lib -F/System/Library/Frameworks

Can you confirm this is still generating the linker error for you?

Oh and also, what version of macOS are you on?

macOS 12.2 (21D49)

One other thing that might be interesting / relevant: this doesn't seem limited to just aarch64, I get the warnings if I'm cross-compiling to x86_64 as well.

@charleskorn
Copy link
Author

Can you confirm this is still generating the linker error for you?

This is the command line that is being invoked and the error it produces (removing the -I/usr/include I'd had originally produces the same result as well):

+ zig cc -target aarch64-macos-gnu --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/include -F/System/Library/Frameworks -L/usr/lib -I /opt/homebrew/Cellar/go/1.17.6/libexec/src/runtime/cgo -fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7t/_rsz39554vvgvq2t6b4ztktc0000gn/T/go-build3723264359/b017=/tmp/go-build -gno-record-gcc-switches -fno-common -o $WORK/b017/_cgo_.o $WORK/b017/_cgo_main.o $WORK/b017/_x001.o $WORK/b017/_x002.o $WORK/b017/_x003.o $WORK/b017/_x004.o $WORK/b017/_x005.o $WORK/b017/_x006.o $WORK/b017/_x007.o $WORK/b017/_x008.o $WORK/b017/_x009.o -g -O2 -framework CoreFoundation
warning(link): framework not found for '-framework CoreFoundation'
warning(link): Framework search paths:
warning(link):   /System/Library/Frameworks
error: FrameworkNotFound

@kubkon
Copy link
Member

kubkon commented Feb 5, 2022

Hmm, thanks. Let me run some checks locally. I am somewhat confused as this was recently fixed in master (not passing the sysroot from zig cc to the linker).

@kubkon
Copy link
Member

kubkon commented Feb 5, 2022

OK, I tried reproing it locally on my M1 and both native and cross scripts succeed for me. Here's what I did:

  1. Downloaded the latest master zig binary from https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.565+d4c3475f3.tar.xz
  2. Applied these changes to cc.sh and cxx.sh:
diff --git a/helpers/cc.sh b/helpers/cc.sh
index 3e41591..eb17e86 100755
--- a/helpers/cc.sh
+++ b/helpers/cc.sh
@@ -9,11 +9,11 @@ export ZIG_LOCAL_CACHE_DIR="$PROJECT_ROOT/.zigcache/"
 set -x
 
 if [[ -z "${ZTARGET+x}" ]]; then
-  zig cc "$@"
+  /Users/kubkon/Downloads/zig/zig cc "$@"
 else
   SYSROOT="$(xcrun --show-sdk-path)"
   # The -I, -F and -L flags are required to configure the sysroot correctly - see https://github.com/ziglang/zig/issues/10513#issuecomment-1005652047.
-  zig cc -target "$ZTARGET" --sysroot "$SYSROOT" "-I$SYSROOT/usr/include" "-F$SYSROOT/System/Library/Frameworks" "-L$SYSROOT/usr/lib" "$@"
+  /Users/kubkon/Downloads/zig/zig cc -target "$ZTARGET" --sysroot="$SYSROOT" "-I/usr/include" "-F/System/Library/Frameworks" "-L/usr/lib" "$@"
 fi
 
 set +x
diff --git a/helpers/cxx.sh b/helpers/cxx.sh
index 8a31b30..42d2e53 100755
--- a/helpers/cxx.sh
+++ b/helpers/cxx.sh
@@ -9,11 +9,11 @@ export ZIG_LOCAL_CACHE_DIR="$PROJECT_ROOT/.zigcache/"
 set -x
 
 if [[ -z "${ZTARGET+x}" ]]; then
-  zig c++ "$@"
+  /Users/kubkon/Downloads/zig/zig c++ "$@"
 else
   SYSROOT="$(xcrun --show-sdk-path)"
   # The -I, -F and -L flags are required to configure the sysroot correctly - see https://github.com/ziglang/zig/issues/10513#issuecomment-1005652047.
-  zig c++ -target "$ZTARGET" --sysroot "$SYSROOT" "-I$SYSROOT/usr/include" "-F$SYSROOT/System/Library/Frameworks" "-L$SYSROOT/usr/lib" "$@"
+  /Users/kubkon/Downloads/zig/zig c++ -target "$ZTARGET" --sysroot="$SYSROOT" "-I/usr/include" "-F/System/Library/Frameworks" "-L/usr/lib" "$@"
 fi
 
 set +x

Also note that in the presence of sysroot, the search directories for system libraries and frameworks should not include the sysroot prefix as it will be automatically prepended to them by the linker. This behaviour is similar to how Apple's ld64 linker behaves.

Therefore, I will close the issue but feel free to reopen if you still get errors.

@kubkon kubkon closed this as completed Feb 5, 2022
@charleskorn
Copy link
Author

Not sure what I did wrong the first time round, but this is working for me now with the latest version of Zig. Thanks for your help @kubkon!

@kubkon
Copy link
Member

kubkon commented Feb 7, 2022

Not sure what I did wrong the first time round, but this is working for me now with the latest version of Zig. Thanks for your help @kubkon!

No probs at all and happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

2 participants